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
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]
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]
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
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
Daniel J Walsh
986cd2a6a4
vendor in containers/storage v1.29.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-04-12 12:23:11 -04:00
dependabot[bot]
3627c4b691
Bump github.com/containers/image/v5 from 5.10.5 to 5.11.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.10.5 to 5.11.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.10.5...v5.11.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 09:45:08 +00:00
Daniel J Walsh
b68106703e
Handle podman-remote --arch, --platform, --os
...
Podman remote should be able to handle remote specification of
arches.
Requires: https://github.com/containers/buildah/pull/3116
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-04-07 05:00:16 -06:00
Daniel J Walsh
fc197fb4f5
[NO TESTS NEEDED] Vendor in containers/buildah v1.20.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-26 13:57:27 -04:00
OpenShift Merge Robot
95ef8a6f03
Merge pull request #9811 from containers/dependabot/go_modules/github.com/containers/storage-1.28.1
...
Bump github.com/containers/storage from 1.28.0 to 1.28.1
2021-03-25 03:08:25 -07:00
dependabot[bot]
a4390cd898
Bump github.com/containers/common from 0.35.3 to 0.35.4
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.35.3 to 0.35.4.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.35.3...v0.35.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 07:06:07 +00:00
dependabot[bot]
9a899da160
Bump github.com/containers/storage from 1.28.0 to 1.28.1
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.28.0 to 1.28.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.28.0...v1.28.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 07:05:38 +00:00
dependabot[bot]
f46b34ecd2
Bump github.com/containers/common from 0.35.0 to 0.35.3
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.35.0 to 0.35.3.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.35.0...v0.35.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 15:03:28 +01:00
Giuseppe Scrivano
ec1651fbf1
Bump github.com/containers/storage from 1.25.0 to 1.28.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.25.0 to 1.28.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.25.0...v1.28.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-03-18 20:27:25 +01:00
Valentin Rothberg
d175fbfdb4
vendor buildah@v1.19.8
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-03-09 09:02:14 +01:00
dependabot-preview[bot]
efc592fba9
Bump github.com/containers/buildah from 1.19.6 to 1.19.7
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.19.6 to 1.19.7.
- [Release notes](https://github.com/containers/buildah/releases )
- [Changelog](https://github.com/containers/buildah/blob/master/CHANGELOG.md )
- [Commits](https://github.com/containers/buildah/compare/v1.19.6...v1.19.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-05 05:12:39 -05:00
Parker Van Roy
ccbe4ff73f
updated common to 0.35.0
...
Signed-off-by: Parker Van Roy <pvanroy@redhat.com>
2021-02-24 14:52:19 -05:00
Eduardo Vega
874f2327e6
Add U volume flag to chown source volumes
...
Signed-off-by: Eduardo Vega <edvegavalerio@gmail.com>
2021-02-22 22:55:19 -06:00
dependabot-preview[bot]
b40d778f44
Bump github.com/containers/buildah from 1.19.4 to 1.19.6
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.19.4 to 1.19.6.
- [Release notes](https://github.com/containers/buildah/releases )
- [Changelog](https://github.com/containers/buildah/blob/v1.19.6/CHANGELOG.md )
- [Commits](https://github.com/containers/buildah/compare/v1.19.4...v1.19.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-21 05:11:26 -05:00
Valentin Rothberg
68414537c1
vendor github.com/containers/image v5.10.2
...
Fixes : #8559
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-02-09 19:05:15 +01:00
OpenShift Merge Robot
763d522983
Merge pull request #9281 from containers/dependabot/go_modules/github.com/containers/ocicrypt-1.1.0
...
Bump github.com/containers/ocicrypt from 1.0.3 to 1.1.0
2021-02-09 18:35:09 +01:00
OpenShift Merge Robot
f98605e0e4
Merge pull request #9125 from ashley-cui/secretswiring
...
Implement Secrets
2021-02-09 17:51:08 +01:00
dependabot-preview[bot]
08d8290f1d
Bump github.com/containers/ocicrypt from 1.0.3 to 1.1.0
...
Bumps [github.com/containers/ocicrypt](https://github.com/containers/ocicrypt ) from 1.0.3 to 1.1.0.
- [Release notes](https://github.com/containers/ocicrypt/releases )
- [Commits](https://github.com/containers/ocicrypt/compare/v1.0.3...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-09 10:49:43 -05:00
Ashley Cui
832a69b0be
Implement Secrets
...
Implement podman secret create, inspect, ls, rm
Implement podman run/create --secret
Secrets are blobs of data that are sensitive.
Currently, the only secret driver supported is filedriver, which means creating a secret stores it in base64 unencrypted in a file.
After creating a secret, a user can use the --secret flag to expose the secret inside the container at /run/secrets/[secretname]
This secret will not be commited to an image on a podman commit
Signed-off-by: Ashley Cui <acui@redhat.com>
2021-02-09 09:13:21 -05:00
Daniel J Walsh
45981ba29a
Bump containers/buildah to v1.19.4
...
Fix handling of --iidfile to happen on the client side.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-08 16:02:20 -05:00
OpenShift Merge Robot
19507d0ffe
Merge pull request #9246 from rhatdan/build
...
Implement missing arguments for podman build
2021-02-08 14:18:31 -05:00
Daniel J Walsh
407e86dcd2
Implement missing arguments for podman build
...
Buildah bud passes a bunch more flags then podman build.
We need to implement hook up all of these flags to get full functionality.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-08 08:39:18 -05:00
Valentin Rothberg
3c3e644c1c
vendor latest containers/common
...
We had a couple of regressions in containers/common in the last release.
Before cutting a new release, let's vendor it here. Since 3.0 has been
branched, we can vendor a non-release commit of c/common.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-02-08 13:19:08 +01:00
dependabot-preview[bot]
ebc42f5086
Bump github.com/containers/storage from 1.24.5 to 1.25.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.24.5 to 1.25.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.24.5...v1.25.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-02-03 09:10:07 -05:00
Daniel J Walsh
280f332bd9
Vendor in containers/buildah v1.19.3
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-29 11:57:20 -05:00
dependabot-preview[bot]
b74f939fb5
Bump github.com/containers/image/v5 from 5.10.0 to 5.10.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.10.0...v5.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-01-29 10:27:35 +01:00
dependabot-preview[bot]
75c3b33899
Bump github.com/containers/image/v5 from 5.9.0 to 5.10.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.9.0...v5.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-28 04:51:57 -05:00
Daniel J Walsh
c88022589a
Bump to containers/buildah 1.9.2
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-15 06:23:19 -05:00
OpenShift Merge Robot
e273ba34ef
Merge pull request #8966 from ashley-cui/common33
...
Vendor in common 0.33.1
2021-01-13 16:01:25 -05:00
Ashley Cui
566a923950
Vendor in common 0.33.1
...
As per title
Signed-off-by: Ashley Cui <acui@redhat.com>
2021-01-13 13:00:33 -05:00
baude
827f6c9cb0
Reduce general binding binary size
...
when using the bindings to *only* make a connection, the binary was
rough 28MB. This PR reduces it down to 11. There is more work to do
but it will come in a secondary PR.
Signed-off-by: baude <bbaude@redhat.com>
2021-01-13 09:35:24 -06:00
Daniel J Walsh
1c1e670d40
Use HTTPProxy settings from containers.conf
...
This PR takes the settings from containers.conf and uses
them. This works on the podman local but does not fix the
issue for podman remote or for APIv2. We need a way
to specify optionalbooleans when creating containers.
Fixes: https://github.com/containers/podman/issues/8843
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-11 17:35:39 -05:00
dependabot-preview[bot]
63ecd1215a
Bump github.com/containers/storage from 1.24.4 to 1.24.5
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.24.4 to 1.24.5.
- [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.24.4...v1.24.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-11 08:50:59 -05:00
Daniel J Walsh
d9ebbbfe5b
Switch references of /var/run -> /run
...
Systemd is now complaining or mentioning /var/run as a legacy directory.
It has been many years where /var/run is a symlink to /run on all
most distributions, make the change to the default.
Partial fix for https://github.com/containers/podman/issues/8369
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-01-07 05:37:24 -05:00
Valentin Rothberg
21f5154399
vendor containers/psgo@v1.5.2
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-01-05 10:44:16 +01:00