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

Keep image up-to-date with its components [Ubuntu base image] #36

Open
pavlovic-ivan opened this issue Oct 9, 2022 · 1 comment
Open

Comments

@pavlovic-ivan
Copy link
Owner

pavlovic-ivan commented Oct 9, 2022

Describe the improvement request

Ubuntu base image should be kept up-to-date in the image

I think that a daily scheduled workflow could be used to check for updates to Ubuntu base, and create a PR with the new version number set in variables.auto.pkrvars.hcl when an update is detected. We may also want to have a workflow running on PRs that builds and tests the image, but does not save it.

Here is how I think the check for updates could be done for each component:

Ubuntu base image
Use gcloud to query for the latest image in the ubuntu-2004-lts family

gcloud compute images list --filter family=ubuntu-2004-lts --format "value(NAME)"
@pavlovic-ivan
Copy link
Owner Author

Since we moved to AWS, command should use aws cli

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

No branches or pull requests

1 participant