diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..9765789 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,21 @@ +- job: + name: awx-tox-base + parent: tox + pre-run: playbooks/awx-tox-base/pre.yaml + required-projects: + - name: github.com/ansible/awx + vars: + test_setup_reset_connection: true + zuul_work_dir: ~/src/github.com/ansible/awx + +- job: + name: awx-tox-linters + parent: awx-tox-base + vars: + tox_envlist: api-lint + nodeset: fedora-latest-1vcpu + +- project: + check: + jobs: + - awx-tox-linters diff --git a/playbooks/awx-tox-base/pre.yaml b/playbooks/awx-tox-base/pre.yaml new file mode 100644 index 0000000..f52beab --- /dev/null +++ b/playbooks/awx-tox-base/pre.yaml @@ -0,0 +1,4 @@ +- hosts: all + tasks: + - name: Reset SSH connection for new group + meta: reset_connection