-
Notifications
You must be signed in to change notification settings - Fork 894
chore: enable terraform provisioners in e2e by default #13134
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
24 commits
Select commit
Hold shift + click to select a range
c810759
make gen
Emyrk 5294740
add icon to health provisioner page for prov type
Emyrk ae89373
update golden files
Emyrk e12e721
update golden files
Emyrk f4dbfb5
make gen
Emyrk 2a09af3
update golden files
Emyrk 736df67
remove ui pills for provisioners on health page
Emyrk f104148
remove unused import
Emyrk e82b2c3
chore: terraform provisioners enabled in e2e by default
Emyrk de3f81d
fixup config
Emyrk 8fdaf2c
begin work on terraform e2e test
Emyrk f4d7c0d
update import order
Emyrk 50501e8
create e2e terraform test with docker template
Emyrk c25f6c4
Run docker e2e in CI once
Emyrk 604227e
disable leaky test
Emyrk f5e09cd
fixup hidden input field
Emyrk 3862311
remove comments
Emyrk 3173a5e
switch to query params
Emyrk fca5946
imports
Emyrk d9a8dc7
remove diff
Emyrk e34546f
PR suggestions, using web terminal helper
Emyrk ab2c29f
PR feedback on executable errors
Emyrk c521532
rename require
Emyrk 2b77082
skip docker test, it leaks containers
Emyrk 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
switch to query params
- Loading branch information
commit 3173a5e56087579669b0db65a400bc4b9eff0c72
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
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.
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'd kind of rather leave this as a
string
, because we're not doing any validation on it, so it could be anythingThere 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.
You mean make
provisioner_type
a string?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 think the
.get
here returnsstring | undefined
, and the||
narrows it tostring
, but I think the cast here narrow it more than it should, basically. we don't actually know that the returned value is a validProvisionerType
here because we didn't check!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.
Yes, that is correct. The type of the
defaultInitialValues.provisioner_type
isProvisionerType
which I would like to keep. Essentially I think adding validation is probably the best approach, but since this is a hidden query param only used in testing, I just skipped it for now. The BE will return a validation error if someone discovers this and tries to do something unsupported.