Commit Graph

1468 Commits

Author SHA1 Message Date
Paul Holzinger 1d3ec78e00
vendor latest c/common
Includes init path changes.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-10-18 15:14:13 +02:00
Valentin Rothberg 831844b596 image history: fix walking layers
libimage did not walk thte layers correctly which was probably
inherited by old Podman code.  Fix that by vendoring in the
corresponding changes in c/common.

Fixes: #20375
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-10-18 09:19:24 +02:00
Urvashi Mohnani 1b0be2f348 Vendor common and buildah main
Update the common and buildah vendor to pull in the
platform code move.

[NO NEW TESTS NEEDED]

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2023-10-16 13:35:29 -04:00
openshift-ci[bot] dabf6c83a7
Merge pull request #20367 from flouthoc/bump-and-test-buildah
buildah: bump to `v1.32.1-0.20231012130144-244170240d85` and test builds with relative `TMPDIR`
2023-10-16 14:44:18 +00:00
Aditya R 64ff149324
vendor: bump buildah to v1.32.1-0.20231012130144-244170240d85
Signed-off-by: Aditya R <arajan@redhat.com>
2023-10-16 11:55:53 +05:30
renovate[bot] 74ed1d6e70
fix(deps): update module github.com/vbauerster/mpb/v8 to v8.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-14 05:10:56 +00:00
renovate[bot] 52112fc5c1
fix(deps): update github.com/containers/libhvee digest to e51be96
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 03:19:39 +00:00
renovate[bot] 2301320f67
fix(deps): update module golang.org/x/net to v0.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 09:25:08 +00:00
openshift-ci[bot] 27ca6d4870
Merge pull request #20321 from containers/renovate/github.com-nxadm-tail-1.x
fix(deps): update module github.com/nxadm/tail to v1.4.11
2023-10-10 19:10:25 +00:00
Paul Holzinger 8a52e638e6
vendor latest c/common
Includes the default db backend changes.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-10-10 17:08:04 +02:00
renovate[bot] acd0a93c39
fix(deps): update module github.com/nxadm/tail to v1.4.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 14:26:48 +00:00
openshift-ci[bot] 8615b165c8
Merge pull request #20299 from giuseppe/fix-flake-ENOENT
container: always check if mountpoint is mounted
2023-10-09 20:14:40 +00:00
renovate[bot] 787b1b25c7
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-09 13:26:51 +00:00
Giuseppe Scrivano 9beb3a9720
vendor: update c/storage
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-10-09 13:31:55 +02:00
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
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
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
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
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
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] 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
Giuseppe Scrivano b988eadafe
vendor: update module github.com/docker/distribution to v2.8.3+incompatible
[NO NEW TESTS NEEDED]

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-10-03 13:54:26 +02:00
Aditya R 1ebd223039
vendor: bump c/common to v0.56.1-0.20231002091908-745eaa498509
Signed-off-by: Aditya R <arajan@redhat.com>
2023-10-03 11:02:05 +05:30
renovate[bot] 8b647cdb5f
Update github.com/containers/libhvee digest to e9b1811
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 01:10:53 +00:00
openshift-ci[bot] 527cf365c1
Merge pull request #20226 from containers/renovate/golang.org-x-exp-digest
Update golang.org/x/exp digest to 9212866
2023-10-02 21:09:15 +00:00
Daniel J Walsh 3b3bb5d2d1
Merge pull request #20223 from containers/renovate/github.com-opencontainers-runtime-spec-digest
Update github.com/opencontainers/runtime-spec digest to c0e9043
2023-10-02 15:49:52 -04:00
openshift-ci[bot] fe828d2238
Merge pull request #20192 from umohnani8/images
Fix broken podman images filters
2023-10-02 17:49:40 +00:00
renovate[bot] 874e4466ab
Update golang.org/x/exp digest to 9212866
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 06:12:38 +00:00
renovate[bot] 22a1d015c2
Update github.com/opencontainers/runtime-spec digest to c0e9043
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 01:47:42 +00:00
Brent Baude 59e0919bc7 update vfkit vendored code
upstream reversed width and height and now we get an unusable gui

