-
Notifications
You must be signed in to change notification settings - Fork 65
Switch GHA runners to Ubuntu 24.04 #2242
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
Switch GHA runners to Ubuntu 24.04 #2242
Conversation
e9c5ae1 to
6f2830c
Compare
76a62c1 to
9ffa5e7
Compare
Ubuntu 24.04 is about to the version deployed with ubuntu-latest. This commit is to start using it and validating it before the actual change happens. Signed-off-by: David Cassany <[email protected]>
Ubuntu 24.04 ships podman v4 which fixes a v3 issue on loading images. With v4 loaded images keep the image name if present. Signed-off-by: David Cassany <[email protected]>
618bfc8 to
56722ea
Compare
| tag=${img##*:} | ||
| imgID=$(podman images -n | grep "${tag}" | awk '{print $3}' | head -n1) | ||
| podman tag "${imgID}" "${reg_img}" | ||
| podman tag "${img}" "${reg_img}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be simplified thanks to podman v4 included in Ubuntu 24.04. On v3 podman load was not keeping the name of the loaded image and we had to discover the new one somehow. Podman v4 addresses this behavior and keeps the original name.
fgiudici
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good here
| if [ "${ELMNTL_DEBUG}" == "yes" ]; then | ||
| qemu-system-${ELMNTL_TARGETARCH} ${kvm_arg} ${disk_arg} ${cdrom_arg} ${global_arg} ${firmware_arg} \ | ||
| ${usrnet_arg} ${kvm_arg} ${memory_arg} ${graphics_arg} -serial stdio ${pidfile_arg} \ | ||
| ${usrnet_arg} ${memory_arg} ${graphics_arg} -serial stdio ${pidfile_arg} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kvm_arg arguments were included twice. See this is already present in the line above.
Ubuntu 24.04 is about to the version deployed with ubuntu-latest. This commit is to start using it and validating it before the actual change happens.