Commit graph

25966 commits

Author SHA1 Message Date
openshift-ci[bot]
e9d6ffa8f0
Merge pull request #20252 from vrothberg/privileged
containers.conf: add `privileged` field to containers table
2023-10-07 11:34:45 +00:00
openshift-ci[bot]
b7f708a942
Merge pull request #20290 from containers/renovate/golang.org-x-tools-0.x
fix(deps): update module golang.org/x/tools to v0.14.0
2023-10-07 11:29:36 +00:00
openshift-ci[bot]
745cfb57dc
Merge pull request #20283 from containers/renovate/github.com-containers-libhvee-digest
fix(deps): update github.com/containers/libhvee digest to fcf1cc2
2023-10-07 11:27:02 +00:00
Aleksei Kosyrev
732cec794e Add system test
Signed-off-by: Aleksei Kosyrev <albnnc@gmail.com>
2023-10-07 10:55:51 +03:00
renovate[bot]
10aa390684
fix(deps): update module golang.org/x/tools to v0.14.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 14:03:02 +00:00
Aleksei Kosyrev
3fdb6ee2df Don't ignore containerfiles outside of build context
[NO NEW TESTS NEEDED]

Signed-off-by: Aleksei Kosyrev <albnnc@gmail.com>
2023-10-06 16:00:13 +03:00
renovate[bot]
b3209dc5d6
fix(deps): update github.com/containers/libhvee digest to fcf1cc2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 11:08:10 +00:00
openshift-ci[bot]
f4348bab66
Merge pull request #20279 from containers/renovate/golang.org-x-term-0.x
fix(deps): update module golang.org/x/term to v0.13.0
2023-10-06 11:04:52 +00:00
renovate[bot]
eda2758206
fix(deps): update module golang.org/x/term to v0.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 07:29:25 +00:00
openshift-ci[bot]
d36c90868f
Merge pull request #20277 from containers/renovate/golang.org-x-sys-0.x
Update module golang.org/x/sys to v0.13.0
2023-10-06 07:27:33 +00:00
openshift-ci[bot]
b8084274cd
Merge pull request #20273 from giuseppe/bump-storage
vendor: bump c/storage
2023-10-06 06:26:03 +00:00
openshift-ci[bot]
a7390a4083
Merge pull request #20276 from ashley-cui/rel
[CI:DOCS] Add updating version on podman.io to release process
2023-10-05 21:23:22 +00:00
renovate[bot]
da6c86dfcb
Update module golang.org/x/sys to v0.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 21:21:40 +00:00
Ashley Cui
1c07800971 [CI:DOCS] Add updating version on podman.io to release process
Signed-off-by: Ashley Cui <acui@redhat.com>
2023-10-05 14:48:04 -04:00
Valentin Rothberg
362eca6691 containers.conf: add privileged field to containers table
As requested in containers/podman/issues/20000, add a `privileged` field
to the containers table in containers.conf.  I was hesitant to add such
a field at first (for security reasons) but I understand that such a
field can come in handy when using modules - certain workloads require a
privileged container.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-10-05 20:14:18 +02:00
Chris Evich
6cb10425d4
Implement secrets/credential scanning
As an effort to catch potential secrets and/or credential leaks, add a
github-actions workflow which is untouchable in a PR context.
To additionally guard against accidents, also check recent branch
history.  This is especially important on newly created
release-branches, which may begin with content from who-knows-where.

Finally, since the new workflow bypasses PR-level changes to the scanner
config and base-line.  Add a Cirrus-CI invocation of the scanning tool
to help catch tool-breaking changes from being merged.

Signed-off-by: Chris Evich <cevich@redhat.com>
2023-10-05 11:16:19 -04:00
openshift-ci[bot]
ecef03d81c
Merge pull request #20271 from containers/renovate/golang.org-x-sync-0.x
Update module golang.org/x/sync to v0.4.0
2023-10-05 15:11:14 +00:00
Chris Evich
106abd13be
Cirrus: Execute Windows podman-machine e2e tests
Also, de-duplicate power-shell variables and functions as they're
beginning to sprawl.  This does not completely address all duplicates,
mainly those involved in the podman-machine CI workflow.  So,
nothing under `contrib/win-installer` has been touched.

