Skip to content
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

Reduce permissions and fix version in AWS Actions #45

Merged
merged 7 commits into from
Jan 23, 2025

Conversation

yonch
Copy link
Contributor

@yonch yonch commented Jan 22, 2025

  • Experimented with removing some of the permissions and was able to remove two in the AWS template and in the CPI AWS tests.

  • Fixed the version of ec2-github-runner to the new version supporting spot

Verified both workflows work, and use spot instances (on the AWS console)

@yonch
Copy link
Contributor Author

yonch commented Jan 22, 2025

@tverghis I edited cpi-count-test, does it look ok with these?

Copy link
Contributor

@tverghis tverghis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a small suggestion to use the published tag vs the commit hash directly!

use version number (rather than hash) to select spot-capable ec2-github-runner version. Credit  @tverghis for suggesting

Co-authored-by: Tarun Verghis <[email protected]>
@yonch yonch merged commit 9d08391 into unvariance:main Jan 23, 2025
1 check passed
@yonch
Copy link
Contributor Author

yonch commented Jan 23, 2025

Thanks again @tverghis !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants