-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add --secret flag to image build command #41106
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
Open
ggarzia-MSFT
wants to merge
29
commits into
master
Choose a base branch
from
user/johnstep/build-secret
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,629
−490
Open
Changes from 9 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1ab8ea2
Simplify e2e build-test image cleanup with per-test RAII ownership
johnstep a85aaeb
Add wslc image build --secret switch
johnstep 2d9c24d
Error on bare --secret id with unset env var
ggarzia-MSFT f7cbe09
Reject empty secret id and track mounts before mounting
ggarzia-MSFT f17fdbb
Reject secret id starting with '-' client-side
ggarzia-MSFT 6c5e119
Move --secret input validation into ValidateSecretSpec
ggarzia-MSFT af5dd73
Merge branch 'master' into user/johnstep/build-secret
ggarzia-MSFT 9b34bc0
fix resource comment
ggarzia-MSFT 0f77d44
Merge branch 'user/johnstep/build-secret' of https://github.com/micro…
ggarzia-MSFT c08a908
fix resource comment
ggarzia-MSFT 1a7e353
Avoid null pointer arithmetic for empty build secret
ggarzia-MSFT f982ba0
Record VM mount only after it succeeds
ggarzia-MSFT 0075638
Validate shared secret build context is a directory
ggarzia-MSFT 58beb90
Merge branch 'master' into user/johnstep/build-secret
ggarzia-MSFT d0c41db
Pass Reporter to BuildImageCallback and TryInspectImage
ggarzia-MSFT 143c246
Apply clang-format to secret build test lines
ggarzia-MSFT ebca58b
Revert "Apply clang-format to secret build test lines"
ggarzia-MSFT b0931e2
Format secret build test with pipeline clang-format
ggarzia-MSFT 0a32bc0
Format ValidateSecretSpec with pipeline clang-format
ggarzia-MSFT 8bf6243
Verify secret build success by exit code, not empty stderr
ggarzia-MSFT df88fb5
Read file secret by size to detect truncated reads
ggarzia-MSFT eb7726d
Pass nullptr for empty build secret value
ggarzia-MSFT f2b7756
Log build secret cleanup failures
ggarzia-MSFT 81ec735
Merge branch 'master' into user/johnstep/build-secret
ggarzia-MSFT 6a819c7
Merge secret spec validation and parsing into ParseSecretSpec
ggarzia-MSFT 368cc13
Merge branch 'master' into user/johnstep/build-secret
ggarzia-MSFT 3086946
Add secret parser unit tests and share env-read helper
ggarzia-MSFT 6a7131c
Extract spec parsers into SpecParsing
ggarzia-MSFT fbdbd4b
Use ScopedEnvVariable in tests
ggarzia-MSFT 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
Some comments aren't visible on the classic Files Changed page.
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
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.
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.