21313 Commits

Author SHA1 Message Date
ae9b63fbf0 Check for imageID, not imageName
We are only using imageID on that branch, so it is
more consistent.

Should not change behavior; in callers, either
both are set or neither.

[NO NEW TESTS NEEDED]

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-11-20 19:06:44 +01:00
ff80e40adf Use NewStoreReference instead of ParseStoreReference
By construction, imageID is a full image ID, so avoid heuristics
by using a more specific API.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-11-20 18:26:38 +01:00
e9587f5e37 Don't re-assign imageID
By construction in callers, imageID is always a full ID,
so this assignment is always a no-op.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-11-20 18:24:28 +01:00
c850682208 Remove clearly dead code
Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-11-20 16:57:28 +01:00
87cef36546 Update release notes from v4.7 branch
Signed-off-by: Ashley Cui <acui@redhat.com>
2023-11-20 10:39:00 -05:00
d3096f6cd3 Merge pull request #20723 from edsantiago/rootless_tutorial
[CI:DOCS] More rootless-tutorial fixes
2023-11-20 15:31:57 +00:00
8b2667ef69 More rootless-tutorial fixes
Followup to #20722:

- Fix missing "containers" subdirectory
- Indicate what podman uses as defaults for XDG envariables
- whitespace and quoting fixes (I actually ran pandoc this time)

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-11-20 07:43:12 -07:00
2d4c578579 Merge pull request #20722 from edsantiago/rootless_tutorial
[CI:DOCS] rootless_tutorial: modernize
2023-11-20 13:55:41 +00:00
9ea390191b rootless_tutorial: modernize
- We can assume that cgroups v2 and rootless overlayfs are the
  default everywhere.

- Remove RHEL7-only instructions

- add clear '$' and '#' prompts to rootless and root commands

- other minor consistency cleanups

Ref: #20669

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-11-20 06:04:21 -07:00
62060f3234 Get masked paths and readonly masked patchs from containers/common
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-11-19 10:01:20 -05:00
7dfbc72769 Merge pull request #20715 from TomSweeneyRedHat/dev/tsweeney/buildah1.33.1
Bump Buildah to v1.33.1
2023-11-19 05:58:14 +00:00
ee16546227 Bump Buildah to v1.33.1
Bump Buildah to v1.33.1 to get a CVE fix for Buildkit.
I thought it was also going to drag in the test fix as
mentioned in #20709, but I'm not seeing that here.

[NO NEW TESTS NEEDED]
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2023-11-19 00:49:13 -05:00
149d4f079a Merge pull request #20161 from edsantiago/ci_desired_storage
CI: test overlay and vfs
2023-11-18 20:59:17 +00:00
b747850230 Merge pull request #20708 from baude/vendorlibhvee0.5.0
Update to libhvee 0.5.0
2023-11-18 20:09:46 +00:00
f17d8df555 Merge pull request #20707 from baude/vmtypesarereserved
vmtypes names cannot be used as machine names
2023-11-18 20:07:00 +00:00
85f57b6ea4 Merge pull request #20709 from TomSweeneyRedHat/dev/tsweeney/buildah1.33.0
Bump Buildah to v1.33.0
2023-11-18 14:59:00 +00:00
3d86a9658e Bump Buildah to v1.33.0
As the title says.  This is the last dance step in preparation
for Podman v4.8.

