Skip to content

Commit

Permalink
DNM: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Spredzy committed Oct 8, 2018
1 parent 47139a0 commit c342bce
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 9 deletions.
5 changes: 5 additions & 0 deletions playbooks/clean-static-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@
args:
chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
removes: "awx.egg-info"

- name: Remove old project directory
file:
path: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
state: absent
5 changes: 4 additions & 1 deletion zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
- job:
name: prepare-awx-environment
run: playbooks/clean-static-node.yaml

- job:
name: tox-awx
parent: tox
pre-run: playbooks/clean-static-node.yaml
nodeset: static-node
abstract: true

Expand Down
34 changes: 26 additions & 8 deletions zuul.d/templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,31 @@
name: python-awx
check:
jobs:
- tox-awx-api-lint
- tox-awx-ui-lint
- tox-awx-api
- tox-awx-ui
- prepare-awx-environment
- tox-awx-api-lint:
dependencies:
- prepare-awx-environment
- tox-awx-ui-lint:
dependencies:
- prepare-awx-environment
- tox-awx-api:
dependencies:
- prepare-awx-environment
- tox-awx-ui:
dependencies:
- prepare-awx-environment
gate:
jobs:
- tox-awx-api-lint
- tox-awx-ui-lint
- tox-awx-api
- tox-awx-ui
- prepare-awx-environment
- tox-awx-api-lint:
dependencies:
- prepare-awx-environment
- tox-awx-ui-lint:
dependencies:
- prepare-awx-environment
- tox-awx-api:
dependencies:
- prepare-awx-environment
- tox-awx-ui:
dependencies:
- prepare-awx-environment

0 comments on commit c342bce

Please sign in to comment.