Commit Graph

25098 Commits

Author SHA1 Message Date
Ashley Cui 10349a46c4 Trigger podman.io version bump from release action
Our release is created by a GitHub action, and GitHub prevents workflows from running on events that were caused by other workflows to prevent unlimited recursion.
To get around this, use a reusable workflow to trigger the podman.io version bump from the release action.

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-06-02 14:31:12 -04:00
Ashley Cui bbed5a8e2e Update RELEASE_PROCESS.md
We've added a bunch of new automation to make releases easier. Update RELEASE_PROCESS.md to reflect the changes.

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-06-02 14:31:00 -04:00
openshift-merge-bot[bot] 238101d57c
Merge pull request #26226 from openshift-cherrypick-robot/cherry-pick-26209-to-v5.5
[v5.5] Recreate the Rootfs in mountStorage for infra-container.
2025-05-28 17:35:17 +00:00
Jan Kaluza 25e59c7dd2 Recreate the Rootfs in mountStorage for infra-container.
After the system reboot, the Rootfs for infra-container can
be removed. This can happen when it is stored on tmpfs.

This commit recreates the infra-container directory which is
used for Rootfs for infra-container before mounting it.

Fixes: #26190

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2025-05-28 14:38:56 +00:00
openshift-merge-bot[bot] 0eaa16a58d
Merge pull request #26164 from openshift-cherrypick-robot/cherry-pick-26162-to-v5.5
[v5.5] libpod: fix mount order for "/" volume
2025-05-20 17:50:26 +00:00
Paul Holzinger bcada3ec09 libpod: fix mount order for "/" volume
The count function for / and /proc results in the same value so the
order is not guaranteed. We must ensure that a / mount is always first
in the spec so that other mounts are not overshadowed by it.

Fixes: #26161

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-20 16:59:30 +00:00
openshift-merge-bot[bot] a71ce364cd
Merge pull request #26144 from ashley-cui/5.5fix
[v5.5] GHA Release: Fix windows installer uploads
2025-05-15 15:10:04 +00:00
Ashley Cui c2a8447e1f GHA Release: Fix windows installer uploads
The new arm and amd installers were left behind, upload them automatically to the GH release

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-15 10:05:39 -04:00
openshift-merge-bot[bot] 48d3bcb2ec
Merge pull request #26138 from openshift-cherrypick-robot/cherry-pick-26137-to-v5.5
[v5.5] fix macos compile issue with go 1.24.3
2025-05-14 21:15:18 +00:00
openshift-merge-bot[bot] d7d1b4f194
Merge pull request #26132 from podmanbot/bump-5.5.1-dev
Bump Podman to v5.5.1-dev
2025-05-14 18:26:39 +00:00
Paul Holzinger 5a647f154e fix macos compile issue with go 1.24.3
Some changes in go broke purego and that causes a compile error on
macos. This update fixes it.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-14 17:59:41 +00:00
mheon 5141374193 Bump Podman to v5.5.1-dev
Signed-off-by: mheon <7735048+mheon@users.noreply.github.com>
2025-05-14 14:58:36 +00:00
openshift-merge-bot[bot] f6c781ba8f
Merge pull request #26126 from mheon/bump_550
Bump to v5.5.0
2025-05-14 13:58:35 +00:00
Matt Heon 0dbcb51477
Bump to v5.5.0
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-05-13 14:59:13 -04:00
openshift-merge-bot[bot] d0d4a79d9e
Merge pull request #26122 from mheon/release_notes_550
Add release notes for v5.5.0
2025-05-13 15:56:56 +00:00
Matt Heon 712291aee8 Update release notes for v5.5.0 final
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-05-13 11:24:28 -04:00
Sergio Lopez 37f621579b Bump bundled krunkit to 0.2.1
Bump the bundled krunkit version from 0.2.0 to 0.2.1.

Signed-off-by: Sergio Lopez <slp@redhat.com>
2025-05-13 11:18:04 -04:00
Paul Holzinger ab71cebe95
Merge commit from fork
[skip-ci] [v5.5] Tighten version match
2025-05-12 15:54:30 +02:00
Ashley Cui 5ad243a7da [skip-ci] Tighten version match
Tighten the regex needed to match a valid version.

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-12 09:43:17 -04:00
openshift-merge-bot[bot] 61f170ad00
Merge pull request #26096 from l0rd/win-arm64-for-5.5
[v5.5] Add Windows ARM64 support
2025-05-08 10:53:36 +00:00
openshift-merge-bot[bot] e32633094f
Merge pull request #26093 from openshift-cherrypick-robot/cherry-pick-25722-to-v5.5
[v5.5] Fix machines failing to start when a volume's path contains spaces
2025-05-08 09:36:38 +00:00
Mario Loriedo 66283624bd Update win-installer github job for arm64
Adds the build of the arm64 windows installer as part of the release
GitHub workflow.

