-
Notifications
You must be signed in to change notification settings - Fork 48
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
build(snap): source metadata from repo #380
Merged
siggiskulason
merged 4 commits into
edgexfoundry:main
from
MonicaisHer:snap-minimize-local-metadata
Feb 11, 2022
Merged
build(snap): source metadata from repo #380
siggiskulason
merged 4 commits into
edgexfoundry:main
from
MonicaisHer:snap-minimize-local-metadata
Feb 11, 2022
Conversation
This file contains 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
The metadata kept in snapcraft.yaml is obsolete because it is being overridden on the store. This change will allow sourcing the central copy of metadata. See canonical/edgex-snap-metadata#2 Signed-off-by: Mengyi Wang <mengyi.wang@canonical.com>
Signed-off-by: Mengyi Wang <mengyi.wang@canonical.com>
Signed-off-by: Mengyi Wang <mengyi.wang@canonical.com>
MonicaisHer
changed the title
Snap minimize local metadata
build(snap): source metadata from repo
Feb 10, 2022
13 tasks
@farshidtz @siggiskulason Could you please review it? Thanks! |
siggiskulason
approved these changes
Feb 10, 2022
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
farshidtz
approved these changes
Feb 10, 2022
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 @MonicaisHer
Testing Instructions
# clean and build:
$ snapcraft clean && snapcraft
# unpack the built snap:
$ unsquashfs name.snap
# verify that icon exists:
$ ls squashfs-root/meta/gui/icon.png
squashfs-root/meta/gui/icon.png
# verify that version, summary and description are included
$ cat squashfs-root/meta/snap.yaml
...
version: 2.2.0-dev.12
summary: EdgeX App Service Configurable
description: |-
This service is provided as an easy way to get started with processing data flowing through EdgeX.
It leverages the App Functions SDK and provides a way for developers to use configuration instead of writing code to utilize the built-in functionalities.
**Snap usage instructions**
https://github.com/edgexfoundry/app-service-configurable/blob/main/snap/README.md
**Source code and more info**
https://github.com/edgexfoundry/app-service-configurable
**Service usage examples**
* v1.3: https://docs.edgexfoundry.org/1.3/microservices/application/AppServiceConfigurable
* v2.1: https://docs.edgexfoundry.org/2.1/microservices/application/AppServiceConfigurable
* v2.2: https://docs.edgexfoundry.org/2.2/microservices/application/AppServiceConfigurable
**EdgeX Documentation**
https://docs.edgexfoundry.org
**Reference platform snap**
https://snapcraft.io/edgexfoundry
...
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.
The metadata kept in snapcraft.yaml is obsolete because it is being overridden on the store. This change will allow sourcing the central copy of metadata.
See canonical/edgex-snap-metadata#2
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/app-service-configurable/blob/main/.github/CONTRIBUTING.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
New Dependency Instructions (If applicable)