Commit graph

24521 commits

Author SHA1 Message Date
openshift-merge-bot[bot]
910f9dd98e
Merge pull request #25340 from giuseppe/fix-crun-error-messages
tests: adapt e2e tests new crun error messages
2025-02-17 20:44:31 +00:00
Giuseppe Scrivano
c65bb903b6
test: adapt tests new crun error messages
Needed-by: https://github.com/containers/crun/pull/1672

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-02-17 20:47:43 +01:00
Giuseppe Scrivano
35d2a65e3a
test: remove duplicate test
"podman run exit ExecErrorCodeCannotInvoke" does the same thing.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-02-17 20:47:29 +01:00
openshift-merge-bot[bot]
10ab978c26
Merge pull request #25342 from Luap99/cobra
update github.com/spf13/cobra to v1.9.1
2025-02-17 13:55:48 +00:00
openshift-merge-bot[bot]
efbf31b191
Merge pull request #25333 from containers/renovate/common-image-and-storage-deps
fix(deps): update github.com/containers/storage digest to b6f6fb2
2025-02-17 13:14:02 +00:00
Paul Holzinger
88073c56d5
update github.com/spf13/cobra to v1.9.1
And regenerate the completion scripts.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-17 11:55:45 +01:00
renovate[bot]
a5de5959cb
fix(deps): update github.com/containers/storage digest to b6f6fb2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-15 01:58:43 +00:00
openshift-merge-bot[bot]
117fd69853
Merge pull request #25309 from Luap99/cirrus-branch
cirrus: figure out DEST_BRANCH automatically
2025-02-14 20:59:42 +00:00
openshift-merge-bot[bot]
a5f6148a90
Merge pull request #25319 from containers/renovate/github.com-opencontainers-runc-1.x
fix(deps): update module github.com/opencontainers/runc to v1.2.5
2025-02-14 15:55:11 +00:00
openshift-merge-bot[bot]
7c2959e244
Merge pull request #25315 from Luap99/lint-1.64.4
update golangci-lint to v1.64.4
2025-02-14 14:27:12 +00:00
renovate[bot]
f290149b70
fix(deps): update module github.com/opencontainers/runc to v1.2.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 02:02:06 +00:00
openshift-merge-bot[bot]
53c9100c72
Merge pull request #25310 from containers/renovate/docker.io-library-golang-1.x
chore(deps): update docker.io/library/golang docker tag to v1.24
2025-02-13 11:26:09 +00:00
Paul Holzinger
77737132a5
Revert "silence false positve from golangci-lint"
This reverts commit 8b6f14f95b.

https://github.com/golangci/golangci-lint/issues/5398 is fixed

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-13 12:18:53 +01:00
Paul Holzinger
035fff5fd2
update golangci-lint to v1.64.4
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-13 12:18:33 +01:00
openshift-merge-bot[bot]
24e2e9c69b
Merge pull request #25003 from Honny1/no-db-healtcheck-exec
Run HealthCheck without saving the `ExecSession` to the database
2025-02-13 10:14:28 +00:00
renovate[bot]
5c17f7a650
chore(deps): update docker.io/library/golang docker tag to v1.24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 19:40:24 +00:00
openshift-merge-bot[bot]
6521a3244a
Merge pull request #25304 from Luap99/lint-1.64.2
update golangci-lint to v1.64.2
2025-02-12 19:26:03 +00:00
Paul Holzinger
731ef3ff9c
cirrus: bump timeout for macos/win machine tests
They really should not take that long, however they timeout out more
often then they pass so let's give this is a try.

I have some hopes that the new worker pool from Adrian might perform
better.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 20:11:47 +01:00
Paul Holzinger
07e53673f6
cirrus: figure out DEST_BRANCH automatically
Instead of us forgetting to update it on each new branch push.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 20:10:57 +01:00
openshift-merge-bot[bot]
5d358a475e
Merge pull request #25305 from Luap99/artifact-reflink
artifact extract: support reflink copy
2025-02-12 18:47:33 +00:00
openshift-merge-bot[bot]
3edbc254dd
Merge pull request #21895 from containers/renovate/github.com-hugelgupf-p9-digest
fix(deps): update github.com/hugelgupf/p9 digest to 6f4f11e
2025-02-12 18:42:04 +00:00
renovate[bot]
6167d286eb
fix(deps): update github.com/hugelgupf/p9 digest to 6f4f11e
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 16:29:34 +00:00
openshift-merge-bot[bot]
af209f5cef
Merge pull request #25179 from Honny1/artifact-add-append
Create `--append` flag to add file to existing artifact using `podman artifact add` command
2025-02-12 14:58:43 +00:00
Paul Holzinger
3b5d7d1e64
artifact extract: support reflink copy
When the fs supports reflinks use that over a normal copy, this speeds
things up a lot when big files are used.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 15:07:32 +01:00
Paul Holzinger
525b11e4c7
vendor latest c/storage
To include the new fileutils.ReflinkOrCopy() function.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 14:53:10 +01:00
Paul Holzinger
986fc9f465
update golangci-lint to v1.64.2
- exportloopref is deprecated and deactivated so it should be removed
  from the disable list.
