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
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
OpenShift Merge Robot
0f8ec8e366
Merge pull request #10543 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.8.2
...
Bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2
2021-06-03 17:57:25 +02:00
dependabot[bot]
48ea142ca5
Bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.6+incompatible to 20.10.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.6...v20.10.7 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 09:34:37 +00:00
dependabot[bot]
b36278c3ef
Bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 09:34:20 +00:00
dependabot[bot]
366016fa85
Bump github.com/onsi/ginkgo from 1.16.3 to 1.16.4
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.16.3 to 1.16.4.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v1.16.3...v1.16.4 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 08:01:15 +00:00
OpenShift Merge Robot
24b364a230
Merge pull request #10486 from vrothberg/tag-digest-support
...
support tag@digest notation
2021-06-01 22:38:03 +02:00
OpenShift Merge Robot
7dd463bad1
Merge pull request #10504 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.16.3
...
Bump github.com/onsi/ginkgo from 1.16.2 to 1.16.3
2021-06-01 11:11:30 +02:00
dependabot[bot]
d657a070d3
Bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.28.0+incompatible to 2.29.1+incompatible.
- [Release notes](https://github.com/uber/jaeger-client-go/releases )
- [Changelog](https://github.com/jaegertracing/jaeger-client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber/jaeger-client-go/compare/v2.28.0...v2.29.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 12:55:49 +00:00
dependabot[bot]
761466dcab
Bump github.com/onsi/ginkgo from 1.16.2 to 1.16.3
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.16.2 to 1.16.3.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v1.16.2...v1.16.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-31 14:46:09 +02: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
dependabot[bot]
61167834f2
Bump github.com/onsi/gomega from 1.12.0 to 1.13.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.12.0...v1.13.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 07:02:40 +00:00
Matthew Heon
533d88b656
Add the option of Rootless CNI networking by default
...
When the containers.conf field "NetNS" is set to "Bridge" and the
"RootlessNetworking" field is set to "cni", Podman will now
handle rootless in the same way it does root - all containers
will be joined to a default CNI network, instead of exclusively
using slirp4netns.
If no CNI default network config is present for the user, one
will be auto-generated (this also works for root, but it won't be
nearly as common there since the package should already ship a
config).
I eventually hope to remove the "NetNS=Bridge" bit from
containers.conf, but let's get something in for Brent to work
with.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2021-05-26 15:03:30 -04:00
dependabot[bot]
568e911b84
Bump github.com/containers/common from 0.38.4 to 0.39.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.38.4 to 0.39.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.38.4...v0.39.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 06:27:00 +00:00
dependabot[bot]
94665bdf01
Bump github.com/containers/storage from 1.31.1 to 1.31.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.31.1 to 1.31.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.31.1...v1.31.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-21 07:25:04 +00:00
Daniel J Walsh
c553181fd0
Vendor in containers/buildah v1.21.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-05-20 09:51:36 -04:00
OpenShift Merge Robot
7bcec8697f
Merge pull request #10219 from vrothberg/image-events
...
add libimage events
2021-05-20 09:49:22 -04:00
Valentin Rothberg
8352e5bc3b
add libimage events
...
libimage now supports events which `libpod.Runtime` now uses for image
events.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-20 12:33:09 +02:00
dependabot[bot]
26652111b8
Bump github.com/opencontainers/runc from 1.0.0-rc94 to 1.0.0-rc95
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.0.0-rc94 to 1.0.0-rc95.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc94...v1.0.0-rc95 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 10:10:22 +00:00
Valentin Rothberg
898a8ad285
update c/common
...
Update containers common to the latest HEAD. Some bug fixes in libimage
forced us to have a clearer separation between ordinary images and
manifest lists. Hence, when looking up manifest lists without recursing
into any of their instances, we need to use `LookupManifestList()`.
Also account for some other changes in c/common (e.g., the changed order
in the security labels).
Further vendor the latest HEAD from Buildah which is required to get the
bud tests to pass.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-20 10:21:27 +02:00
dependabot[bot]
6b187e4458
Bump github.com/vbauerster/mpb/v6 from 6.0.3 to 6.0.4
...
Bumps [github.com/vbauerster/mpb/v6](https://github.com/vbauerster/mpb ) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/vbauerster/mpb/releases )
- [Commits](https://github.com/vbauerster/mpb/compare/v6.0.3...v6.0.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-19 06:50:18 +00:00
OpenShift Merge Robot
4dc52f61cc
Merge pull request #10316 from containers/dependabot/go_modules/github.com/containers/storage-1.30.3
...
Bump github.com/containers/storage from 1.30.2 to 1.30.3
2021-05-12 20:53:08 -04:00
Valentin Rothberg
d32863bbb4
podman image tree: restore previous behavior
...
The initial version of libimage changed the order of layers which has
now been restored to remain backwards compatible.
Further changes:
* Fix a bug in the journald logging which requires to strip trailing
new lines from the message. The system tests did not pass due to
empty new lines. Triggered by changing the default logger to
journald in containers/common.
* Fix another bug in the journald logging which embedded the container
ID inside the message rather than the specifid field. That surfaced
in a preceeding whitespace of each log line which broke the system
tests.
* Alter the system tests to make sure that the k8s-file and the
journald logging drivers are executed.
* A number of e2e tests have been changed to force the k8s-file driver
to make them pass when running inside a root container.
* Increase the timeout in a kill test which seems to take longer now.
Reasons are unknown. Tests passed earlier and no signal-related
changes happend. It may be CI VM flake since some system tests but
other flaked.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-12 17:56:59 +02:00
dependabot[bot]
eccd03f3c4
Bump github.com/containers/storage from 1.30.2 to 1.30.3
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.30.2 to 1.30.3.
- [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.30.2...v1.30.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 06:22:36 +00:00
OpenShift Merge Robot
8dcd5b893f
Merge pull request #10304 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.0.0-rc94
...
Bump github.com/opencontainers/runc from 1.0.0-rc93 to 1.0.0-rc94
2021-05-11 10:36:54 -04:00
dependabot[bot]
d71672c57b
Bump github.com/opencontainers/runc from 1.0.0-rc93 to 1.0.0-rc94
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.0.0-rc93 to 1.0.0-rc94.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc93...v1.0.0-rc94 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 06:19:24 +00:00
dependabot[bot]
0c05919e90
Bump github.com/coreos/go-systemd/v22 from 22.3.1 to 22.3.2
...
Bumps [github.com/coreos/go-systemd/v22](https://github.com/coreos/go-systemd ) from 22.3.1 to 22.3.2.
- [Release notes](https://github.com/coreos/go-systemd/releases )
- [Commits](https://github.com/coreos/go-systemd/compare/v22.3.1...v22.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 06:19:04 +00:00
dependabot[bot]
d2f7d5cbab
Bump github.com/containers/storage from 1.30.1 to 1.30.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.30.1 to 1.30.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.30.1...v1.30.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 10:16:27 +00:00
dependabot[bot]
a3fb15dffb
Bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.3-0.20210216175712-646072ed6524+incompatible to 20.10.6+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/commits/v20.10.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 08:04:42 +00:00
dependabot[bot]
3de369fd69
Bump github.com/onsi/gomega from 1.11.0 to 1.12.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.11.0...v1.12.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 08:07:07 +00:00
OpenShift Merge Robot
7b50af42c3
Merge pull request #10214 from containers/dependabot/go_modules/github.com/containers/image/v5-5.12.0
...
Bump github.com/containers/image/v5 from 5.11.1 to 5.12.0
2021-05-05 14:05:11 -04:00
dependabot[bot]
4b427df80c
Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.2
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.16.1 to 1.16.2.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v1.16.1...v1.16.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 13:35:02 +00:00
dependabot[bot]
466d2004cd
Bump github.com/containers/image/v5 from 5.11.1 to 5.12.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.11.1 to 5.12.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.11.1...v5.12.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 13:28:59 +00:00
Valentin Rothberg
0f7d54b026
migrate Podman to containers/common/libimage
...
Migrate the Podman code base over to `common/libimage` which replaces
`libpod/image` and a lot of glue code entirely.
Note that I tried to leave bread crumbs for changed tests.
Miscellaneous changes:
* Some errors yield different messages which required to alter some
tests.
* I fixed some pre-existing issues in the code. Others were marked as
`//TODO`s to prevent the PR from exploding.
* The `NamesHistory` of an image is returned as is from the storage.
Previously, we did some filtering which I think is undesirable.
Instead we should return the data as stored in the storage.
* Touched handlers use the ABI interfaces where possible.
* Local image resolution: previously Podman would match "foo" on
"myfoo". This behaviour has been changed and Podman will now
only match on repository boundaries such that "foo" would match
"my/foo" but not "myfoo". I consider the old behaviour to be a
bug, at the very least an exotic corner case.
* Futhermore, "foo:none" does *not* resolve to a local image "foo"
without tag anymore. It's a hill I am (almost) willing to die on.
* `image prune` prints the IDs of pruned images. Previously, in some
cases, the names were printed instead. The API clearly states ID,
so we should stick to it.
* Compat endpoint image removal with _force_ deletes the entire not
only the specified tag.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-05 11:30:12 +02:00
Brent Baude
d21c1aafe2
Detect if in podman machine virtual vm
...
When in podman machine virtual machines, podman needs to be able to
detect as such. One implementation for this is when creating networks,
the podman-machine cni plugin needs to be added to the configuration.
This PR also includes the latest containers-common.
[NO TESTS NEEDED]
Signed-off-by: Brent Baude <bbaude@redhat.com>
2021-04-30 13:11:05 -05:00
dependabot[bot]
3645db9698
Bump github.com/containers/storage from 1.30.0 to 1.30.1
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.30.0 to 1.30.1.
- [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.30.0...v1.30.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 08:03:12 +00:00
dependabot[bot]
41e8a0af6a
Bump github.com/json-iterator/go from 1.1.10 to 1.1.11
...
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go ) from 1.1.10 to 1.1.11.
- [Release notes](https://github.com/json-iterator/go/releases )
- [Commits](https://github.com/json-iterator/go/compare/v1.1.10...v1.1.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 08:09:20 +00:00
OpenShift Merge Robot
fef3ea80aa
Merge pull request #10081 from sjug/cdi_device_lib
...
Add support for CDI device configuration
2021-04-26 09:31:06 -04:00
dependabot[bot]
8ebafbde34
Bump github.com/containers/common from 0.36.0 to 0.37.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.36.0...v0.37.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 07:59:24 +00:00
OpenShift Merge Robot
5c8ba48807
Merge pull request #10097 from containers/dependabot/go_modules/github.com/containers/storage-1.30.0
...
Bump github.com/containers/storage from 1.29.0 to 1.30.0
2021-04-21 15:41:46 -04:00
dependabot[bot]
5aef11026a
Bump github.com/containers/storage from 1.29.0 to 1.30.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.29.0 to 1.30.0.
- [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.29.0...v1.30.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-21 07:58:32 +00:00
dependabot[bot]
8a3df76ef9
Bump github.com/containers/image/v5 from 5.11.0 to 5.11.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.11.0...v5.11.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-21 07:57:31 +00:00
Sebastian Jug
db7cff8c86
Add support for CDI device configuration
...
- Persist CDIDevices in container config
- Add e2e test
- Log HasDevice error and add additional condition for safety
Signed-off-by: Sebastian Jug <seb@stianj.ug>
2021-04-20 09:18:52 -04:00
dependabot[bot]
bb01c01ef9
Bump github.com/containers/common from 0.35.4 to 0.36.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.35.4 to 0.36.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.35.4...v0.36.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 07:59:08 +00:00
dependabot[bot]
24d2df7307
Bump github.com/containers/ocicrypt from 1.1.0 to 1.1.1
...
Bumps [github.com/containers/ocicrypt](https://github.com/containers/ocicrypt ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/containers/ocicrypt/releases )
- [Commits](https://github.com/containers/ocicrypt/compare/v1.1.0...v1.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 08:01:58 +00:00
OpenShift Merge Robot
a6fb11e34c
Merge pull request #9998 from rhatdan/VENDOR
...
vendor in containers/storage v1.29.0
2021-04-12 11:57:44 -07:00
OpenShift Merge Robot
7203e0a76a
Merge pull request #9994 from containers/dependabot/go_modules/github.com/containers/image/v5-5.11.0
...
Bump github.com/containers/image/v5 from 5.10.5 to 5.11.0
2021-04-12 18:25:00 +02:00