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

Switch to podman-static for podman installation #6295

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

bduffany
Copy link
Member

@bduffany bduffany commented Apr 3, 2024

Switch from alvistack to a fork of https://github.com/mgoltzsche/podman-static (the fork lives at https://github.com/buildbuddy-io/podman-static). Also bump the podman version to v4.9.4, since this repo appears to be missing 4.9.1 (but otherwise has a good track record of releasing new versions frequently).

This has multiple benefits:

  • Includes linux amd64 as well as arm64 builds (alvistack does not)
  • Is open source (I could not find the source code for the alvistack debian packaging)
  • Has a stable version history so far (alvistack only retains a small number of the most recent podman versions)
  • Is portable and has no external deps (due to being statically linked) and has easy/fast installation, which means we can improve how we run our podman integration tests. Specifically we can have podman_test extract the tar under / before running the test, so that we're always testing the podman version at the current git commit, rather than depending on an outdated executor image that doesn't reflect the current podman version. See the conversation here. (We could in theory do something similar with alvistack, but it would be significantly slower and more complicated.)
  • Results in a slightly smaller executor image size (reduces the current image size from 1.19GB => 1.09GB)

This repo seems to be well-maintained. It is missing podman v5+ builds but v5 has only been out for a couple of weeks.

Tested in dev with some basic actions, and we'll also have this week to do more testing.

Related issues: N/A

@bduffany bduffany marked this pull request as draft April 4, 2024 13:53
@bduffany bduffany changed the title Update podman installation method Switch to podman-static for podman installation Apr 5, 2024
@bduffany bduffany marked this pull request as ready for review April 5, 2024 14:00
@bduffany bduffany merged commit e138c5d into master Apr 5, 2024
15 of 17 checks passed
@bduffany bduffany deleted the podman-static branch April 5, 2024 19:13
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.

None yet

2 participants