Bug 1899564: taskgraph parameter update script is broken for firefox android action tasks r=releng-reviewers,jcristau

Differential Revision: https://phabricator.services.mozilla.com/D212001
This commit is contained in:
Ben Hearsum 2024-05-29 15:00:24 +00:00
Родитель 868833e264
Коммит e3719cb3f3
1 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -96,22 +96,28 @@ for f in $files; do
*-firefox-rc)
product=firefox
action=${action%-firefox-rc}
suffix=_rc
phase=${action}_${product}_rc
;;
*-firefox)
product=firefox
action=${action%-$product}
phase=${action}_${product}
;;
*-devedition)
product=devedition
action=${action%-$product}
phase=${action}_${product}
;;
*-android)
product=firefox-android
action=${action%-android}
phase=${action}_android
;;
*)
echo unknown action $action >&2
exit 1
;;
esac
phase=${action}_${product}${suffix}
# grab the action task id from the latest release where this phase wasn't skipped
task=$(curl -s "https://shipitapi-public.services.mozilla.com/releases?product=${product}&branch=releases/${repo}&status=shipped" | \
jq -r "map(.phases[] | select(.name == "'"'"$phase"'"'" and (.skipped | not)))[-1].actionTaskId")