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

feat: Add option to disable Runner Syncer Lambda trigger #2986

Merged

Conversation

anjosluc
Copy link
Contributor

Currently the module allows us to use Lambda functions to sync GitHub runner binaries on S3 automatically to the latest release available on actions/runners repository, but sometimes a release can have issues in their functionality that were not caught by Github prior to release it, so we need to rollback the binary distribution on S3 to a previous version and disable Lambda Syncer to stop checking for updates. This option allows us to quickly solve problems in runners version like we had in actions/runner#2435 by freezing automatic updates and still being able to use Runner Syncer.

@npalm npalm self-requested a review February 23, 2023 22:33
Copy link
Member

@npalm npalm left a comment

Choose a reason for hiding this comment

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

@anjosluc looks good, can you add the new variable also to the multi-runner module? See https://github.com/philips-labs/terraform-aws-github-runner/blob/main/modules/multi-runner/runner-binaries.tf

variables.tf Outdated Show resolved Hide resolved
@anjosluc anjosluc requested a review from npalm February 24, 2023 12:34
@npalm
Copy link
Member

npalm commented Mar 1, 2023

@anjosluc thanks for your contribution!

@npalm npalm merged commit 5eb27b0 into philips-labs:main Mar 1, 2023
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