Paul Holzinger
8156df5b72
bump c/common to latest and c/storage to 1.37.0
...
Update c/common to fix a bug where broken config files could be created
via podman machine and podman system connection add.
Signed-off-by: Paul Holzinger <pholzing@redhat.com >
2021-10-04 16:34:10 +02:00
dependabot[bot]
97bf6331f9
Bump github.com/containers/buildah from 1.23.0 to 1.23.1
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.23.0 to 1.23.1.
- [Release notes](https://github.com/containers/buildah/releases )
- [Changelog](https://github.com/containers/buildah/blob/v1.23.1/CHANGELOG.md )
- [Commits](https://github.com/containers/buildah/compare/v1.23.0...v1.23.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/buildah
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-01 15:01:50 +00:00
Daniel J Walsh
1805ed360d
Vendor in latest containers/storage
...
Fix handling of additional shares with no images
Fixes: https://github.com/containers/storage/issues/1029
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-09-29 15:25:54 -04:00
Valentin Rothberg
a9a54eefab
image prune: support removing external containers
...
Support removing external containers (e.g., build containers) during
image prune.
Fixes : #11472
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-09-28 10:24:16 +02:00
Daniel J Walsh
5a2ca77b9b
Vendor in containers/common v0.46.0
...
Fixes: https://github.com/containers/podman/issues/11745
[NO TESTS NEEDED] Since this is just a revendor and a one line
change for the revendor
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-09-27 11:30:09 +02:00
OpenShift Merge Robot
8f19efb519
Merge pull request #11678 from vrothberg/fix-11613
...
podman save: add `--uncompressed`
2021-09-22 09:53:46 -04:00
OpenShift Merge Robot
7910bfd7c1
Merge pull request #11659 from vrothberg/psgo
...
vendor c/psgo@v1.7.1
2021-09-22 06:38:44 -04:00
Valentin Rothberg
49c5688a30
podman save: add --uncompressed
...
Add an option to `podman save` to allow uncompressed layers when
copying OCI images. Do the neccessary plumbing for the remote client,
add tests and vendor in the latest commit from c/common to fetch
the neccessary changes in libimage.
Closes : #11613
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-09-22 12:38:07 +02:00
Valentin Rothberg
5875e409e2
vendor c/psgo@v1.7.1
...
psgo added support for listing supplementary groups via
two new descriptors:
* `groups` for supplementary groups inside the container
* `hgroups` for the counterpart on the host
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-09-22 10:35:08 +02:00
Valentin Rothberg
5098124570
vendor c/common@main
...
Finalizes the linked BZ to fix passing down custom authfiles during auto
updates. Also fixes the if-newer pull policy.
[NO TESTS NEEDED] for now validated manually. There's a TODO to add a
new system test that I did not find time for before PTO.
BZ: bugzilla.redhat.com/show_bug.cgi?id=2000943
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-09-20 15:07:41 +02:00
Daniel J Walsh
3e77f960f6
Set default storage from containers.conf for temporary images
...
Fixes: https://github.com/containers/podman/issues/11107
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-09-15 10:43:51 -04:00
Aditya Rajan
d0c605cd3d
build: mirror --authfile to filesystem if pointing to FD instead of file
...
Following commit makes sure that podman mirrors --authfile to a temporary
file in filesystem if arg is pointing to an FD instead of actual file
as FD can be only consumed once.
Reference:
* https://github.com/containers/buildah/pull/3498
* https://github.com/containers/buildah/issues/3070
[NO TESTS NEEDED]
Signed-off-by: Aditya Rajan <arajan@redhat.com >
2021-09-15 14:58:48 +05:30
Aditya Rajan
222b62e7b0
vendor: Bump github.com/containers/buildah from 1.22.3 to 1.23.0
...
[NO TESTS NEEDED]
Signed-off-by: Aditya Rajan <arajan@redhat.com >
2021-09-15 13:30:49 +05:30
flouthoc
a55e2a00fc
rootfs: Add support for rootfs-overlay and bump to buildah v1.22.1-0.202108
...
Allows users to specify a readonly rootfs with :O, in exchange podman will create a writable overlay.
bump builah to v1.22.1-0.20210823173221-da2b428c56ce
[NO TESTS NEEDED]
Signed-off-by: flouthoc <flouthoc.git@gmail.com >
2021-09-14 13:31:39 +05:30
Paul Holzinger
b0cbcd1d09
bump c/common to v0.44.0
...
Signed-off-by: Paul Holzinger <pholzing@redhat.com >
2021-09-13 18:49:38 +02:00
dependabot[bot]
309d989712
Bump github.com/containers/psgo from 1.5.2 to 1.6.0
...
Bumps [github.com/containers/psgo](https://github.com/containers/psgo ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/containers/psgo/releases )
- [Commits](https://github.com/containers/psgo/compare/v1.5.2...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/psgo
dependency-type: direct:production
update-type: version-update:semver-minor
...
[NO TESTS NEEDED] since it's migrating to a new version.
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-09-10 15:23:43 +02:00
Aditya Rajan
cba114dd36
manifest: rm should not remove referenced images.
...
Following PR makes sure that `podman manifest rm <list>` only removes
the named manifest list and not referenced images.
Bumping and squashing c/common to v0.43.3-0.20210902095222-a7acc160fb25
in same commit in order to make sure build commit test passes.
Signed-off-by: Aditya Rajan <arajan@redhat.com >
2021-09-02 17:30:02 +05:30
dependabot[bot]
f5ce02b227
Bump github.com/containers/image/v5 from 5.15.2 to 5.16.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.15.2 to 5.16.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.15.2...v5.16.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-26 13:21:26 +00:00
Nalin Dahyabhai
fc6a020330
bump github.com/containers/common
...
Update github.com/containers/common from 0.43.0 to 0.43.2.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com >
2021-08-23 17:59:58 -04:00
Daniel J Walsh
6b06e9b77c
Switch eventlogger to journald by default
...
[NO TESTS NEEDED] Since we are just testing the default.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-08-23 17:59:42 -04:00
dependabot[bot]
fe4dc452ec
Bump github.com/containers/buildah from 1.22.0 to 1.22.3
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.22.0 to 1.22.3.
- [Release notes](https://github.com/containers/buildah/releases )
- [Changelog](https://github.com/containers/buildah/blob/v1.22.3/CHANGELOG.md )
- [Commits](https://github.com/containers/buildah/compare/v1.22.0...v1.22.3 )
---
updated-dependencies:
- dependency-name: github.com/containers/buildah
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-23 12:24:00 +00:00
dependabot[bot]
82bb999e36
Bump github.com/containers/image/v5 from 5.15.1 to 5.15.2
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.15.1 to 5.15.2.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.15.1...v5.15.2 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-19 12:28:10 +00:00
dependabot[bot]
c1b7787a28
Bump github.com/containers/image/v5 from 5.15.0 to 5.15.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.15.0 to 5.15.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.15.0...v5.15.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-17 19:29:15 +00:00
dependabot[bot]
e9f4d81790
Bump github.com/containers/storage from 1.34.0 to 1.34.1
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.34.0 to 1.34.1.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.34.0...v1.34.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-17 12:21:23 +00:00
dependabot[bot]
f7de8bc809
Bump github.com/containers/storage from 1.33.1 to 1.34.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.33.1 to 1.34.0.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.33.1...v1.34.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-10 13:00:34 +00:00
TomSweeneyRedHat
ddc360fe17
Bump Buildah to v1.22.0 [NO TESTS NEEDED]
...
Bump Buildah to v1.22.0 in preparation for RHEL 8.5 and
RHEL 9.0beta. Also bump c/common to v0.42.1
[NO TESTS NEEDED]
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-08-04 12:52:34 -04:00
dependabot[bot]
c1156d48b5
Bump github.com/containers/storage from 1.33.0 to 1.33.1
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.33.0 to 1.33.1.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.33.0...v1.33.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-02 12:20:13 +00:00
dependabot[bot]
58672847ee
Bump github.com/containers/image/v5 from 5.14.0 to 5.15.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.14.0 to 5.15.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.14.0...v5.15.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-01 11:33:58 +00:00
Sascha Grunert
732ece6ae2
Add --accept-repositories integration tests
...
This adds the integration tests for the repository or namespaced
registry feature introduced in c/common.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2021-07-30 14:53:55 +02:00
dependabot[bot]
b090738328
Bump github.com/containers/storage from 1.32.6 to 1.33.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.32.6 to 1.33.0.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.32.6...v1.33.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-27 13:46:11 +00:00
OpenShift Merge Robot
27a487929e
Merge pull request #11028 from containers/dependabot/go_modules/github.com/containers/image/v5-5.14.0
...
Bump github.com/containers/image/v5 from 5.13.2 to 5.14.0
2021-07-27 15:26:24 +02:00
Valentin Rothberg
1b6423e9f1
refine dangling checks
...
By proxy by vendoring containers/common. Previously, a "dangling" image
was an untagged image; just a described in the Docker docs. The
definition of dangling has now been refined to an untagged image without
children to be compatible with Docker.
Further update a redundant image-prune test.
Fixes : #10998
Fixes : #10832
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-07-26 09:28:17 +02:00
dependabot[bot]
23a938fa26
Bump github.com/containers/image/v5 from 5.13.2 to 5.14.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.13.2 to 5.14.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.13.2...v5.14.0 )
---
updated-dependencies:
- dependency-name: github.com/containers/image/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-25 04:54:29 -04:00
Valentin Rothberg
2e02942d46
vendor containers/common@main
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-07-16 17:32:37 +02:00
Valentin Rothberg
e1ac0c3033
vendor containers/common@main
...
The `IgnorePlatform` options has been removed from the
`LookupImageOptions` in libimage to properly support multi-arch images.
Skip one buildah-bud test which requires updated CI images. This is
currently being done in github.com/containers/podman/pull/10829 but
we need to unblock merging common and buildah into podman.
[NO TESTS NEEDED]
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-07-16 14:19:56 +02:00
dependabot[bot]
084dbeb569
Bump github.com/containers/storage from 1.32.5 to 1.32.6
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.32.5 to 1.32.6.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.32.5...v1.32.6 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-07-12 12:20:58 +00:00
Valentin Rothberg
7eb9ed9758
vendor containers/common@main
...
Pull in fixes for local image lookups.
Fixes : #10835
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-07-02 11:38:28 +02:00
Valentin Rothberg
8b52204baa
vendor containers/common@7482cf851d
...
Make sure that image events are written *after* execution.
Fixes : #10812
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-06-30 13:08:42 +02:00
Daniel J Walsh
05f39af5bd
Bump github.com/containers/storage from 1.32.3 to 1.32.5
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.32.3 to 1.32.5.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.32.3...v1.32.5 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-06-29 15:58:32 -04:00
dependabot[bot]
fb5f70296b
Bump github.com/containers/ocicrypt from 1.1.1 to 1.1.2
...
Bumps [github.com/containers/ocicrypt](https://github.com/containers/ocicrypt ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/containers/ocicrypt/releases )
- [Commits](https://github.com/containers/ocicrypt/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: github.com/containers/ocicrypt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-29 12:30:56 +00:00
Valentin Rothberg
f95b0995e5
remove pkg/registries
...
Pull the trigger on the `pkg/registries` package which acted as a proxy
for `c/image/pkg/sysregistriesv2`. Callers should be using the packages
from c/image directly, if needed at all.
Also make use of libimage's SystemContext() method which returns a copy
of a system context, further reducing the risk of unintentionally
altering global data.
[NO TESTS NEEDED]
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-06-25 09:56:21 +02:00
Valentin Rothberg
5fc622f945
create: support images with invalid platform
...
Much to my regret, there is a number of images in the wild with invalid
platforms breaking the platform checks in libimage that want to make
sure that a local image is matching the expected platform.
Imagine a `podman run --arch=arm64 fedora` with a local amd64 fedora
image. We really shouldn't use the local one in this case and pull down
the arm64 one.
The strict platform checks in libimage in combination with invalid
platforms in images surfaced in Podman being able to pull an image but
failing to look it up in subsequent presence checks. A `podman run`
would hence pull such an image but fail to create the container.
Support images with invalid platforms by vendoring the latest HEAD from
containers/common. Also remove the partially implemented pull-policy
logic from Podman and let libimage handle that entirely. However,
whenever --arch, --os or --platform are specified, the pull policy will
be forced to "newer". This way, we pessimistically assume that the
local image has an invalid platform and we reach out to the registry.
If there's a newer image (i.e., one with a different digest), we'll pull
it down.
Please note that most of the logic has either already been implemented
in libimage or been moved down which allows for removing some clutter
from Podman.
[NO TESTS NEEDED] since c/common has new tests. Podman can rely on the
existing tests.
Fixes : #10648
Fixes : #10682
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-06-23 15:42:13 +02:00
OpenShift Merge Robot
9ec4d04592
Merge pull request #10723 from rhatdan/tmpdir
...
fix systemcontext to use correct TMPDIR
2021-06-21 03:50:31 -04:00
Daniel J Walsh
7864108ff1
fix systemcontext to use correct TMPDIR
...
Users are complaining about read/only /var/tmp failing
even if TMPDIR=/tmp is set.
This PR Fixes: https://github.com/containers/podman/issues/10698
[NO TESTS NEEDED] No way to test this.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-06-18 19:53:24 -04:00
dependabot[bot]
b56d6c6460
Bump github.com/containers/storage from 1.32.2 to 1.32.3
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.32.2 to 1.32.3.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.32.2...v1.32.3 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-18 14:46:38 +00:00
Daniel J Walsh
b6662eed3f
Vendor in containers/common v0.40.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-06-17 14:59:42 -04:00
dependabot[bot]
b5890fc86b
Bump github.com/containers/storage from 1.32.1 to 1.32.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.32.1 to 1.32.2.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.32.1...v1.32.2 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-10 06:28:23 +00:00
dependabot[bot]
346c7fda69
Bump github.com/containers/buildah from 1.21.0 to 1.21.1
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.21.0 to 1.21.1.
- [Release notes](https://github.com/containers/buildah/releases )
- [Changelog](https://github.com/containers/buildah/blob/v1.21.1/CHANGELOG.md )
- [Commits](https://github.com/containers/buildah/compare/v1.21.0...v1.21.1 )
---
updated-dependencies:
- dependency-name: github.com/containers/buildah
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-08 12:36:15 +00:00
Valentin Rothberg
fb4a0c572e
support tag@digest notation
...
Vendor in the latest HEAd of containers/common to implicitly support the
tag@digest notation for images. To remain compatible with Docker, the
tag will be stripped off the image reference and is entirely ignored.
Fixes : #6721
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2021-05-31 14:38:43 +02:00
Daniel J Walsh
c9609d820b
Vendor in containers/storage v1.32.1
...
Theoretically this should fix the aweful flake we have
been suffering with.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-05-27 12:34:26 -04:00