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

chore: add instance_refresh, al2023 to github-runners #871

Closed
wants to merge 12 commits into from

Conversation

dudymas
Copy link
Contributor

@dudymas dudymas commented Oct 12, 2023

what

  • add instance_refresh and launch_template_version to github-runners
  • support al2023
  • remove ecr-login configuration from user-data.sh

why

  • make it less click-ops to update github runner versions
  • node20 requires newer glibc, so updating to al2023 and installing libicu solves that requirement
  • the ecr-login configuration does not support docker login due to PR 315
  • the ecr-login configuration cannot use environment credential
    sources
  • README has been updated for github-runners to explain the most flexible
    usage of this component with ECR

@dudymas dudymas requested review from a team as code owners October 12, 2023 13:23
milldr
milldr previously approved these changes Oct 12, 2023
Nuru
Nuru previously requested changes Oct 12, 2023
Copy link
Contributor

@Nuru Nuru left a comment

Choose a reason for hiding this comment

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

Do not ignore launch template version. If instance_refresh is true and launch_template_version = "$Latest", configure launch_template_version to use the latest_version attribute of the aws_launch_template resource.

Add the ability to set instance_refresh.triggers.

Set appropriate options for instance refresh for GitHub Runners, such as scale_in_protected_instances = "Refresh".

@dudymas dudymas changed the title chore: add instance_refresh to github-runners chore: add instance_refresh, al2023 to github-runners Oct 20, 2023
@dudymas dudymas requested a review from Nuru October 21, 2023 13:12
@dudymas dudymas dismissed Nuru’s stale review August 8, 2024 18:52

reviews stale and changes made

@dudymas
Copy link
Contributor Author

dudymas commented Nov 7, 2024

This looks like it's too stale and needs to be closed. Also, the runs-on component is a better fit for modern infra.

@dudymas dudymas closed this Nov 7, 2024
@dudymas dudymas deleted the chore/github-runners/allow-refreshing branch November 7, 2024 13:33
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.

4 participants