Commit graph

27449 commits

Author SHA1 Message Date
Giuseppe Scrivano
2c7acfbbdb
Merge pull request #28866 from Luap99/test-login-logout
test/e2e: fix flake in login tests and small cleanup
2026-06-05 14:45:29 +02:00
Paul Holzinger
1eda0cfbb4
test/e2e: fix flake in login tests
By default we run tests in parallel so when we mount test/certs with the
":Z" option it means only one container can read it, depending on the
startup times this can mean the container fails to start. I observed
this error in a CI run:

level=fatal msg="open /certs/domain.crt: permission denied"

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-05 13:06:26 +02:00
Paul Holzinger
88a32272b7
test/e2e: do not call out to htpasswd/cp in registry tests
Because we use hard coded names anyway we might as well skip the extra
command execution here that happened for each test.

Just inline a valid htpasswd line. Also remove the extra sync call,
there is no reason whatsoever for this file to be synced.

For cp there is also no reason at all to call an external command. Worse
the command also was never checked for errors.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-05 13:02:17 +02:00
Paul Holzinger
65abd4ea6c
Merge pull request #28865 from podman-container-tools/renovate/macos-26.x
Update dependency macos to v26
2026-06-05 12:08:06 +02:00
renovate[bot]
821ab5493a
Update dependency macos to v26
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 22:49:32 +00:00
Brent Baude
93bc51e7cc
Merge pull request #28858 from mheon/danishprakash_to_maintainer
Move Danish Prakash to Maintainer
2026-06-04 14:03:56 -05:00
Miloslav Trmač
31544e1f10
Merge pull request #28852 from l0rd/more-gh-token-in-webrequest
Set permissions for win installer CI job
2026-06-04 18:50:29 +02:00
Paul Holzinger
8502475211
Merge pull request #28840 from Luap99/governance
Governance: better define github permission setup
2026-06-04 16:39:22 +02:00
Matt Heon
fe3695b78d Move Danish Prakash to Maintainer
Given his continued contributions and valuable support with PRs,
issue triage, and code review, this is well-deserved.

Signed-off-by: Matt Heon <mheon@redhat.com>
2026-06-04 10:30:27 -04:00
Paul Holzinger
0cb16919b3
Merge pull request #28819 from podman-container-tools/renovate/github.com-shirou-gopsutil-v4-4.x
Update module github.com/shirou/gopsutil/v4 to v4.26.5
2026-06-04 15:20:46 +02:00
Mario Loriedo
9c7ad74ede Set permissions for win installer CI job
Explicitly set `content: read` permissions so that the GITHUB_TOKEN type
have permissions to "Get a release".

Fixes https://github.com/podman-container-tools/podman/issues/28850

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-04 12:25:24 +02:00
Jan Rodák
5992898b3b
Merge pull request #28708 from podman-container-tools/renovate/zizmorcore-zizmor-action-0.x
[skip-ci] Update zizmorcore/zizmor-action action to v0.5.6
2026-06-04 11:09:17 +02:00
renovate[bot]
23ebddbee1
[skip-ci] Update zizmorcore/zizmor-action action to v0.5.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 09:01:31 +00:00
Paul Holzinger
3caa80eb73
Merge pull request #28848 from jelly/dont-mention-martinpitt
packit: Stop notifying martinpitt for Cockpit test failures
2026-06-03 21:22:26 +02:00
Jelle van der Waa
60f8d2fd2f packit: Stop notifying martinpitt for Cockpit test failures
Martin left Red Hat and is no longer active in Cockpit development.

