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:
parent
055ece4ed4
commit
5f6db1d668
|
@ -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"
|
||||
;;
|
||||
|
|
|
@ -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"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue