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

Add new workflow to automate runner updates #2247

Merged
merged 7 commits into from
Feb 6, 2023

Conversation

rentziass
Copy link
Member

New workflow: update-runners

This adds a new workflow that polls actions/runner releases hourly, and in case there is a new version will open a pull request that, if merged, will trigger the usual release-runners workflow. The PR will contain changes to:

  • runner/VERSION
  • runner/Makefile
  • Makefile
  • test/e2e/e2e_test.go

Changes to release-runners and existing Dockerfiles

release-runners has been changed to read its runner version from runner/VERSION: this is because automating a workflow definition requires a special PAT with workflow permission. As a side effect this also makes version changes a bit more "intentional" imo.

This is also removing default values for RUNNER_VERSION from the various Dockerfiles as we're providing this as build args anyway.

Below is a sample screenshots of what the automated PR will look like:
Screenshot 2023-02-03 at 16 30 09

Copy link
Member

@Link- Link- left a comment

Choose a reason for hiding this comment

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

I like this approach ✨ thank you for putting it together

nikola-jokic
nikola-jokic previously approved these changes Feb 3, 2023
Link-
Link- previously approved these changes Feb 3, 2023
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
@rentziass rentziass merged commit 55951c2 into master Feb 6, 2023
@rentziass rentziass deleted the rentziass/runner-workflow branch February 6, 2023 10:23
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.

3 participants