Signed-off-by: Jelle van der Waa <jvanderwaa@redhat.com>
2026-06-03 20:38:20 +02:00
Paul Holzinger
2d369caca7
Merge pull request #28823 from inknos/run-4472
machine: share virtiofs systemd unit generation
2026-06-03 19:13:51 +02:00
Paul Holzinger
fab963e01c
Merge pull request #28693 from kolyshkin/change-label
bump selinux to v1.15.1, use SetProcessKind
2026-06-03 18:42:58 +02:00
Paul Holzinger
394af2ebad
Governance: rename Github -> GitHub
As suggested by Tom, by rename Github to the more common spelling
GitHub.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-03 18:40:09 +02:00
Paul Holzinger
8ba16c8567
Governance: better define github permission setup
Define the team rules we already used before, this makes it explicitly
how the users should be given their access.
In short we should add users to the github teams and not add them
individually to the repos.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-03 18:39:37 +02:00
renovate[bot]
fff499b14a
Update module github.com/shirou/gopsutil/v4 to v4.26.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-03 16:07:56 +00:00
Paul Holzinger
5e0df74d6d
Merge pull request #28847 from pksadiq/docs-systemd-fix-typo
docs(podman-systemd.unit.5.md): fix a typo
2026-06-03 17:57:12 +02:00
Paul Holzinger
55bb61f278
Merge pull request #28844 from nimdrak/rephrase_troubleshooting_docs
docs: redirect version check to GitHub Releases page
2026-06-03 17:36:24 +02:00
Mohammed Sadiq
4af93ba05a docs(podman-systemd.unit.5.md): fix a typo
systemd container user path should be 'users'.  Not 'user'

Signed-off-by: Mohammed Sadiq <sadiq@sadiqpk.org>
2026-06-03 20:46:11 +05:30
Brent Baude
e32fc614df
Merge pull request #28800 from danishprakash/remote-log-path
specgen: move log_path handling over to the server
2026-06-03 08:59:54 -05:00
Matt Heon
fec573f672
Merge pull request #28801 from giuseppe/commit-pause-by-default
cmd, commit: change --pause default to true
2026-06-03 09:43:44 -04:00
Byounguk Lee
5cd4dc4225 docs: redirect version check to latest GitHub release page
The bug reporting instructions previously asked users to compare
their Podman version with the one documented at the top of the README.

This commit updates the issue templates and troubleshooting guide to
point users directly to the latest GitHub release page instead.
Additionally, the obsolete .github/ISSUE_TEMPLATE.md file is removed.

Fixes: #28818

Signed-off-by: Byounguk Lee <nimdrak@gmail.com>
2026-06-03 11:07:10 +00:00
Giuseppe Scrivano
1a76d464fd
cmd, commit: change --pause default to true
Pause the container by default during commit.  It is safer as it
avoids conflicts, and potentially security issues, when another
process is accessing the container rootfs.

Originally this was not done because it was a breaking change and
rootless containers weren't able to use the freezer cgroup controller.
Now that we support only cgroup v2, there is no gap anymore with
root (exotic configurations can still use --pause=false).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2026-06-03 07:28:22 +02:00
Giuseppe Scrivano
1c2a2ffe87
cmd, commit: register shutdown handler to unpause container
When --pause defaults to true, a Ctrl-C during commit would leave the
container paused.  Register a shutdown handler that unpauses the
container on SIGINT/SIGTERM so it is always restored to its running
state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2026-06-03 07:28:22 +02:00
Giuseppe Scrivano
db804fb1b9
cmd, commit: also pause stopping containers during commit
ContainerStateStopping is still a running state where processes are
active, so it should also be paused during commit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2026-06-03 07:28:18 +02:00
Danish Prakash
bad0a715ee
specgen: move log_path handling over to the server
log_path is currently set at the client side and is ignored by
the server in a remote session. This leads to either incorrect log_path
being considered by the server or not honored at all. Move the handling
from client to the server, in line with other flags such as log_driver.

Signed-off-by: Danish Prakash <contact@danishpraka.sh>
2026-06-03 09:22:50 +05:30
Paul Holzinger
9e13b9ea52
Merge pull request #28841 from Luap99/validate-push
ci: fix validate job to actually work on push
2026-06-02 21:23:21 +02:00
Ashley Cui
c966462ff8
Merge pull request #28839 from timcoding1988/update-github-ci-badges
docs: switch CI status badges from Cirrus to GitHub Actions
2026-06-02 14:57:57 -04:00
Kir Kolyshkin
ad7b6be2b9 bump selinux to v1.15.1, use SetProcessKind
I was not able to find any external users of pkg/selinux but kept it
for now (and marked as deprecated) so we can remove it later.

PS pkg/selinux adds go:fix directives which are not (yet) recognized
by the gocheckcompilerdirectives linter, so add a temporary exception).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-06-02 11:18:34 -07:00
Paul Holzinger
602a803f57
ci: fix validate job to actually work on push
We need to not hard depend on the pull_request var contexts so use the
right alternatives. The PR_ envs can be left empty, the tests using them
should skip the checks if they are unset/empty.

