Commit Graph

21626 Commits

Author SHA1 Message Date
openshift-merge-bot[bot] d36593c65b
Merge pull request #20688 from ygalblum/quadlet-root-symlink
Quadlet - Allow using symlink on the base search paths
2023-11-15 13:09:45 +00:00
Ygal Blum e35fc92c02 Quadlet - add support for UID and GID Mapping
Support UIDMap, GIDMap, SubUIDMap and SubGIDMap
If any of them are set disregard the deprecated Remap keys
Add tests and man

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2023-11-15 12:10:22 +02:00
Ygal Blum dc709e4d76 Quadlet - Allow using symlink on the base search paths
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2023-11-15 09:58:28 +02:00
openshift-merge-bot[bot] 1d49773bb8
Merge pull request #20683 from baude/applehvsshkeys
Avoid empty SSH keys on applehv
2023-11-14 12:57:27 +00:00
openshift-merge-bot[bot] 540ade0607
Merge pull request #20685 from containers/renovate/dessant-lock-threads-5.x
[skip-ci] Update dessant/lock-threads action to v5
2023-11-14 10:50:55 +00:00
renovate[bot] 7b826b2306
[skip-ci] Update dessant/lock-threads action to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 06:24:16 +00:00
Brent Baude ea89eaa1c1 Avoid empty SSH keys on applehv
[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
2023-11-13 13:07:35 -06:00
openshift-merge-bot[bot] 9c954739e9
Merge pull request #20678 from flouthoc/usb_pass_cleanup
qemu,parseUSB: minor refactor
2023-11-13 18:59:26 +00:00
openshift-merge-bot[bot] 24bf08e97e
Merge pull request #20676 from andreasgerstmayr/fix-relabeling-command
[CI:DOCS] docs: fix relabeling command
2023-11-13 17:42:27 +00:00
Aditya R 33ddd79e26
qemu,parseUSB: minor refactor
Some comments from https://github.com/containers/podman/pull/20540

[NO NEW TESTS NEEDED]

Signed-off-by: Aditya R <arajan@redhat.com>
2023-11-13 22:35:47 +05:30
renovate[bot] 669829447a
fix(deps): update module github.com/gorilla/handlers to v1.5.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 17:03:40 +00:00
openshift-merge-bot[bot] a9a74dada2
Merge pull request #20673 from edsantiago/emergency_ci_fix
(Temporary) Emergency CI fix: quay search is broken
2023-11-13 16:52:57 +00:00
openshift-merge-bot[bot] b7cfceaeab
Merge pull request #20601 from giuseppe/use-rootless-from-storage
rootless: use functionalities from c/storage
2023-11-13 16:30:58 +00:00
Andreas Gerstmayr 49b152f498 docs: fix relabeling command
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
2023-11-13 17:15:26 +01:00
openshift-merge-bot[bot] 7dd33b307d
Merge pull request #20540 from victortoso/usb-host-passthrough
qemu: add usb host passthrough
2023-11-13 16:03:30 +00:00
Daniel J Walsh 5dc807487f
Pass secrets from the host down to internal podman containers
This change will allow RHEL subscriptions from the host to flow
to internal containers.

Fixes: https://github.com/containers/common/issues/1735

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-11-13 10:56:04 -05:00
openshift-merge-bot[bot] 2f09b635c0
Merge pull request #20674 from JoshuaBeighton/main
"[CI:DOCS]" Update podman-stats.1.md.in
2023-11-13 15:24:05 +00:00
openshift-merge-bot[bot] c838a69c27
Merge pull request #20672 from lsm5/packit-pre-release
[CI:BUILD] packit: handle builds for RC releases
2023-11-13 14:26:28 +00:00
Ed Santiago 047da19b5f (Temporary) Emergency CI fix: quay search is broken
Someone please revert this once quay search is fixed.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-11-13 06:52:10 -07:00
Joshua Beighton e1f3ae0d8d
Update podman-stats.1.md.in
Signed-off-by: Joshua Beighton <83010264+JoshuaBeighton@users.noreply.github.com>
2023-11-13 13:34:44 +00:00
Lokesh Mandvekar 6fa4a975c6
[CI:BUILD] packit: handle builds for RC releases
The `version_no_tilde` rpm macro correctly handles both `vX.Y.Z` and
`vX.Y.Z-rcN` git tags. Using this macro instead of `version` will soon
allow Packit to handle RC builds correctly.

Accompanying change in Packit to land soon:
https://github.com/packit/packit/pull/2149

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2023-11-13 17:38:08 +05:30
openshift-merge-bot[bot] a3f8f8c1c3
Merge pull request #20652 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.13.1
2023-11-13 12:06:13 +00:00
openshift-merge-bot[bot] 8e6fe99fdb
Merge pull request #20662 from ygalblum/quadlet-mount-equal-sign
Quadlet test - add case for multi = sign in mount
2023-11-13 08:09:50 +00:00
openshift-merge-bot[bot] 6d4d59b04a
Merge pull request #20646 from edsantiago/while_ed_was_sleeping
CI: e2e: fix a smattering of test bugs that slipped in
2023-11-12 17:26:55 +00:00
Ygal Blum bd375058cf Quadlet test - add case for multi = sign in mount
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2023-11-12 10:10:42 +02:00
openshift-merge-bot[bot] a22c290217
Merge pull request #20643 from protosam/main
fix max open files limit for qemu
2023-11-11 20:02:09 +00:00
Sam Peterson 5e0471ba7f set RLIMIT_NOFILE soft limit to match the hard limit on mac
[NO NEW TESTS NEEDED]

Signed-off-by: Sam Peterson <samigknighted@gmail.com>
2023-11-10 15:35:57 -06:00
Giuseppe Scrivano d636ce8d76
rootless: use functionalities from c/storage
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-11-10 22:03:47 +01:00
Ed Santiago 6b5b399121 CI: e2e: fix a smattering of test bugs that slipped in
...while Ed was napping:
 - create/run based on remote image: was not actually testing anything
 - create/run --tls-verify: ditto
 - run --decryption-key: sort of testing but not really
 - Fail(), not Skip(), if we can't start registry.
 - never Skip() halfway through a test: emit a message, and return

The Skip-in-the-middle thing deserves to be shouted from the rooftops.
Let's please never do that again. Skip() says "this entire test was
skipped", which can be misleading to a spelunker trying to track
down a problem related to those tests.

Also, more minor:
 - reduce use of port 5000
 - rename a confusingly-named test

Ref: #11205, #12009

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-11-10 13:41:34 -07:00
renovate[bot] d07263f348
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.13.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-10 18:31:35 +00:00
openshift-merge-bot[bot] bc7c01d195
Merge pull request #20638 from containers/renovate/golang.org-x-tools-0.x
fix(deps): update module golang.org/x/tools to v0.15.0
2023-11-10 16:03:59 +00:00
openshift-merge-bot[bot] 0f18e48945
Merge pull request #20649 from rhatdan/man
[CI:DOCS] Improve the documentation of quadlet
2023-11-10 14:52:28 +00:00
openshift-merge-bot[bot] 5faaef6535
Merge pull request #20550 from containers/renovate/github.com-containers-libhvee-digest
fix(deps): update github.com/containers/libhvee digest to 9651e31
2023-11-10 14:49:44 +00:00
openshift-merge-bot[bot] f3e4b3114d
Merge pull request #20637 from containers/renovate/github-issue-labeler-3.x
[skip-ci] Update github/issue-labeler action to v3.3
2023-11-10 14:30:30 +00:00
Giuseppe Scrivano fbd1ba68f6
vendor: update c/storage
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-11-10 15:20:39 +01:00
Daniel J Walsh 956c0d6ec5
Improve the documentation of quadlet
Users fail to realize that they can use other systemd
options within the quadlet files, like ExecStartPre.
This change should make it clearer to the users.

https://github.com/containers/podman/discussions/20642

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-11-10 05:41:24 -06:00
openshift-merge-bot[bot] 7d107b9892
Merge pull request #19879 from rhatdan/ulimits
Support passing of Ulimits as -1 to mean max
2023-11-10 10:47:43 +00:00
openshift-merge-bot[bot] b5b9a2b96a
Merge pull request #20607 from rhatdan/man
[CI:DOCS] Document --userns=auto behaviour for rootless users
2023-11-10 10:44:57 +00:00
openshift-merge-bot[bot] 79eec47f5f
Merge pull request #20626 from jakecorrenti/ignition-builder
Refactor Ignition configuration for virt providers
2023-11-09 19:54:00 +00:00
openshift-merge-bot[bot] 4a20de7f7f
Merge pull request #20641 from jakecorrenti/socket-mapping-nits
Fix socket mapping nits
2023-11-09 19:32:00 +00:00
Jake Correnti 39d647a2f6 Fix socket mapping socket mapping nits
Fixes nits that were suggested in #20420. The caller of
`ListenAndWaitOnSocket` did not use the value returned by the conn
channel, therefore it was better to just close the conn in the
`ListenAndWaitOnSocket` function instead.

[NO NEW TESTS NEEDED]

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2023-11-09 10:41:50 -05:00
openshift-ci[bot] d7d8b86e59
Merge pull request #20632 from containers/renovate/github.com-onsi-gomega-1.x
fix(deps): update module github.com/onsi/gomega to v1.30.0
2023-11-09 15:34:01 +00:00
renovate[bot] 5388836c11
fix(deps): update module golang.org/x/tools to v0.15.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 02:16:55 +00:00
openshift-merge-bot[bot] b0ec6d8167
Merge pull request #20636 from containers/renovate/golang.org-x-net-0.x
fix(deps): update module golang.org/x/net to v0.18.0
2023-11-09 02:15:51 +00:00
renovate[bot] 60f67eec75
fix(deps): update github.com/containers/libhvee digest to 9651e31
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 02:15:20 +00:00
openshift-merge-bot[bot] dfffa7b188
Merge pull request #20630 from lsm5/disable-goproxy
Disable goproxy
2023-11-09 02:13:07 +00:00
renovate[bot] 9cd975d59e
[skip-ci] Update github/issue-labeler action to v3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 01:32:29 +00:00
Daniel J Walsh b8d59030cf
Document --userns=auto behaviour for rootless users
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-11-08 17:03:35 -06:00
Victor Toso c23963d7a8 machine: qemu: add usb host passthrough
QEMU usb-host driver which is the one for passthrough, supports two
options for selecting an USB devices in the host to provide it to the
VM:
 - Bus and Device number the device is plugged
 - Vendor and Product information of the USB devices

    https://qemu-project.gitlab.io/qemu/system/devices/usb.html

This commit allows a user to configure podman machine with either of
options, with new --usb command line option for podman machine init.

Examples
  podman machine init tosovm4 --usb vendor=13d3,product=5406
  podman machine init tosovm3 --usb bus=1,devnum=4 --usb bus=1,devnum=3

This commit also allows a user to change the USBs configured with
--usb command line option for podman machine set.

Note that this commit does not handle host device permissions nor
verify that the USB devices exists.

Signed-off-by: Victor Toso <victortoso@redhat.com>
2023-11-08 23:38:53 +01:00
renovate[bot] 4a75a2b3c8
fix(deps): update module golang.org/x/net to v0.18.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-08 22:16:17 +00:00