Merge "Resume paused job with skipped children"
This commit is contained in:
1
tests/fixtures/config/job-pause/git/org_project3/README
vendored
Normal file
1
tests/fixtures/config/job-pause/git/org_project3/README
vendored
Normal file
@@ -0,0 +1 @@
|
||||
test
|
||||
7
tests/fixtures/config/job-pause/git/org_project3/playbooks/compile.yaml
vendored
Normal file
7
tests/fixtures/config/job-pause/git/org_project3/playbooks/compile.yaml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Pause and let child run
|
||||
zuul_return:
|
||||
data:
|
||||
zuul:
|
||||
pause: true
|
||||
4
tests/fixtures/config/job-pause/git/org_project3/playbooks/pre-test.yaml
vendored
Normal file
4
tests/fixtures/config/job-pause/git/org_project3/playbooks/pre-test.yaml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- fail:
|
||||
msg: pre-test fails
|
||||
4
tests/fixtures/config/job-pause/git/org_project3/playbooks/test.yaml
vendored
Normal file
4
tests/fixtures/config/job-pause/git/org_project3/playbooks/test.yaml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- debug:
|
||||
msg: Dummy
|
||||
22
tests/fixtures/config/job-pause/git/org_project3/zuul.yaml
vendored
Normal file
22
tests/fixtures/config/job-pause/git/org_project3/zuul.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
- job:
|
||||
name: compile
|
||||
run: playbooks/compile.yaml
|
||||
|
||||
- job:
|
||||
name: test
|
||||
run: playbooks/test.yaml
|
||||
|
||||
- job:
|
||||
name: pre-test
|
||||
run: playbooks/pre-test.yaml
|
||||
|
||||
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- compile
|
||||
- pre-test
|
||||
- test:
|
||||
dependencies:
|
||||
- compile
|
||||
- pre-test
|
||||
1
tests/fixtures/config/job-pause/main.yaml
vendored
1
tests/fixtures/config/job-pause/main.yaml
vendored
@@ -6,3 +6,4 @@
|
||||
- common-config
|
||||
- org/project
|
||||
- org/project2
|
||||
- org/project3
|
||||
|
||||
Reference in New Issue
Block a user