swift/tools/playbooks/cors/run.yaml
Tim Burke ffb173f8ad CI: Run CORS tests under py3
Change-Id: I49d8480fd0c775249d8b586f9dea026448b8910d
2022-03-22 23:12:01 -07:00

16 lines
410 B
YAML

- hosts: all
tasks:
- name: Shutdown main swift services
shell: "swift-init stop main"
ignore_errors: true
- name: Start main swift services
shell: "swift-init start main"
- name: Run CORS tests
shell: >
python3
{{ ansible_env.HOME }}/{{ zuul.project.src_dir }}/test/cors/main.py
--output {{ ansible_env.HOME }}/cors-test-results.txt
all