From 002a4a631226cff0c567aef368bcfb65126061bd Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 1 May 2019 11:00:41 -0400 Subject: [PATCH] DNM - test awx Signed-off-by: Paul Belanger --- .zuul.yaml | 21 +++++++++++++++++++++ playbooks/awx-tox-base/pre.yaml | 4 ++++ 2 files changed, 25 insertions(+) create mode 100644 .zuul.yaml create mode 100644 playbooks/awx-tox-base/pre.yaml diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..a67aaf5 --- /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: 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