[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
2023-09-29 12:46:58 -05:00
Urvashi Mohnani ba788c1bb8 Fix broken podman images filters
The id, digest, and intermediate filters were broken
for podman images. Fix to match on substrings instead of
the whole string for id and digest. Add the intermediate value
correctly when set.

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2023-09-29 11:39:49 -04:00
renovate[bot] fda028ca07
fix(deps): update github.com/containers/common digest to 9342cdd
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-28 00:29:37 +00:00
OpenShift Merge Robot 4e726f5060
Merge pull request #20166 from containers/renovate/github.com-containers-gvisor-tap-vsock-0.x
fix(deps): update module github.com/containers/gvisor-tap-vsock to v0.7.1
2023-09-27 10:47:38 -04:00
renovate[bot] 48ea4b9ecb
fix(deps): update module github.com/containers/gvisor-tap-vsock to v0.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 09:13:10 +00:00
renovate[bot] 90eb736292
fix(deps): update github.com/containers/common digest to 4619314
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 08:44:05 +00:00
renovate[bot] 5636d02192
fix(deps): update github.com/containers/common digest to e18cda8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 06:57:03 +00:00
Valentin Rothberg 6293ec2e2d fix handling of static/volume dir
The processing and setting of the static and volume directories was
scattered across the code base (including c/common) leading to subtle
errors that surfaced in #19938.

There were multiple issues that I try to summarize below:

 - c/common loaded the graphroot from c/storage to set the defaults for
   static and volume dir.  That ignored Podman's --root flag and
   surfaced in #19938 and other bugs.  c/common does not set the
   defaults anymore which gives Podman the ability to detect when the
   user/admin configured a custom directory (not empty value).

 - When parsing the CLI, Podman (ab)uses containers.conf structures to
   set the defaults but also to override them in case the user specified
   a flag.  The --root flag overrode the static dir which is wrong and
   broke a couple of use cases.  Now there is a dedicated field for in
   the "PodmanConfig" which also includes a containers.conf struct.

 - The defaults for static and volume dir and now being set correctly
   and adhere to --root.

 - The CONTAINERS_CONF_OVERRIDE env variable has not been passed to the
   cleanup process.  I believe that _all_ env variables should be passed
   to conmon to avoid such subtle bugs.

Overall I find that the code and logic is scattered and hard to
understand and follow.  I refrained from larger refactorings as I really
just want to get #19938 fixed and then go back to other priorities.

https://github.com/containers/common/pull/1659 broke three pkg/machine
tests.  Those have been commented out until getting fixed.

Fixes: #19938
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-09-25 14:14:30 +02:00
OpenShift Merge Robot 2f7c2508ca
Merge pull request #20101 from ashley-cui/machcpus
Adjust machine CPU tests
2023-09-24 09:26:58 -04:00
renovate[bot] 172369b54c
fix(deps): update github.com/containers/gvisor-tap-vsock digest to 97028a6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-23 02:34:21 +00:00
Ashley Cui 96142c2f75 Vendor c/common
Signed-off-by: Ashley Cui <acui@redhat.com>
2023-09-22 09:50:08 -04:00
Brent Baude 5b3801776b Various updates for hyperv and machine e2e tests
This PR is a mishmash of updates needed so that the hyperv provider can
begin to passd the machine e2e tests.

Summary as follows:
* Added custom error handling for machine errors so that all providers
  can generate the same formatted error messages.  The ones implemented
  thus far are needed for the basic and init tests.  More will come as
  they are identified.
* Vendored new libhvee for better memory inspection.  The memory type
  changed from uint32 to uint64.
* Some machine e2e tests used linux-specific utilities to check various
  error conditions and messages (like pgrep).  Those were made into
  functions and implemented on an operating system level.

[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
2023-09-21 08:52:02 -05:00
renovate[bot] b6ea49f5a2
fix(deps): update github.com/containers/gvisor-tap-vsock digest to 9298405
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-21 09:27:21 +00:00
Daniel J Walsh 73dc72f80d
vendor of containers/common
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-09-20 08:39:49 -04:00
renovate[bot] 1908663f1e
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.12.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 23:00:33 +00:00
Jake Correnti 289e59ee1f Implement gvproxy networking using cmdline wrapper
Converts the host networking code in `podman machine` to use the
`GvproxyCommand` type introduced in containers/gvisor-tap-vsock#258

[NO NEW TESTS NEEDED]

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2023-09-19 09:20:26 -04:00
Aditya R e9b98510dd
vendor: bump c/common to v0.56.1-0.20230919073449-d1d9d38d8282
Signed-off-by: Aditya R <arajan@redhat.com>
2023-09-19 14:48:14 +05:30