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(images): automatically find latest GitHub Runner version when building images #3129

Merged
merged 5 commits into from
Apr 19, 2023

Conversation

gautamg795
Copy link
Contributor

@gautamg795 gautamg795 commented Mar 29, 2023

This requires using a newer version of packer to get the http data source, but this now allows an operator to omit the runner_version variable and still ensure that the built image is using the newest runner, removing the need for an autoupdate when the runner starts up.

Previous behavior of overriding the variable when desired is maintained.

@gautamg795 gautamg795 changed the title Automatically find latest GitHub Runner version when building images feat: Automatically find latest GitHub Runner version when building images Mar 29, 2023
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.

@gautamg795 looks good to me. Please go ahead with updating the other image examples

@gautamg795 gautamg795 marked this pull request as ready for review April 4, 2023 01:03
@gautamg795
Copy link
Contributor Author

fyi @npalm, I've made the requested updates and this should be ready for review

@npalm npalm self-requested a review April 18, 2023 22:21
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.

LGTM, one smale change request.

.github/workflows/packer-build.yml Outdated Show resolved Hide resolved
Co-authored-by: Niek Palm <npalm@users.noreply.github.com>
@gautamg795 gautamg795 requested a review from npalm April 18, 2023 22:55
@npalm npalm changed the title feat: Automatically find latest GitHub Runner version when building images feat(images): automatically find latest GitHub Runner version when building images Apr 19, 2023
@npalm npalm merged commit da49078 into philips-labs:main Apr 19, 2023
@gautamg795 gautamg795 deleted the runner-version branch April 19, 2023 21:05
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