[NO NEW TESTS NEEDED]

Signed-off-by: Chris Evich <cevich@redhat.com>
2023-10-05 10:45:17 -04:00
Giuseppe Scrivano
338e4f5901
vendor: bump c/storage
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-10-05 15:31:49 +02:00
renovate[bot]
8807243cc8
Update module golang.org/x/sync to v0.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 12:39:37 +00:00
openshift-ci[bot]
158b11a10d
Merge pull request #20245 from jakecorrenti/qemu-wrapper
Create Qemu command wrapper
2023-10-05 12:38:30 +00:00
openshift-ci[bot]
b144b17f7e
Merge pull request #20268 from Luap99/api-doc
[CI:DOCS] update swagger version on docs.podman.io
2023-10-05 10:11:53 +00:00
Paul Holzinger
2168f07450
[CI:DOCS] update swagger version on docs.podman.io
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-10-05 10:45:22 +02:00
openshift-ci[bot]
516a03a6f2
Merge pull request #20266 from n1hility/fix-resolved-disable
Adjust to path name change for resolved unit on WSL backend
2023-10-05 08:21:30 +00:00
openshift-ci[bot]
458e562465
Merge pull request #20265 from n1hility/revert-systemd-change
Revert "Fix WSL systemd detection"
2023-10-05 08:19:17 +00:00
Jake Correnti
0414f88b3a Create Qemu command wrapper
Creates a wrapper around the Qemu command line implementation to prevent
the need to hard-code the different command line options in Init and
Start.

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2023-10-04 23:17:15 -04:00
openshift-ci[bot]
7dc5f7b499
Merge pull request #20263 from umohnani8/play-doc
[CI:DOCS] update kube play delete endpoint docs
2023-10-05 01:47:12 +00:00
openshift-ci[bot]
e467849712
Merge pull request #20262 from lsm5/gvisor-rhel
[CI:BUILD] rpm/copr: gvforwarder recommends for RHEL
2023-10-05 01:44:37 +00:00
openshift-ci[bot]
4a67d22765
Merge pull request #20256 from Luap99/revert-env
Revert --env-file changes
2023-10-05 01:41:59 +00:00
Jason T. Greene
df6a000263 Adjust to path name change for resolved unit
Leave the legacy name around for now

[NO NEW TESTS NEEDED]

Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2023-10-04 17:12:03 -05:00
Jason T. Greene
2a38f30b6c Revert "Fix WSL systemd detection"
This reverts commit 5b990c3835.
PR #19994

Causes wsl nsenter script to infinitely loop in standard operation

[NO NEW TESTS NEEDED]

Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2023-10-04 16:25:47 -05:00
Lokesh Mandvekar
f622a2a54b
[CI:BUILD] rpm/copr: gvforwarder recommends for RHEL
We don't have a successful rhel build of gvforwarder so far on the
podman-next copr, so any RHEL users of podman-next will have trouble
installing podman if it's a gvforwarder is a hard dep.

Switching gvforwarder to a Recommends until that's resolved.

The ELN environment is an exception as it gets dependencies updated a
lot quicker.

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-10-04 15:29:37 -04:00
Urvashi Mohnani
27f58803de [CI:DOCS] update kube play delete endpoint docs
Update the docs for the DELETE libpod/kube/play endpoint
to mention the resources removed when ran.

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2023-10-04 14:51:14 -04:00
openshift-ci[bot]
46ca057f6b
Merge pull request #20250 from Luap99/inspect-device
inspect: ignore ENOENT during device lookup
2023-10-04 18:45:52 +00:00
openshift-ci[bot]
6d3cea3ced
Merge pull request #20261 from cgiradkar/Issue-168-podman.io
[CI:DOCS] Remove dead link from README
2023-10-04 18:40:35 +00:00
openshift-ci[bot]
3b39d4b082
Merge pull request #20132 from cgiradkar/Issue-17856
Change log level for health_check
2023-10-04 17:59:32 +00:00
Chetan Giradkar
3fc7c42e18 [CI:DOCS] Remove dead link from README
The link for podman-hello.png was replaced with a textual representation but a dangling pointer to dead link was still present. This PR removes the dead link to avoid hitting 404.

