This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Move env file to parent directory to avoid conflict with config provider #83
Merged
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
I have installed the device virtual build with the PR's snap hook and connected it to the config provider. However, the files from the config provider have not been copied to the device-virtual:
|
The mounted files are only visible to the snap. See https://github.com/canonical/edgex-config-provider#list-mounted-files |
MonicaisHer
approved these changes
Mar 14, 2023
5 tasks
MonicaisHer
added a commit
to MonicaisHer/device-mqtt-go
that referenced
this pull request
Mar 17, 2023
…directory Changes to incorporate the following fixes: - canonical/edgex-snap-hooks#83 - canonical/edgex-snap-hooks#82 Signed-off-by: Mengyi Wang <mengyi.wang@canonical.com>
5 tasks
MonicaisHer
added a commit
to MonicaisHer/app-rfid-llrp-inventory
that referenced
this pull request
Mar 17, 2023
…directory Changes to incorporate the following fixes: - canonical/edgex-snap-hooks#83 - canonical/edgex-snap-hooks#82 Signed-off-by: Mengyi Wang <mengyi.wang@canonical.com>
This was referenced Mar 17, 2023
Merged
5 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Testing instructions
Reproduce the error
Install device virtual (edge) and connect the config provider.
Set a snap option (example:
snap set edgex-device-virtual config.writable-loglevel=DEBUG
)Look for expected error:
could not process config options: failed to remove env file: unlinkat /var/snap/edgex-device-mqtt/2762/config/device-mqtt/res/device-virtual.env: read-only file system
Test
Build from edgexfoundry/device-virtual-go#354
Connect the config provider.
Use: