mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
transfer.sh: use new group percent subcommand
updateservicectl removed the update-percent flag from group update to force users to use the new api. update percents are now modified using the group percent command.
This commit is contained in:
parent
f89ed6f143
commit
32f3d4165b
@ -105,18 +105,17 @@ roll() {
|
||||
--server="https://public.update.core-os.net" \
|
||||
--user="${ROLLER_USERNAME}" \
|
||||
--key="${ROLLER_API_KEY}" \
|
||||
group update \
|
||||
group percent \
|
||||
--app-id="${APPID[${board}]}" \
|
||||
--group-id="${channel}" \
|
||||
--update-percent=100
|
||||
else
|
||||
# TODO(sdemos): update this behavior when rollout strategies land in roller
|
||||
echo "Rollout set to 0%"
|
||||
updateservicectl \
|
||||
--server="https://public.update.core-os.net" \
|
||||
--user="${ROLLER_USERNAME}" \
|
||||
--key="${ROLLER_API_KEY}" \
|
||||
group update \
|
||||
group percent \
|
||||
--app-id="${APPID[${board}]}" \
|
||||
--group-id="${channel}" \
|
||||
--update-percent=0
|
||||
|
Loading…
Reference in New Issue
Block a user