-
Notifications
You must be signed in to change notification settings - Fork 894
refactor: change template archive extraction to be on provisioner #9264
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 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
935719c
refactor provisionersdk protocol
spikecurtis a29592a
refactor provisioners to use new protocol
spikecurtis 1f0efb4
refactor provisionerd to use new protocol
spikecurtis 2be6cf0
refactor tests & proto renames
spikecurtis 39d6065
Fixes from self-review
spikecurtis e39b8a2
appease fmt & link
spikecurtis d92608e
code review fixes & e2e fixes
spikecurtis 0412773
More fmt
spikecurtis 83deae6
Merge branch 'main' of https://github.com/coder/coder into spike/9165…
spikecurtis d1a9b2a
Code review fixes
spikecurtis 8d7261f
Merge branch 'main' of https://github.com/coder/coder into spike/9165…
spikecurtis ef1820f
new gen; use uuid for session workdir
spikecurtis 96e1e64
Revert nix-based gen CI task until dogfood is on nix
spikecurtis 2805dda
Merge branch 'main' of https://github.com/coder/coder into spike/9165…
spikecurtis 9762158
revert deleting dogfood Docker stuff
spikecurtis cf8a48b
Merge branch 'main' of https://github.com/coder/coder into spike/9165…
spikecurtis 3d7b6a8
Revert "revert deleting dogfood Docker stuff"
spikecurtis 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
new gen; use uuid for session workdir
Signed-off-by: Spike Curtis <spike@coder.com>
- Loading branch information
commit ef1820fee440296d530aaa10c3ababb5c27d47e6
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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.
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.
Thinking loud: what are the chances that
s.WorkDirectory
exists, and contains a malicious/old/buggy .tf file, which will be included in the terraform provisioning process?I'm asking as
os.MkdirAll
doesn't complain that the directory exists.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.
I guess there is some chance of this from a restarted process, or failed cleanup. I'll add a call to
os.RemoveAll()
before.