- tenv is deprecated and was replaced by usetesting

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 14:01:10 +01:00
Paul Holzinger
8b6f14f95b
silence false positve from golangci-lint
This is valid and the upstream linter allows it but somehow with
golangci-lint it produces an error:

Success matcher only support a single error value, or function with Gomega as its first parameter

I reported a bug upstream[1] but for now let's just ignore it so we can
update the linter.

[1] https://github.com/golangci/golangci-lint/issues/5398

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 14:01:10 +01:00
Paul Holzinger
34de0feda5
cmd/podman: refactor Context handling
The PodmanOptionsKey is never used anywhere so it is pointless to add
this. Second having several functions to return the same context makes
no sense so fold them all into one. Lastly create the context once and
always return the same one instead of having to nil check each time.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 14:01:10 +01:00
Paul Holzinger
78717e6ae9
fix new usetesting lint issue
Using t.Setenv() is much better is automatically takes care of the env
cleanup after the test.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 11:32:17 +01:00
Jan Rodák
fdd442cbdf
Create --append flag to add file to existing artifact
Fixes: https://issues.redhat.com/browse/RUN-2444

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-02-12 10:33:37 +01:00
Jan Rodák
a17175eb3a
Cleanup test
Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-02-12 10:14:47 +01:00
openshift-merge-bot[bot]
62cde17193
Merge pull request #25297 from mheon/fix_25291
Remove persist directory when cleaning up Conmon files
2025-02-11 21:09:46 +00:00
Matt Heon
ce8813dc8d Remove persist directory when cleaning up Conmon files
This seems to have been added as part of the cleanup of our
handling of OOM files, but code was never added to remove it, so
we leaked a single directory with an exit file and OOM file per
container run. Apparently have been doing this for a while - I'd
guess since March of '23 - so I'm surprised more people didn't
notice.

Fixes #25291

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-02-11 14:51:34 -05:00
openshift-merge-bot[bot]
2f261d1e19
Merge pull request #25238 from Luap99/artifact-extract
add podman artifact extract
2025-02-11 18:47:23 +00:00
openshift-merge-bot[bot]
4a0b230610
Merge pull request #24775 from mheon/fix_24738
In SQLite state, use defaults for empty-string checks
2025-02-11 15:43:09 +00:00
openshift-merge-bot[bot]
093571029b
Merge pull request #25290 from Luap99/api-reference
docs: add v5.4 to API reference
2025-02-11 14:12:24 +00:00
Paul Holzinger
3925a30fa7
add podman artifact extract
Add a new command to extract the blob content of the artifact store to a
local path.

Fixes https://issues.redhat.com/browse/RUN-2445

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-11 14:36:53 +01:00
openshift-merge-bot[bot]
7e1ac1db4d
Merge pull request #25280 from containers/renovate/golang.org-x-net-0.x
fix(deps): update module golang.org/x/net to v0.35.0
2025-02-11 13:11:52 +00:00
Paul Holzinger
79be095795
docs: add v5.4 to API reference
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-11 14:05:00 +01:00
Jan Rodák
ad9839ac55
Run HealthCheck without creating and removing the ExecSession in the database
Fixes: https://issues.redhat.com/browse/RHEL-69970

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-02-11 13:59:00 +01:00
openshift-merge-bot[bot]
e7d9c61f9f
Merge pull request #25288 from Honny1/bump-freebsd
[CI] Bump FreeBSD version to 13.4
2025-02-11 12:55:24 +00:00
openshift-merge-bot[bot]
2e36bc0a05
Merge pull request #25285 from containers/renovate/golang.org-x-tools-0.x
fix(deps): update module golang.org/x/tools to v0.30.0
2025-02-11 12:00:26 +00:00
openshift-merge-bot[bot]
af55648080
Merge pull request #25277 from Luap99/new-images
CI: new images 2025-02-10
2025-02-11 11:15:43 +00:00
openshift-merge-bot[bot]
e9a3c68a70
Merge pull request #25281 from mheon/cncf_code_of_conduct
Switch to the CNCF Code of Conduct
2025-02-11 10:48:13 +00:00
Jan Rodák
a6d6d6409e
Bump FreeBSD version to 13.4
Version 13.3 is EOL. See https://www.freebsd.org/releases/

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-02-11 11:15:02 +01:00
renovate[bot]
a2380bca1e
fix(deps): update module golang.org/x/tools to v0.30.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 22:02:40 +00:00
Matt Heon
f906c6df57 Switch to the CNCF Code of Conduct
As part of the CNCF Sandbox, we are replacing our existing COC
with the standard CNCF version.

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-02-10 14:36:32 -05:00
renovate[bot]
74a100f542
fix(deps): update module golang.org/x/net to v0.35.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 19:02:53 +00:00
openshift-merge-bot[bot]
e943a2b064
Merge pull request #25275 from dfr/freebsd-hascapresource
libpod: make hasCapSysResource platform-specific
2025-02-10 19:01:07 +00:00
Paul Holzinger
7e612f6ebb
test/system: remove tar version check
All the VM images should have a new enough version.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-10 18:55:20 +01:00