Commit Graph

27462 Commits

Author SHA1 Message Date
Jannik Glückert
b0cb2bb011 fix ssh config parsing for HostName
A later invocation to url.Parse() needs a preceding scheme,
otherwise the hostname just gets discarded.

Fixes #25067

Signed-off-by: Jannik Glückert <jannik.glueckert@gmail.com>
Signed-off-by: KILA <32559459+kila-star1127@users.noreply.github.com>
2026-06-05 18:10:07 +00:00
Mario Loriedo
138879058b Merge pull request #28843 from kolyshkin/should-include-tests
ci: fix validate-source checks vs stale labels
2026-06-05 19:23:44 +02:00
Mario Loriedo
3ab25801a8 Merge pull request #28867 from ashley-cui/relauto
Release automation: update org location
2026-06-05 19:04:41 +02:00
Paul Holzinger
312fed2bc9 Merge pull request #28872 from l0rd/update-repo-in-pwsh
Update the GitHub org from which releases are pulled in PowerShell scripts
2026-06-05 19:00:23 +02:00
Mario Loriedo
ff9f192f4d Update gh org from which releases are pulled in pswh scripts
Use https://api.github.com/repos/podman-container-tools/podman/releases.

That may eventually fix
https://github.com/podman-container-tools/podman/issues/28850 based on
https://docs.github.com/en/actions/concepts/security/github_token:

> The token's permissions are limited to the repository that contains your
> workflow.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-05 18:35:41 +02:00
Paul Holzinger
fd9ca9d1f6 Merge pull request #28862 from podman-container-tools/renovate/actions-checkout-6.x
[skip-ci] Update actions/checkout action to v6.0.3
2026-06-05 18:15:22 +02:00
Paul Holzinger
486bacd3e4 Merge pull request #28335 from axel7083/refactor/quadlet-applications
refactor: podman quadlet sub-command
2026-06-05 17:55:51 +02:00
Brent Baude
ca780164e5 Merge pull request #28869 from podman-container-tools/renovate/github.com-mattn-go-sqlite3-1.x
Update module github.com/mattn/go-sqlite3 to v1.14.45
2026-06-05 08:48:09 -05:00
Ashley Cui
c0f582d734 Release automation: update org location
containers -> podman-container-tools

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-05 09:22:33 -04:00
renovate[bot]
2b079d8f69 Update module github.com/mattn/go-sqlite3 to v1.14.45
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-05 12:55:53 +00:00
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
renovate[bot]
dbd7b4c138 [skip-ci] Update actions/checkout action to v6.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 19:13:23 +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
Kir Kolyshkin
d05c113acd ci: fix validate-source checks vs stale labels
When the validate-source job is re-run manually after adding a label,
it uses stale labels (from the "pull_request" event that originally
triggered it), and so the steps that check labels don't see new labels.

Fix by querying the labels live (similar to how it was done before
commits 6e597af6dc and 1da154117c).

Note the logic differs slightly between hack/ci/make-and-check-size.sh
and hack/ci/pr-should-include-tests. This is because
pr-should-include-tests is also executed locally as well as on non-PRs,
while make-and-check-size is run strictly in CI for PRs only.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-06-03 11:44:07 -07: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