Fixes: #28825

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-02 19:50:37 +02:00
Matt Heon
fde307e0dd
Merge pull request #28812 from bit-hope/improvements-for-libpod
Some improvements for libpod
2026-06-02 11:17:42 -04:00
Tim Zhou
bc4bb12bb3 docs: switch CI status badges from Cirrus to GitHub Actions
Signed-off-by: Tim Zhou <tizhou@redhat.com>
2026-06-02 10:51:52 -04:00
Ashley Cui
dbad79d8bc
Merge pull request #28836 from Luap99/flakes
test/system: two more flake fixes
2026-06-02 09:04:47 -04:00
Nicola Sella
d6cf6e8495
machine: share virtiofs systemd unit generation
Make GenerateSystemDFilesForVirtiofsMounts an agnostic function
and move the code from apple to pkg/machine/volume_systemd.go

MountVolumesToVM  is now a no-op matching the AppleHV and
LibKrun behaviour.

Continues from PR: https://github.com/podman-container-tools/podman/pull/28736

Fixes: https://redhat.atlassian.net/browse/RUN-4742

Signed-off-by: Nicola Sella <nsella@redhat.com>
2026-06-02 14:47:08 +02:00
zhongchunhe.zch
af563a9a10 Some improvements for libpod.
Signed-off-by: zhongchunhe.zch <zhongchunhe.zch@qq.com>
2026-06-02 19:02:38 +08:00
Jan Rodák
9cef14899f
Merge pull request #28832 from ashley-cui/ci
CI: Adjust Mac tmpdir
2026-06-02 11:55:45 +02:00
Paul Holzinger
13bf771656
Merge pull request #28835 from Luap99/by-cirrus
Goodbye Cirrus
2026-06-02 10:32:22 +02:00
Paul Holzinger
c1ffafe5b7
test/system: fix "quadlet kube - start error" flake
The test flakes on the socat pid kill when the pid already exited.
Because the timeout is just 10s we can just bump it to something loinger
to ensure the process is still alive when we kill it. Also move it up a
bit so the kill happens earlier.

I observed multiple time failing with test times of 11s+. This should be
enough to make it work properly.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 21:02:30 +02:00
Paul Holzinger
48594b61c8
test/system: fix can trap signal flake
In the new CI with run with many parallel jobs (8) and that is messing
up timings a fair but, any command might take unexpected long to
scheduling delays and lock holding by other tests.

Any test doing a podman ps -a while need to take all container locks
for example and that then can delay the stop command an unknown amount
of time, bump the timeout to 8 and use a higher stop timeout so we are
still testing that we exit before the wait timeout is reached.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 20:58:37 +02:00
Paul Holzinger
3743b9f806
Goodbye Cirrus
Removing remaining cirrus specific files that we no longer use in the
new CI setup.

Fixes: #28829

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 20:34:27 +02:00
Paul Holzinger
66e7c06073
validate ci.yml file
Add some basic test checks for the new ci.yml to ensure all job
dependencies are set up right.

We can expand this with more checks later.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 20:34:27 +02:00
Paul Holzinger
c4d895b07c
ci: add path-filter to success job
It is not strictly needed I think since other jobs depend on this
already but for consistency this is easier to check that success waits
for all jobs.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 20:34:27 +02:00
Ashley Cui
2984c2450b CI: Adjust Mac tmpdir
Makes for easier cleanup, and follows previous cirrus convention.

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-01 13:24:35 -04:00
Jan Rodák
0f2d396d96
Merge pull request #28821 from Luap99/new-ci
New gh actions CI system
2026-06-01 19:00:38 +02:00
Paul Holzinger
3faf2deaf8
ci: skip validate-source on push
The checkout needs the PR context so this fails on push, as such skip it
there for now until we make this work to also work on normal pushes.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 17:00:17 +02:00
Paul Holzinger
0fce332955
ci: add GITHUB_TOKEN to win installer test
The test uses the token for API request so we do not get rate limit
failures without a token, see commit 7c7d56a0fb.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 17:00:17 +02:00