diff options
author | James E. Blair <jeblair@redhat.com> | 2017-10-30 14:04:48 -0700 |
---|---|---|
committer | James E. Blair <jeblair@redhat.com> | 2017-10-30 15:00:11 -0700 |
commit | edff2c26c2b411316b0cf32bc635277f3ce811ca (patch) | |
tree | 97c667fb963f862923b3b64e26a7fc5402d2b59b /tests/fixtures/layouts/repo-checkout-no-timer.yaml | |
parent | c317fba760f9873792d2427a8d20da0ca327bffb (diff) | |
download | zuul-edff2c26c2b411316b0cf32bc635277f3ce811ca.tar.gz |
Add support for override-checkout, deprecate override-branch
We want to support jobs specifying that they check out a tag
rather than merely a branch. This accidentally worked in Zuul v2
with zuul-cloner, and some jobs have come to rely on the behavior.
There's no reason not to support it, so let's do so.
However, for clarity, change the name of the option to
"override-checkout". This is intended to be intuitive (anything
you can tell git to 'checkout' you can put here), while avoiding
the suggestion that only branches or tags may be checked out.
The old form, "override-branch" is deprecated and will be removed.
Change-Id: Icc2907e72596626e96d2dc9f6ab1c3026f4085ab
Diffstat (limited to 'tests/fixtures/layouts/repo-checkout-no-timer.yaml')
-rw-r--r-- | tests/fixtures/layouts/repo-checkout-no-timer.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fixtures/layouts/repo-checkout-no-timer.yaml b/tests/fixtures/layouts/repo-checkout-no-timer.yaml index 6b8880116..037489739 100644 --- a/tests/fixtures/layouts/repo-checkout-no-timer.yaml +++ b/tests/fixtures/layouts/repo-checkout-no-timer.yaml @@ -14,7 +14,7 @@ - job: name: integration - override-branch: stable/havana + override-checkout: stable/havana required-projects: - org/project1 run: playbooks/integration.yaml |