Skip to content

Commit

Permalink
Fix snap refresh verification job dependency
Browse files Browse the repository at this point in the history
When implementing changes for the gadget/snapd/kernel snap refresh[1],
one of the job dependencies was not updated properly.

The `snapd/reboot-after-snap-refresh-{type}-{name}-to-stable-rev` job
does not exist anymore, so the
`snapd/snap-verify-after-refresh-{type}-{name}-to-stable-rev` should
depend on the refresh job itself (which was modified in the
aforementioned PR to do the reboot itself)

[1]: #1124
  • Loading branch information
pieqq committed Oct 1, 2024
1 parent 2605982 commit f939731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/base/units/snapd/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ plugin: shell
estimated_duration: 30s
category_id: snapd
user: root
depends: snapd/reboot-after-snap-refresh-{type}-{name}-to-stable-rev
depends: snapd/snap-refresh-{type}-{name}-to-stable-rev
command:
path="$PLAINBOX_SESSION_SHARE/{name}_snap_revision_info"
snap_update_test.py --verify-refresh --info-path "$path" {name}
Expand Down

0 comments on commit f939731

Please sign in to comment.