[NO NEW TESTS NEEDED]

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2023-11-17 18:02:59 -05:00
60d9f9b807 Update to libhvee 0.5.0
Signed-off-by: Brent Baude <bbaude@redhat.com>
2023-11-17 13:34:14 -06:00
a6bb601400 Merge pull request #20621 from mtrmac/docker-compat-login
Add --compat-auth-file to login and logout
2023-11-17 19:11:02 +00:00
d32f61d91b vmtypes names cannot be used as machine names
florent found a bug where he used "applehv" as a machine name.  it turns out when we use a vmtype name, esp. the active type, it really messes up directory structures for configuration and images alike.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2023-11-17 12:24:21 -06:00
d0b32255e4 Add support for --compat-auth-file in login/logout
This mostly just inherits the c/common/pkg/auth implementation,
except that AuthFilePath and DockerCompatAuthFilePath can not be set
simultaneously, so don't unnecessarily explicitly set AuthFilePath.
c/common already handles that.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-11-17 16:44:06 +01:00
a3d5814e0e Update tests for a c/common error message change
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-11-17 16:44:06 +01:00
ced07a55f4 Update c/image and c/common to latest, c/buildah to main
... to include https://github.com/containers/image/pull/2173,
https://github.com/containers/common/pull/1731
and https://github.com/containers/buildah/pull/5143 .

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-11-17 16:43:48 +01:00
71aac2f430 Merge pull request #20704 from umohnani8/py-docs
[CI:DOCS] Add link to podman py docs
2023-11-17 14:20:08 +00:00
a10b88cb2f CI: test overlay and vfs
We're only testing vfs in CI. That's bad. #18822 tried to
remedy that but that only worked on system tests, not e2e.

Here we introduce CI_DESIRED_STORAGE, to be set in .cirrus.yml
in the same vein as all the other CI_DESIRED_X. Since it's 2023
we default to overlay, testing vfs only in priorfedora.

Fixes required:
 - e2e tests:
   - in cleanup, umount ROOT/overlay to avoid leaking mounts

 - system tests:
   - fix a few badly-written tests that assumed/hardcoded overlay
   - buildx test: add weird exception to device-number test
   - mount tests: add special case code for vfs
   - unprivileged test: disable one section that is N/A on vfs

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-11-17 05:48:50 -07:00
da899b92da [CI:DOCS] Add link to podman py docs
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2023-11-17 07:18:59 -05:00
5c97e12d5c Merge pull request #20610 from edsantiago/bump_vm_images
VM images: bump to 2023-11-16
2023-11-17 10:53:51 +00:00
857d610d04 Merge pull request #20659 from rhatdan/subscriptions
[CI:DOCS] Pass secrets from the host down to internal podman containers
2023-11-17 10:51:06 +00:00
d2a4ec867d Test fixes for debian
Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-11-16 15:14:36 -07:00
23ead49dee pasta tests: remove some skips
Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-11-16 15:14:36 -07:00
d711c3f465 VM images: bump to 2023-11-16
F39 released. Hoping for newer crun and pasta.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-11-16 14:01:54 -07:00
638199c495 Merge pull request #20671 from ygalblum/quadlet-uidmap
Quadlet - add support for UID and GID Mapping
2023-11-16 15:40:37 +00:00
50f4f59163 Merge pull request #20698 from containers/renovate/go-k8s.io/kubernetes-vulnerability
fix(deps): update module k8s.io/kubernetes to v1.28.4 [security]
2023-11-16 09:37:03 +00:00
ec2e533a22 Merge pull request #20696 from ashley-cui/ci
[CI:DOCS] Machine test timeout env var
2023-11-15 21:52:50 +00:00
5f3f8a3caf fix(deps): update module k8s.io/kubernetes to v1.28.4 [security]
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-15 21:42:59 +00:00
3d88f614f7 [CI:DOCS] Machine test timeout env var
Introduce MACHINE_TEST_TIMEOUT, which sets the timeout for machine tests, in seconds.

Signed-off-by: Ashley Cui <acui@redhat.com>
2023-11-15 16:00:57 -05:00
fcf4f33277 Merge pull request #20592 from containers/renovate/github.com-gorilla-handlers-1.x
fix(deps): update module github.com/gorilla/handlers to v1.5.2
2023-11-15 18:09:30 +00:00
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
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
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
1d49773bb8 Merge pull request #20683 from baude/applehvsshkeys
Avoid empty SSH keys on applehv
2023-11-14 12:57:27 +00:00
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
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
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
9c954739e9 Merge pull request #20678 from flouthoc/usb_pass_cleanup
qemu,parseUSB: minor refactor
2023-11-13 18:59:26 +00:00
24bf08e97e Merge pull request #20676 from andreasgerstmayr/fix-relabeling-command
[CI:DOCS] docs: fix relabeling command
2023-11-13 17:42:27 +00:00
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
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
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
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