When a Windows installer is uploaded to the GitHub release, it is named
consistently with the macOS one:

   `podman-installer-windows-${GOARCH}.exe`

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:48:25 +02:00
Mario Loriedo eecb4122f7 Build windows arm64 artifacts
Includes the necessary changes so that the `Makefile` target
`release-artifacts` builds the `-windows_arm64.zip` too.

In particular the arm64 versions of gvproxy and win-sshproxy
are downloaded as part of the windows arm64 release zip file.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:48:10 +02:00
Mario Loriedo 04ee90dab3 Fix windows arm64 installer build
This is a followup of https://github.com/containers/podman/pull/26048

It fixes `process-release.ps1` that was always looking for the amd64 release
zip file, even if `$env:PODMAN_ARCH` was set to arm64. With this fix it looks
for the right zip file.

It fixes `winmake.ps1` that, when the `-arch` param was not passed, set `$env:PODMAN_ARCH`
to the empty string instead of the local `$env:GOARCH`.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:47:55 +02:00
Mario Loriedo 0dd745c86b Update winmake.ps1 to build arm64 artifacts
Winmake could only build amd64 artifacts (podman-remote, gvproxy,
win-sshproxy, podman.msi and podman-setup.exe).

This commit makes the necessary change to winmake so that it:
1) builds arm64 artifacts when executed on arm64
2) cross-compiles to arm64/amd64 with the  `-architecture` parameter

