-
Notifications
You must be signed in to change notification settings - Fork 424
Features contribute lifecycle hooks #390
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
Merged
Merged
Changes from 24 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
efa0f62
refactor Feature interface
joshspicer 279da40
Feat: Add in inline command lifecycle hook contribution from Features
joshspicer f43350e
markerfile to exercise order of execution
joshspicer 652c249
Merge branch 'main' of https://github.com/devcontainers/cli into josh…
joshspicer b3c6d87
add in two helper scripts with the same name in two different Features
joshspicer d0d99fc
test with ${featureRoot}
joshspicer 9aeade3
make Feature artifacts executable by all users
joshspicer b88f1cd
test for advanced lifehook scenario
joshspicer 909e0fe
add
joshspicer 93ed16b
typecheck
joshspicer 780c346
improve test
joshspicer d0323e3
refactor variable names from 'postCreate' -> 'lifecycleHook'
joshspicer cd591d3
refactor variable names from 'postCreate' -> 'lifecycleHook'
joshspicer b5ec2f0
Merge branch 'joshspicer/features-lifecycles-hooks' of https://github…
joshspicer 1502b47
update test for running in parallel
joshspicer af35b5d
Merge branch 'main' of https://github.com/devcontainers/cli into josh…
joshspicer bbadb67
update test
joshspicer 0d3941d
Display the 'origin' of the lifecycle command in the output log durin…
joshspicer f320096
Change copy path for Features on-container from /tmp-build-features t…
joshspicer 9596961
run lifecycle commands in Feature install order
joshspicer 311a397
stop passing config object where unused
joshspicer 0350081
Rename LifecycleCommandOriginMap -> LifecycleHooksInstallMap
joshspicer 26406cf
add test to assert installsAfter is respected
joshspicer cafa379
rm -rf test dir
joshspicer cf819cf
assert contents in metadata label
joshspicer 7b32586
unused test stub
joshspicer 0f1bfd5
exercise dev container test cmd
joshspicer 3e5f804
Merge branch 'main' of https://github.com/devcontainers/cli into josh…
joshspicer 5e7ebcb
increase test timeouts
joshspicer c000b10
'' -> ''
joshspicer 6687ad4
revert changing dest location to /opt/build-features and remerge main
joshspicer 8ede783
pass contentSourceRootPath as a variable instead of string subst
joshspicer 91e160b
remove dead code referencing "hasAcquires"
joshspicer e8b4b6f
cannot change line 256
joshspicer bff51a9
persist final Features copy to /usr/share/devcontainer/features
joshspicer 07ad411
update existing test
joshspicer 99836c3
feature dir need not be writable by anyone but its owner
joshspicer 2e2731f
add test to assert resume will trigger lifecycle hooks
joshspicer 4c37690
Test: "${featureRootFolder} substituted lifecycle hooks trigger on re…
joshspicer 2adef08
missing semicolon
joshspicer 59c1f4a
preserve featureRootFolder in metadata and replace right before usage
joshspicer cd87a51
rename metadata entry to featureRootFolder for clarity and only emit …
joshspicer d4f974b
merged config has substituted featureRootFolder values
joshspicer dd7667b
Merge branch 'main' into joshspicer/features-lifecycles-hooks
joshspicer b4e40a5
update tests to remove ${featureRootFolder}
joshspicer 73c3a4f
remove ${featureRootFolder} variable substiution
joshspicer 14a1c33
move Features container build folder back to /tmp
joshspicer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.