Periodic fs050: add promotion hash in "previous" function

For the first time we are adding an upgrade job to the promotion
pipeline. Since the release in these jobs is
promotion-testing-hash-{release}, we need to add a case to the function
that calculates the previous release of the upgrade.
We'll need to update also the emit_releases_script for this to work with
this featureset.

Change-Id: I89e349b3ff563e5db59173f4751a52783d63f1ac
This commit is contained in:
Gabriele Cerami 2018-08-09 15:05:51 +01:00
parent 055ece4ed4
commit 5f6db1d668
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ function previous_release_from {
function previous_release_mixed_upgrade_case {
local release="${1:-master}"
case "${release}" in
''|master)
''|master|promotion-testing-hash-master)
# NOTE: we need to update this when we cut a stable branch
echo "queens"
;;

View File

@ -18,7 +18,7 @@ function previous_release_from {
function previous_release_mixed_upgrade_case {
local release="${1:-master}"
case "${release}" in
''|master)
''|master|promotion-testing-hash-master)
# NOTE: we need to update this when we cut a stable branch
echo "queens"
;;