-
Notifications
You must be signed in to change notification settings - Fork 10
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
CFE-3990: Prompt user which bundle to run #133
Merged
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
Ticket: CFE-3990 Changelog: None Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Added message to assert in `prompt_user` in order to make it easier to debug when `default` is neither `None` nor in `choices`. Ticket: None Changelog: None Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
cfbs now prompts user which bundle to run when adding a local module or directory. Ticket: CFE-3990 Changelog: Body Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Added unit test for utility function `merge_json` during some debugging in order to make sure the function worked as I expected. Might as well keep it. Ticket: None Changelog: None Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Removed autorun dependency added when creating module from local policy file, and changed the destion from `/services/autorun/` to `/services/cfbs/`. Ticket: CFE-3990 Changelog: Body Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Remove logic that adds policy files to the inputs attribute in def.json. Also the copy logic now keeps the directory hierachy of the module. Ticket: CFE-3990 Changelog: Body Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Removed the warning printed when adding files not tagged with autorun. Ticket: CFE-3990 Changelog: Body Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Added build step `policy_files` that adds policy files to inputs. Ticket: CFE-3990 Changelog: Body Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Added build step `bundles` that adds bundles to the bundlesequence. Ticket: CFE-3990 Changelog: Body Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Modify 010_local_add shell test to work with changes from CFE-3990. Ticket: CFE-3990 Changelog: None Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Modify 016_add_folders shell test to work with changes from CFE-3990. Ticket: CFE-3990 Changelog: None Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
olehermanse
approved these changes
Oct 20, 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.
Looks good, thanks for working on this!
vpodzime
reviewed
Oct 24, 2022
Merged
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.
Demo: