diff options
author | James E. Blair <jeblair@redhat.com> | 2017-04-20 10:19:20 -0700 |
---|---|---|
committer | James E. Blair <jeblair@redhat.com> | 2017-04-20 10:54:13 -0700 |
commit | dfdfcfceaacf4e62201ea7e038df708080ee3af6 (patch) | |
tree | 214efb71b64482c7b01e99cb6bc72d477a4f5715 /tests/fixtures/layouts/idle.yaml | |
parent | 9ea0d0b937d952636a60b148eebb776bdc21a38d (diff) | |
download | zuul-dfdfcfceaacf4e62201ea7e038df708080ee3af6.tar.gz |
Move timer tests to commitConfigUpdate
These can't use simple_layout because they need to make changes
before loading the timer configuration, so use the new
commitConfigUpdate method to swap in their configuration. Update
it to ensure that all necessary playbooks are created.
Change-Id: I3ad25d6db2030c2aae884700115b095e8f481f2c
Diffstat (limited to 'tests/fixtures/layouts/idle.yaml')
-rw-r--r-- | tests/fixtures/layouts/idle.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/fixtures/layouts/idle.yaml b/tests/fixtures/layouts/idle.yaml new file mode 100644 index 000000000..ff3384274 --- /dev/null +++ b/tests/fixtures/layouts/idle.yaml @@ -0,0 +1,25 @@ +- pipeline: + name: periodic + manager: independent + trigger: + timer: + - time: '* * * * * */1' + +- job: + name: project-bitrot-stable-old + nodes: + - name: static + image: ubuntu-xenial + +- job: + name: project-bitrot-stable-older + nodes: + - name: static + image: ubuntu-trusty + +- project: + name: org/project + periodic: + jobs: + - project-bitrot-stable-old + - project-bitrot-stable-older |