-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update snap packaging #61
fix: update snap packaging #61
Conversation
d12477b
to
ea5a6e5
Compare
Codecov Report
@@ Coverage Diff @@
## main edgexfoundry/device-rfid-llrp-go#61 +/- ##
==========================================
+ Coverage 41.11% 41.13% +0.02%
==========================================
Files 21 21
Lines 9012 9016 +4
==========================================
+ Hits 3705 3709 +4
- Misses 4138 4139 +1
+ Partials 1169 1168 -1
Continue to review full report at Codecov.
|
@lenny-intel - Besides snap-specific changes, I made a couple of changes to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @siggiskulason for the updates. I've added some inline comments. Apart from those, I suggest following updates:
- Update
github.com/canonical/edgex-snap-hooks/v2
so that it includes bug fixes and better error logging (e.g. when setting wrong config option key). - The snap readme describes installation from 2.0 (Ireland) channel which doesn't exist. Please remove that part until we actually have a v2 channel and tag; see Tagging for v2 #63
- Reduce the content of "Using a content interface to set device configuration" section under snap readme to:
The `device-config` content interface allows another snap to seed this snap with configuration directories under `$SNAP_DATA/config/device-rfid-llrp`.
Note that the `device-config` content interface does NOT support seeding of the Secret Store Token because that file is expected at a different path.
Please refer to [edgex-config-provider](https://github.com/canonical/edgex-config-provider), for an example and further instructions.
Updated to
Updated |
@lenny-intel / @farshidtz - Thanks for the review. I have implemented all requested changes. Could you please re-review and approve if there are no other change requests? Thanks! |
- Add support for defining provision watcher directory - Adding auto-scan script to snap - Adding support for Consul token to auto-scan script - Other minor changes See also: edgexfoundry#52 Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
various updates to snapcraft.yaml Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Further updates to snapcraft.yaml Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Further updates Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Co-authored-by: Farshid Tavakolizadeh <email@farshid.ws> Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Co-authored-by: Farshid Tavakolizadeh <email@farshid.ws> Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
b07dd82
to
c91c73e
Compare
I had to force-push an update - it seems that when I used the Github UI to accept changes suggested, Github created commits that were not signed, so that broke the DCO test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, from my perspective. I'll let the other snap experts approve before merging.
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
@farshidtz - I've pushed a commit with your requested changes. Please re-review. |
Signed-off-by: Siggi Skulason <siggi.skulason@canonical.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Looks good now.
I don't have the actual device and reviewed only the packaging and runtime of the snap.
Thanks @lenny-intel / @farshidtz |
Fix #55
See also: #52 for further information.
There is an issue with setting the subnet information using "snap set", which is unrelated to this PR - see edgexfoundry/go-mod-bootstrap#314
Signed-off-by: Siggi Skulason siggi.skulason@canonical.com
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/device-rfid-llrp-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
Install snap and run device discovery with
I have verified that this detects my RFID reader.
New Dependency Instructions (If applicable)