Repository navigation
Conversation
Signed-off-by: Felipe Reyes <felipe.reyes@canonical.com>
freyes
force-pushed
the
ci/snap-review
branch
from
November 26, 2026 19:09
4c60d32 to
0236f68
Compare
Signed-off-by: Felipe Reyes <felipe.reyes@canonical.com>
freyes
force-pushed
the
ci/snap-review
branch
from
November 27, 2026 15:34
e7da6c7 to
36baabf
Compare
hemanthnakkina
requested changes
Dec 2, 2026
| - name: Review snap | ||
| run: | | ||
| sudo snap install review-tools | ||
| snap-review --plugs=tools/snap-openstack.plugs.data ${{ steps.snapcraft.outputs.snap }} |
Collaborator
There was a problem hiding this comment.
snap-review exits 3 on warnings. Shall we pass the CI for warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Runs
snap-reviewfrom thereview-toolssnap on the locally built snap, right aftersnapcraft pack, so lint and declaration errors are caught in CI before the artifact is uploaded (e.g. external symlinks, as fixed in canonical/snap-openstack-network-agents#48).The snap declares store-approved plugs (
personal-files,system-files), whichsnap-reviewcannot know from the snap alone.tools/snap-openstack.plugs.datacarries theplugssection of the store's snap-declaration and is passed via--plugs.tools/generate-plugs.shregenerates that file from an installed snap:Assisted-By: OmO <z-ai/glm-5.3>
QA steps
Build Snapworkflow on a branch: after "Build snap locally", the new "Review snap" step installsreview-toolsand runssnap-review --plugs=tools/snap-openstack.plugs.dataon the built snap.review-tools0.48 against a published openstack snap:--plugs: FAIL with 4human review required due to 'allow-installation' constrainterrors (dot-local-share-juju,dot-config-openstack,dot-local-share-openstack,etc-openstack)--plugs=tools/snap-openstack.plugs.data: passnetaddr'siab.txt/oui.txtpointing into/var/lib/ieee-data/).Links