It depends on https://github.com/containers/podman/pull/26023 that
removes the need to build `check.c` code (that is not used anyway).

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:46:29 +02:00
Mario Loriedo df4aed78a2 Remove providers checks from the Windows Installer
This PR removes the file `check.c` and the instructions
to build it. The file was still built but the resulting
dll was not used by the installer anymore (see
https://github.com/containers/podman/pull/25237).

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-08 10:45:42 +02:00
Arthur Sengileyev 366538d98f Update "check.c" to be C23 compliant
Fixes compilation errors with GCC 15.

Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
2025-05-08 10:45:30 +02:00
openshift-merge-bot[bot] 538bf54648
Merge pull request #26095 from baude/5.5gvisor
[v5.5] Update to gvisor-tap-sock-0.8.6
2025-05-08 08:06:07 +00:00
Brent Baude 5f59c8853a Update to gvisor-tap-sock-0.8.6
A new gvisor-tap-vsock has recently been released.  This PR is a
backport to the podman 5.5 branch (i.e. release came out after 5.5
branched but before it released).  This new version, among other things,
fixes a bug for gvproxy wheer if gvproxy is run with debug, it will try
to create a file in `cwd`.  If the user does not have permissions to
create the file in `cwd`, gvproxy will quit (silently).

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-05-07 13:08:23 -05:00
Mario Loriedo d358e91817 Fix running machines with volumes containing spaces
Machines configured to mount local paths containing
spaces failed to start on Hyper-V and silently failed
to mount the folder on macOS/Linux.

On Windows/hyperv, where local paths are mounted
running a 9p client inside the VM, the local host
path needs to be surrounding with quotation marks
before using in a `podman machine ssh ...` command.

A similar behavior happened on Linux/QEMU where the
path was used in a SSH command to mount the folder
using virtiofs. Quoting the path when buidling the
command arguments fixed the problem.

On macOS/libkit,applehv the path was written as is
in a systemd unit name to instruct how to mount it.
Escaping space chars so that they are are parsed
successfully fixed this:
```diff
-- enable path with spaces.mount
++ enable path\x20with\x20spaces.mount
```

Fixes https://github.com/containers/podman/issues/25500

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-07 17:22:40 +00:00
Mario Loriedo 4cb4d121a6 Fix logging podman machine server9 output
Command `podman machine init` for Hyper-V machines invokes the command
`podman machine server9` and redirects it's output to a file. But the
file descriptor was closed before beeing used and the output file was
always empty.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-07 17:22:40 +00:00
openshift-merge-bot[bot] 2295f60ea8
Merge pull request #26084 from openshift-cherrypick-robot/cherry-pick-25861-to-v5.5
[v5.5] update podman socket output to include also exposed ports
2025-05-07 09:30:47 +00:00
Cesar Goncalves 82a1a22711 update podman socket output to include also exposed ports
Fixes https://github.com/containers/podman/issues/25851

Co-authored-by: Brent Baude <bbaude@redhat.com>
Signed-off-by: Cesar Goncalves <mail@cesargoncalves.com>
2025-05-06 20:24:36 +00:00
openshift-merge-bot[bot] bd09511cee
Merge pull request #26080 from openshift-cherrypick-robot/cherry-pick-26059-to-v5.5
[v5.5] Automatically bump to -dev after tag
2025-05-06 14:36:53 +00:00
Ashley Cui 45c9223be9 Automatically bump to -dev after tag
Create GitHub action to automatically bump to a -dev version after a release is tagged.

On a branch:
- The bump will always be a z bump on branches
- If the bump is to an RC, then the bump will be back down to dev (ie, 9.9.0-rc1 to 9.9.0-dev)
- If the bump is not an RC, the bump wil be up to dev (ie, 9.9.0 to 9.9.1-dev)

On main:
- If the X.Y version on main is smaller than the X.Y on the release tag, this action will open a PR to bump the version on main to the release tag's X.Y+1
- Major version (X) dev bumps will still need to be manual

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-06 14:03:09 +00:00
openshift-merge-bot[bot] 6c18255573
Merge pull request #26049 from openshift-cherrypick-robot/cherry-pick-26022-to-v5.5
[v5.5] test: use block devices for I/O limit tests
2025-05-02 10:55:31 +00:00
Giuseppe Scrivano 27beb100dc ci: Load null_blk for I/O limit tests
Load the `null_blk` kernel module to have the `/dev/nullb0` device
available for the tests.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-05-02 10:14:29 +00:00
Giuseppe Scrivano b85c312bc6 test/e2e: Use nullb0 for IO limit tests
The tests for device I/O limits were using `/dev/zero`,
which is not a block device suitable for these cgroup
controls.

Update the tests to use `/dev/nullb0` if it exists.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-05-02 10:14:29 +00:00
Giuseppe Scrivano 1c82abd17b test/system: Use correct device for I/O limit tests
The tests were incorrectly using `/dev/zero`.  These options are
intended to set I/O limits on specific block devices.

The test already sets up a loopback device, so reuse it.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-05-02 10:14:29 +00:00
Giuseppe Scrivano 6bc2393df0 inspect: Ignore character devices for IO limits
Cgroup block I/O limits cannot be applied to character devices.

Ignore character devices in the inspect output.

Update the API tests to use the null block device `/dev/nullb0` (if
available) instead of `/dev/zero` for testing I/O limits.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-05-02 10:14:29 +00:00
openshift-merge-bot[bot] 52eb2dcca2
Merge pull request #26043 from mheon/bump_550_dev_rc2
Bump to v5.5.0-dev
2025-05-01 14:58:23 +00:00
Matt Heon ca382b1c8e Bump to v5.5.0-dev
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-05-01 08:52:37 -04:00
openshift-merge-bot[bot] bbda2d8e74
Merge pull request #26032 from mheon/bump_550_rc2
Bump to v5.5.0-rc2
2025-05-01 10:31:14 +00:00
Matt Heon 3c4cf52142
Bump to v5.5.0-rc2
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-04-30 15:11:26 -04:00
openshift-merge-bot[bot] 52e1c96c4a
Merge pull request #26030 from mheon/release_notes_550_rc2
Update release notes for v5.5.0-rc2
2025-04-30 18:58:26 +00:00
Matt Heon c7ad64cedc Update release notes for v5.5.0-rc2
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-04-30 14:02:08 -04:00
Jake Correnti 3f43df2bdb Handle signal preventing Start from completing
In the instance where the user sends a signal, such as SIGINT (Ctl-c)
when a Podman Machine is in the middle of starting, make sure the state
doesn't get stuck in the "Currently Starting" status.

Resolves: #24416

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2025-04-30 14:02:08 -04:00
Ashley Cui 1ea17b6fdd Fix mach os pr release action
- Remove branch restrictions
- Do not open PR on main
- Add release note to PR

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-04-30 14:02:08 -04:00
openshift-merge-bot[bot] 4443186f1d
Merge pull request #26024 from openshift-cherrypick-robot/cherry-pick-26015-to-v5.5
[v5.5] Makefile: move some Go-related variable definitions up
2025-04-30 15:03:40 +00:00
openshift-merge-bot[bot] 760a8760c9
Merge pull request #26013 from openshift-cherrypick-robot/cherry-pick-26010-to-v5.5
[v5.5] pkg/bindings: fix infinite loop/memory leak in image pull
2025-04-30 12:34:47 +00:00