zuul/tests/fixtures/layout-no-timer.yaml
Steve Varnau 7b78b311b8 Fix timer jobs getting aborted from abandoning a change
NullChange returned equal for any change in the project, now
only returns equal for a NullChange (_id None) in the project.

Also added test case for the issue.

Change-Id: I4e43d1aa6cb040f775308f18333e090ff20e0dc0
Closes-Bug: 2000223
2015-04-03 15:01:38 -07:00

29 lines
594 B
YAML

pipelines:
- name: check
manager: IndependentPipelineManager
trigger:
gerrit:
- event: patchset-created
success:
gerrit:
verified: 1
failure:
gerrit:
verified: -1
- name: periodic
manager: IndependentPipelineManager
# Trigger is required, set it to one that is a noop
# during tests that check the timer trigger.
trigger:
gerrit:
- event: ref-updated
projects:
- name: org/project
check:
- project-test1
periodic:
- project-bitrot-stable-old
- project-bitrot-stable-older