-
Notifications
You must be signed in to change notification settings - Fork 708
feat: Add feature to enable dynamic ec2 config via workflow labels #5003
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
edersonbrilhante
wants to merge
25
commits into
github-aws-runners:main
Choose a base branch
from
edersonbrilhante:feat-ec2-dynamic-config
base: main
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,849
−35
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
99d13a2
feat: Add feature to enable dynamic instance types via workflow labels
npalm 8065567
docs: auto update terraform docs
f8f723c
feat: allow to use dynamic instance type in multiple events
edersonbrilhante 40988e7
style: fix format
edersonbrilhante 2ee06cd
fix: add dynamic labels as runner labels
edersonbrilhante 042b4b3
test: add tests for dynamic labels
edersonbrilhante 0261bd8
fix: wire enable_dynamic_ec2_config
edersonbrilhante 9b0dbc2
fix: fix runner owner logic
edersonbrilhante 3157d0f
chore: decrease log level for some logs
edersonbrilhante eb1649c
style: fix format issues
edersonbrilhante c3bcca6
feat: add support for all fields in FleetLaunchTemplateOverridesRequest
edersonbrilhante 41d69af
style: fix formatting issues
edersonbrilhante b37f0e4
fix: convert instanceTypes to constant
edersonbrilhante a4991a9
test: fix test cases
edersonbrilhante 18cdbe4
fix: fix imports
edersonbrilhante c1e08e6
docs: update function docs for parseEc2OverrideConfig
edersonbrilhante b25dcb7
feat: allow use any dynamic label with prefix ghr-
edersonbrilhante 80febc2
style: fix formatting
edersonbrilhante 7e41f82
docs: auto update terraform docs
github-actions[bot] 73dc5a2
fix: fix wrong variable
edersonbrilhante 0f2f319
fix: replace old envvar for new envvar
edersonbrilhante b8261d4
docs: auto update terraform docs
github-actions[bot] 275fe71
style: fix tflint
edersonbrilhante dfb2910
docs: auto update terraform docs
github-actions[bot] afdfb36
fix: fix merge conflicts
edersonbrilhante 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
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.
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 these tests work with all good values, but because we are in the user space, what about bad values and their effects? Is it maybe worth extending the tests to not trust the user data? I am not sure how the behaviour will be if someone makes a mistake, does it take the whole batch/process out?
Uh oh!
There was an error while loading. Please reload this page.
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.
An example would be m5.large, could be m5,large. How will this change behaviour?