Signed-off-by: Chetan Giradkar <cgiradka@redhat.com>
2023-10-04 18:51:11 +01:00
Paul Holzinger
1b3cedbf31
test/system: --env-file test fixes
Now that the newline env file change is reverted we have to adapt the
tests.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-10-04 18:18:18 +02:00
Paul Holzinger
617af9bea9
Revert "feat(env): support multiline in env-file"
This reverts commit 170a78631b.

This was a breaking change and users are hitting it,
see https://github.com/containers/podman/issues/19565

Fixes #19565

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-10-04 17:06:21 +02:00
Paul Holzinger
5f340487ee
Revert "docs(env-file): improve document description"
This reverts commit c67ef7c1a1.

see https://github.com/containers/podman/issues/19565

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-10-04 17:06:21 +02:00
Paul Holzinger
9599589f18
Revert "fix(env): parsing --env incorrect in cli"
This reverts commit 7ce654fea3.

see https://github.com/containers/podman/issues/19565

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-10-04 17:06:05 +02:00
Chetan Giradkar
7e6e267329 Filter health_check and exec events for logging in console
Podman server logs are mostly full of healthcheck output, making them hard to navigate. Hence, made healthcheck service to run with LogLevelMax=notice, this would remove the normal output, inclusive the started/stopped messages from systemd itself.

Fixes #17856

Signed-off-by: Chetan Giradkar <cgiradka@redhat.com>
2023-10-04 14:50:15 +01:00
openshift-ci[bot]
e78e76c237
Merge pull request #20205 from jakecorrenti/build-applehv-intel
Build applehv for Intel Macs
2023-10-04 12:55:04 +00:00
Paul Holzinger
0443c5166e
inspect: ignore ENOENT during device lookup
When we walk the /dev tree we need to lookup all device paths. Now in
order to get the major and minor version we have to actually stat each
device. This can again fail of course. There is at least a race between
the readdir at stat call so it must ignore ENOENT errors to avoid
the race condition as this is not a user problem. Second, we should
also not return other errors and just log them instead, returning an
error means stopping the walk and returning early which means inspect
fails with an error which would be bad.

Also there seems to be cases were ENOENT will be returned all the time,
e.g. when a device is forcefully removed. In the reported bug this is
triggered with iSCSI devices.

Because the caller does already lookup the device from the created map
it reports a warning there if the device is missing on the host so it
is not a problem to ignore a error during lookup here.

[NO NEW TESTS NEEDED] Requires special device setup to trigger
consistentlyand we cannot do that in CI.

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

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-10-04 13:26:21 +02:00
openshift-ci[bot]
c14e8f6cc0
Merge pull request #20238 from containers/renovate/github.com-containers-libhvee-digest
Update github.com/containers/libhvee digest to e9b1811
2023-10-04 08:59:22 +00:00
openshift-ci[bot]
267e80aa10
Merge pull request #20242 from flouthoc/manifest-retry
test, manifest: test push retry
2023-10-03 20:07:35 +00:00
Aditya R
b576b79329
test, manifest: test push retry
Test: https://github.com/containers/common/pull/1666

Signed-off-by: Aditya R <arajan@redhat.com>
2023-10-03 20:38:02 +05:30
openshift-ci[bot]
13456be1e7
Merge pull request #20234 from giuseppe/vendor-distribution
vendor: update module github.com/docker/distribution to v2.8.3+incomp…
2023-10-03 13:54:56 +00:00
openshift-ci[bot]
2457c259b3
Merge pull request #20240 from n1hility/fix-wsl-version-detection
Fix locale issues with WSL version detection
2023-10-03 13:45:07 +00:00
Jason T. Greene
cbca395291 Fix locale issues with WSL version detection
Since wsl --version triggers help, which triggers an error code,
use that instead of text detection.

[NO NEW TESTS NEEDED]

Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2023-10-03 08:37:27 -05:00