Skip to content

Commit

Permalink
upgrade/extended: Add rollout_wariness=0 to curl updates
Browse files Browse the repository at this point in the history
Adding this option so we pick the latest changes to the
edges which point to the newest release during the rollout
window
  • Loading branch information
gursewak1997 authored and dustymabe committed Oct 10, 2023
1 parent d972c54 commit 59e2206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kola/upgrade/extended/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ stream=$(get_booted_deployment_json | jq -r '.["base-commit-meta"]["fedora-coreo

# Pick up the last release for the current stream from the update server
test -f /srv/updateinfo.json || \
curl -L "https://updates.coreos.fedoraproject.org/v1/graph?basearch=$(arch)&stream=${stream}" > /srv/updateinfo.json
curl -L "https://updates.coreos.fedoraproject.org/v1/graph?basearch=$(arch)&stream=${stream}&rollout_wariness=0" > /srv/updateinfo.json
last_release=$(jq -r .nodes[-1].version /srv/updateinfo.json)
last_release_index=$(jq '.nodes | length-1' /srv/updateinfo.json)
latest_edge=$(jq -r .edges[0][1] /srv/updateinfo.json)
Expand Down

0 comments on commit 59e2206

Please sign in to comment.