Skip to content

Conversation

@davidcassany
Copy link
Contributor

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.

@davidcassany davidcassany requested a review from a team as a code owner December 12, 2024 08:30
@davidcassany davidcassany force-pushed the switch_runners_to_24.04 branch from e9c5ae1 to 6f2830c Compare December 12, 2024 08:49
@davidcassany davidcassany marked this pull request as draft December 12, 2024 10:46
@davidcassany davidcassany force-pushed the switch_runners_to_24.04 branch 19 times, most recently from 76a62c1 to 9ffa5e7 Compare December 13, 2024 09:56
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]>
@davidcassany davidcassany force-pushed the switch_runners_to_24.04 branch from 618bfc8 to 56722ea Compare December 13, 2024 10:15
@davidcassany davidcassany marked this pull request as ready for review December 13, 2024 10:18
tag=${img##*:}
imgID=$(podman images -n | grep "${tag}" | awk '{print $3}' | head -n1)
podman tag "${imgID}" "${reg_img}"
podman tag "${img}" "${reg_img}"
Copy link
Contributor Author

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.

Copy link
Contributor

@fgiudici fgiudici left a 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} \
Copy link
Contributor Author

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.

@davidcassany davidcassany merged commit 9a1892b into rancher:main Dec 13, 2024
28 checks passed
@davidcassany davidcassany deleted the switch_runners_to_24.04 branch December 13, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants