25205 Commits

Author SHA1 Message Date
5fef6b714d Merge pull request #26116 from inknos/compat-post-containers-create-cgroupsnsmode
compat: Add CgroupnsMode to POST /containers/create
2025-05-15 18:20:38 +00:00
3bf3d869b6 Merge pull request #26127 from martinetd/restart-hooks
podman: remember hooks-dir on restarts
2025-05-15 14:18:30 +00:00
9dcff99d59 Merge pull request #26124 from Luap99/nilness
fix issues found by nilness
2025-05-15 14:02:03 +00:00
b82f2962c3 compat: Add CgroupnsMode to POST /containers/create
Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-05-15 15:31:16 +02:00
ee283c7514 Merge pull request #26141 from containers/renovate/setuptools-80.x
Update dependency setuptools to ~=80.7.1
2025-05-15 09:59:03 +00:00
06ddffc81d Update dependency setuptools to ~=80.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 09:29:59 +00:00
c983430aa0 Merge pull request #26140 from ashley-cui/winrel
Update release action
2025-05-15 09:12:18 +00:00
6579913a07 Merge pull request #26131 from siteshwar/disable-osh
Packit: disable OpenScanHub scans
2025-05-15 09:09:32 +00:00
90ee7c86a3 podman: remember hooks-dir on restarts
When podman restarts config values within the Engine are lost.
Add --hook-dirs arguments as appropriate to the cleanup command
so that hooks are preserved on restarts due to the on-restart setting

Tests: add a check that prestart/poststop hooks ran every time after 2
restarts.
`wait_for_restart_count` was re-used to wait for restarts and moved to
helpers file.

Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
Fixes: #17935
2025-05-15 14:23:22 +09:00
53f118d135 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-14 16:09:26 -04:00
3e08c2abf0 Revert "GHA: Pin Go to 1.24.2"
This reverts commit fb9ef0dda0041cc34246f395991bac4e1220d9fe.
Use latest stable go to build release artifacts.

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-14 16:08:33 -04:00
571a2e48c9 Merge pull request #26137 from Luap99/purego
fix macos compile issue with go 1.24.3
2025-05-14 17:59:02 +00:00
db65baaa21 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 18:11:55 +02:00
206d92c25f Packit: disable OpenScanHub scans
Re-enabling them can be considered in the future if OpenScanHub starts
scanning Go code.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2025-05-14 17:55:33 +02:00
f1b457729f Merge pull request #26133 from ashley-cui/gha
GHA: Pin Go to 1.24.2
2025-05-14 15:37:49 +00:00
fb9ef0dda0 GHA: Pin Go to 1.24.2
There is a bug that makes building with the latest go to fail. Pin to 1.24.2 for now.

Signed-off-by: Ashley Cui <acui@redhat.com>
2025-05-14 11:08:25 -04:00
863621ee5a Merge pull request #26123 from containers/renovate/github.com-vbauerster-mpb-v8-8.x
fix(deps): update module github.com/vbauerster/mpb/v8 to v8.10.1
2025-05-13 16:57:50 +00:00
fe84fbae72 fix(deps): update module github.com/vbauerster/mpb/v8 to v8.10.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-13 15:58:27 +00:00
637c264e2e fix issues found by nilness
The conditions are always true so they can be removed. And in the case
of exportCheckpoint() the scope means addToTarFiles was overwritten and
thus when it looped over it later the slice was always empty.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-13 17:20:10 +02:00
76e11cf5fc Merge pull request #25608 from containers/renovate/github.com-crc-org-vfkit-0.x
fix(deps): update module github.com/crc-org/vfkit to v0.6.1
2025-05-13 12:19:13 +00:00
1cc6b5c1cc Merge pull request #26119 from slp/update-krunkit-0.2.1
Bump bundled krunkit to 0.2.1
2025-05-13 10:33:56 +00:00
9938feb356 Merge pull request #25537 from containers/renovate/github.com-rootless-containers-rootlesskit-v2-2.x
fix(deps): update module github.com/rootless-containers/rootlesskit/v2 to v2.3.5
2025-05-13 10:03:37 +00:00
a1ac6c33cc Merge pull request #26113 from ygalblum/quadlet-pod-name
Quadlet - restore pod name to not use systemd specifiers
2025-05-12 23:22:28 +00:00
cbcb777920 Merge pull request #26112 from siteshwar/fix-shellcheck
Fix a shellcheck warning about word splitting
2025-05-12 23:19:42 +00:00
45fc915dd9 Merge pull request #26117 from containers/renovate/setuptools-80.x
chore(deps): update dependency setuptools to ~=80.4.0
2025-05-12 16:58:17 +00:00
93fd26bc58 Merge pull request #25660 from ver4a/main
Fix parsing of paths for unmask
2025-05-12 16:55:30 +00:00
6ae920de8b 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-12 18:38:28 +02:00
6601a0d061 Merge pull request #25980 from containers/renovate/github.com-containernetworking-plugins-1.x
fix(deps): update module github.com/containernetworking/plugins to v1.7.1
2025-05-12 16:32:42 +00:00
df90606d53 Merge pull request #26086 from Honny1/hc-timeout
Fix: Ensure HealthCheck exec session terminates on timeout
2025-05-12 15:44:18 +00:00
59d9f1ea5d chore(deps): update dependency setuptools to ~=80.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-12 15:36:49 +00:00
e68bd8964d Merge pull request #20955 from containers/renovate/docker-7.x
chore(deps): update dependency docker to v7
2025-05-12 15:35:56 +00:00
5471f6e191 chore(deps): update dependency docker to v7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-12 15:16:16 +00:00
59c45a01c7 fix(deps): update module github.com/rootless-containers/rootlesskit/v2 to v2.3.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-12 15:16:07 +00:00
6a96f70180 fix(deps): update module github.com/crc-org/vfkit to v0.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-12 15:14:39 +00:00
b572b892b1 fix(deps): update module github.com/containernetworking/plugins to v1.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-12 15:12:48 +00:00
077649f9d0 Fix: Use SIGKILL instead of SIGTERM when ExecStopContainer timeout is 0
Aligns behavior with documentation stating SIGKILL should be sent immediately if the timeout is zero.

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-05-12 17:01:42 +02:00
499ea1168b Fix: Ensure HealthCheck exec session terminates on timeout
Previously, the HealthCheck exec session would not terminate on timeout, allowing the healthcheck to run indefinitely.

Fixes: https://issues.redhat.com/browse/RHEL-86096

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-05-12 17:01:35 +02:00
74f04e9118 Merge commit from fork
[skip-ci] Tighten version match
2025-05-12 15:54:30 +02:00
d7fefb7064 [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:44:00 -04:00
700c679cd2 Quadlet - Update the docs to reflect the default naming of resources
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2025-05-12 09:33:28 -04:00
09d9d3e26b Revert "Quadlet - fix pod name to depend on the name of the generate service"
This reverts commit 4f38c2fea2f945388491c35327d905cba36f8a5b.

Fixes: #26105
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2025-05-12 09:33:16 -04:00
5be3f8d480 Fix a shellcheck warning about word splitting
Error: SHELLCHECK_WARNING (CWE-156): [#def2]
/etc/profile.d/podman-docker.sh:4:10: warning[SC2046]: Quote this to prevent word splitting.
    2|
    3|   if [ -z "${DOCKER_HOST-}" ]; then
    4|->     if [ $(id -u) -eq 0 ]; then
    5|   	export DOCKER_HOST=unix:///run/podman/podman.sock
    6|       else

Resolves: https://openscanhub.fedoraproject.org/task/52458/log/podman-5.4.2-1.fc43/scan-results.html#def2

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2025-05-12 15:03:54 +02:00
c0b352f2eb Merge pull request #26103 from containers/renovate/github.com-vishvananda-netlink-1.x
fix(deps): update module github.com/vishvananda/netlink to v1.3.1
2025-05-12 10:20:37 +00:00
a5748206d1 fix(deps): update module github.com/vishvananda/netlink to v1.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 21:52:54 +00:00
811aabd3b0 Merge pull request #26079 from mvfc/main
Take WSL path from PATH instead of forcing it to WindowsApps
2025-05-09 13:05:03 +00:00
7a161115f9 Fix parsing of paths for unmask
This fixes an issue where multiple paths separated by a colon were
treated as a single path, contrary to what docs say and unlike how mask
option works.

Test was updated with a case that fails without this commit.

Signed-off-by: Šimon Škoda <ver4a@uncontrol.me>
2025-05-09 11:25:30 +00:00
e138304f33 Merge pull request #26089 from l0rd/release-win-arm64-artifacts
Release win arm64 artifacts
2025-05-08 20:44:29 +00:00
ec9406af4c Merge pull request #26076 from containers/renovate/golang.org-x-net-0.x
fix(deps): update module golang.org/x/net to v0.40.0
2025-05-08 15:36:35 +00:00
b6eeaea7f3 Take path for wsl instead of forcing through WindowsApps
Signed-off-by: Matheus Cunha <matheusvflor@hotmail.com>
2025-05-08 16:39:03 +02:00
58b2eae38c Merge pull request #25906 from jankaluza/25104-pidfs
Verify the ExecSession pid before killing it.
2025-05-08 10:03:50 +00:00