-
Notifications
You must be signed in to change notification settings - Fork 621
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
update-template-ubuntu.sh
should detect the distro version from the template
#2756
Comments
The current implementation is designed to retrieve the latest image for 24.04 if the image in the template is 24.04, and the latest for 24.10 if the image is 24.10. |
Ah, sorry about that! I had intended to implement it that way, but I forgot that I fixed it in #2731. |
The log of updating #2755 using the current 8b2133d is as follows: ➜ ~10:56:40 20:43:57~ (update-template-debian.sh) hack/update-template-ubuntu.sh templates/ubuntu*.yaml
Processing templates/ubuntu-24.04.yaml
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-amd64.img",
"arch": "x86_64",
"digest": "sha256:fad101d50b06b26590cf30542349f9e9d3041ad7929e3bc3531c81ec27f2c788"
}
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-arm64.img",
"arch": "aarch64",
"digest": "sha256:e380b683b0c497d2a87af8a5dbe94c42eb54548fa976167f307ed8cf3944ec57"
}
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-riscv64.img",
"arch": "riscv64",
"digest": "sha256:d2f487bdb549ace693c8115dbc674746e3f8f7c7121b1f66216146e742dbb514"
}
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-armhf.img",
"arch": "armv7l",
"digest": "sha256:d5bf53f8e4a8cf6209e43fe0d894c87ba5e1e9f7f907a76cf14f71eb4446a899"
}
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-arm64.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-riscv64.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-armhf.img
Processing templates/ubuntu-24.10.yaml
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.10/release-20241009/ubuntu-24.10-server-cloudimg-amd64.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.10/release-20241009/ubuntu-24.10-server-cloudimg-arm64.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.10/release-20241009/ubuntu-24.10-server-cloudimg-riscv64.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.10/release-20241009/ubuntu-24.10-server-cloudimg-armhf.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.10/release/ubuntu-24.10-server-cloudimg-amd64.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.10/release/ubuntu-24.10-server-cloudimg-arm64.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.10/release/ubuntu-24.10-server-cloudimg-riscv64.img
Image location is up-to-date: https://cloud-images.ubuntu.com/releases/24.10/release/ubuntu-24.10-server-cloudimg-armhf.img
Processing templates/ubuntu-lts.yaml
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-amd64.img",
"arch": "x86_64",
"digest": "sha256:fad101d50b06b26590cf30542349f9e9d3041ad7929e3bc3531c81ec27f2c788"
}
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-arm64.img",
"arch": "aarch64",
"digest": "sha256:e380b683b0c497d2a87af8a5dbe94c42eb54548fa976167f307ed8cf3944ec57"
}
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-riscv64.img",
"arch": "riscv64",
"digest": "sha256:d2f487bdb549ace693c8115dbc674746e3f8f7c7121b1f66216146e742dbb514"
}
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-armhf.img",
"arch": "armv7l",
"digest": "sha256:d5bf53f8e4a8cf6209e43fe0d894c87ba5e1e9f7f907a76cf14f71eb4446a899"
}
Processing templates/ubuntu.yaml
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-amd64.img",
"arch": "x86_64",
"digest": "sha256:fad101d50b06b26590cf30542349f9e9d3041ad7929e3bc3531c81ec27f2c788"
}
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-arm64.img",
"arch": "aarch64",
"digest": "sha256:e380b683b0c497d2a87af8a5dbe94c42eb54548fa976167f307ed8cf3944ec57"
}
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-riscv64.img",
"arch": "riscv64",
"digest": "sha256:d2f487bdb549ace693c8115dbc674746e3f8f7c7121b1f66216146e742dbb514"
}
{
"location": "https://cloud-images.ubuntu.com/releases/24.04/release-20241004/ubuntu-24.04-server-cloudimg-armhf.img",
"arch": "armv7l",
"digest": "sha256:d5bf53f8e4a8cf6209e43fe0d894c87ba5e1e9f7f907a76cf14f71eb4446a899"
} |
update-template-ubuntu.sh ubuntu-24.04.yaml ubuntu-24.10.yaml
should automatically detect the distro version for the each of the templates.The text was updated successfully, but these errors were encountered: