OpenShift Merge Robot
e3f0b7db75
Merge pull request #8400 from rhatdan/varlink
...
Remove varlink support from podman
2020-12-01 15:30:06 +01:00
Paul Holzinger
3d4a0e42b3
Revert the custom cobra vendor
...
Vendor in the latest cobra release v1.1.1
This will hurt the completion experience but is required for
proper packaging, see: #8528 .
The best solution is to keep the current scripts since they
work fine with cobra v1.1.1.
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
2020-12-01 14:15:18 +01:00
Daniel J Walsh
f62a356515
Remove varlink support from Podman
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-26 16:50:42 -05:00
Daniel J Walsh
20160af018
Switch from pkg/secrets to pkg/subscriptions
...
The buildah/pkg/secrts package was move to
containers/common/pkg/subscriptions.
Switch to using this by default.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-26 07:30:18 -05:00
dependabot-preview[bot]
3344afde72
Bump github.com/containers/common from 0.27.0 to 0.29.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.27.0 to 0.29.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.27.0...v0.29.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-23 05:45:25 -05:00
Daniel J Walsh
0bad9f1ad7
vendor in containers/storage v1.24.1 containers/image v5.8.1
...
These vendors fix the handling of homedirs.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-19 16:09:53 -05:00
TomSweeneyRedHat
b78a90cbde
Bump Buildah to v1.18.0, c/storage to v1.24.0
...
Update to Buildah v1.18.0 and c/storage to v1.24
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-11-16 15:50:14 -05:00
OpenShift Merge Robot
738d62ea96
Merge pull request #7964 from vrothberg/shortnames
...
short-name aliasing
2020-11-13 18:28:17 +01:00
OpenShift Merge Robot
2993e97dec
Merge pull request #6442 from Luap99/podman-autocomplete
...
Shell completion
2020-11-13 16:46:51 +01:00
Valentin Rothberg
8e4a42aa42
short-name aliasing
...
Add support for short-name aliasing.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-11-13 15:40:06 +01:00
dependabot-preview[bot]
b1b6b88f3b
Bump github.com/rootless-containers/rootlesskit from 0.11.0 to 0.11.1
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.11.0...v0.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-12 05:51:44 -05:00
Paul Holzinger
df4bf5c584
Vendor in some cobra PRs to improve the completion experience.
...
This is only temporary until the cobra following PRs are merged:
- PR#1258 Custom completion handle multiple shorhand flags together
- PR#1249 Fix fish handling of "ShellCompDirectiveNoSpace" and file completion
- PR#1213 Fix zsh completion handling of nospace and file completion
- PR#1146 Bash completion V2 with completion descriptions
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
2020-11-12 11:32:03 +01:00
OpenShift Merge Robot
9e71fc4552
Merge pull request #8287 from containers/dependabot/go_modules/github.com/containers/common-0.27.0
...
Bump github.com/containers/common from 0.26.3 to 0.27.0
2020-11-10 19:40:23 +01:00
dependabot-preview[bot]
24ec03a5f1
Bump github.com/containers/common from 0.26.3 to 0.27.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.26.3 to 0.27.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.26.3...v0.27.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-10 07:21:13 -05:00
baude
b7b5b6f8e3
network aliases for container creation
...
podman can now support adding network aliases when running containers
(--network-alias). It requires an updated dnsname plugin as well as an
updated ocicni to work properly.
Signed-off-by: baude <bbaude@redhat.com>
2020-11-09 15:08:58 -06:00
dependabot-preview[bot]
47a1934631
Bump github.com/containers/storage from 1.23.8 to 1.23.9
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.23.8 to 1.23.9.
- [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.23.8...v1.23.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-04 05:09:44 -05:00
dependabot-preview[bot]
c8c35c9792
Bump github.com/containers/storage from 1.23.7 to 1.23.8
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.23.7 to 1.23.8.
- [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.23.7...v1.23.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-02 05:26:11 -05:00
TomSweeneyRedHat
acba9d5c01
Bump Buildah to v1.17.0
...
Bump Buildah to v1.17.0 on Master.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-10-30 13:33:08 -04:00
Valentin Rothberg
65a618886e
new "image" mount type
...
Add a new "image" mount type to `--mount`. The source of the mount is
the name or ID of an image. The destination is the path inside the
container. Image mounts further support an optional `rw,readwrite`
parameter which if set to "true" will yield the mount writable inside
the container. Note that no changes are propagated to the image mount
on the host (which in any case is read only).
Mounts are overlay mounts. To support read-only overlay mounts, vendor
a non-release version of Buildah.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-10-29 15:06:22 +01:00
Daniel J Walsh
2099c86f33
build(deps): bump github.com/containers/common from 0.26.0 to 0.26.3
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.26.0 to 0.26.3.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](containers/common@v0.26.0...v0.26.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-10-27 07:25:23 -04:00
OpenShift Merge Robot
f9df17a446
Merge pull request #8059 from containers/dependabot/go_modules/github.com/spf13/cobra-1.1.1
...
Bump github.com/spf13/cobra from 1.1.0 to 1.1.1
2020-10-26 06:02:29 -04:00
dependabot-preview[bot]
259a9ad219
Bump github.com/spf13/cobra from 1.1.0 to 1.1.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.0...v1.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-10-23 07:02:50 -04:00
dependabot-preview[bot]
22b1d10d31
Bump github.com/containers/buildah from 1.16.4 to 1.16.5
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.16.4 to 1.16.5.
- [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.16.4...v1.16.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-10-23 06:52:53 -04:00
Jhon Honce
bab3cda0e8
Refactor podman to use c/common/pkg/report
...
All formatting for containers stack moved into one package
The does not correct issue with headers when using custom tables
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-10-21 08:16:52 -07:00
Daniel J Walsh
711d4ba027
Bump github.com/containers/common from 0.24.0 to 0.26.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.24.0 to 0.26.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.24.0...v0.26.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-10-16 04:38:06 -04:00
OpenShift Merge Robot
a1d5a518d3
Merge pull request #8028 from containers/dependabot/go_modules/github.com/spf13/cobra-1.1.0
...
Bump github.com/spf13/cobra from 1.0.0 to 1.1.0
2020-10-15 09:32:50 -04:00
OpenShift Merge Robot
d7a1e3fe2a
Merge pull request #8003 from containers/dependabot/go_modules/github.com/onsi/gomega-1.10.3
...
Bump github.com/onsi/gomega from 1.10.2 to 1.10.3
2020-10-15 07:35:23 -04:00
dependabot-preview[bot]
e6d3c492a0
Bump github.com/spf13/cobra from 1.0.0 to 1.1.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-10-15 04:46:01 -04:00
Jhon Honce
eb4a746efc
Restore --format table support
...
* system df
* events
* fix error handling from go routine
* update tests to use gomega matchers for better error messages
* system info
* version
* volume inspect
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-10-13 17:28:45 -07:00
dependabot-preview[bot]
9066292ee4
Bump github.com/onsi/gomega from 1.10.2 to 1.10.3
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.10.2 to 1.10.3.
- [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.10.2...v1.10.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 16:22:29 -04:00
Daniel J Walsh
f9140f7efc
Bump github.com/containers/common from 0.23.0 to 0.24.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.23.0...v0.24.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-10-02 08:59:07 -04:00
dependabot-preview[bot]
9212e0499b
Bump github.com/containers/buildah from 1.16.2 to 1.16.4
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.16.2 to 1.16.4.
- [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.16.2...v1.16.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-10-02 05:54:32 -04:00
dependabot-preview[bot]
e6789cb3e8
Bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.6.0...v1.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-29 05:58:49 -04:00
dependabot-preview[bot]
017f8d6a63
Bump github.com/containers/common from 0.22.0 to 0.23.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.22.0...v0.23.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-25 04:19:55 -04:00
dependabot-preview[bot]
e1270de308
Bump github.com/containers/buildah from 1.16.1 to 1.16.2
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.16.1 to 1.16.2.
- [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.16.1...v1.16.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-23 05:36:41 -04:00
Daniel J Walsh
8d3c7b4202
Bump github.com/rootless-containers/rootlesskit from 0.10.0 to 0.10.1
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.10.0...v0.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-17 16:20:10 -04:00
Akihiro Suda
661786808c
update github.com/docker/docker and relevant deps
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-09-18 02:22:25 +09:00
Daniel J Walsh
08cc87636e
Vendor in containers/buildah 1.16.1
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-11 13:37:37 -04:00
Daniel J Walsh
cd2b2d9fae
Vendor in containers/common v0.22.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-11 09:52:19 -04:00
Daniel J Walsh
98620c56d6
vendor containers/storage v1.23.5
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-10 09:34:31 -04:00
OpenShift Merge Robot
6b1a1fcc5c
Merge pull request #6811 from vrothberg/multi-image-archives
...
podman load/save: support multi-image docker archive
2020-09-09 06:35:56 -04:00
Daniel J Walsh
79d5ae8a36
Bump github.com/onsi/gomega from 1.10.1 to 1.10.2
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.10.1 to 1.10.2.
- [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.10.1...v1.10.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-08 06:08:05 -04:00
Valentin Rothberg
7fea46752c
support multi-image (docker) archives
...
Support loading and saving tarballs with more than one image.
Add a new `/libpod/images/export` endpoint to the rest API to
allow for exporting/saving multiple images into an archive.
Note that a non-release version of containers/image is vendored.
A release version must be vendored before cutting a new Podman
release. We force the containers/image version via a replace in
the go.mod file; this way go won't try to match the versions.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-09-08 08:47:19 +02:00
OpenShift Merge Robot
e848fc6e15
Merge pull request #7551 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.14.1
...
Bump github.com/onsi/ginkgo from 1.14.0 to 1.14.1
2020-09-07 09:53:02 -04:00
dependabot-preview[bot]
2649321ed7
Bump github.com/onsi/ginkgo from 1.14.0 to 1.14.1
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.14.0 to 1.14.1.
- [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.14.0...v1.14.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-07 06:30:58 -04:00
dependabot-preview[bot]
b62fa769f8
Bump github.com/containers/storage from 1.23.2 to 1.23.4
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.23.2 to 1.23.4.
- [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.23.2...v1.23.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-05 06:37:36 -04:00
Daniel J Walsh
270c02f308
Bump github.com/gorilla/mux from 1.7.4 to 1.8.0
...
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux ) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases )
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-09-02 06:46:20 -04:00
dependabot-preview[bot]
cf147050d4
Bump github.com/google/uuid from 1.1.1 to 1.1.2
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/google/uuid/releases )
- [Commits](https://github.com/google/uuid/compare/v1.1.1...v1.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-31 05:13:54 -04:00
OpenShift Merge Robot
b1d6ea26ff
Merge pull request #7471 from containers/dependabot/go_modules/github.com/containernetworking/plugins-0.8.7
...
Bump github.com/containernetworking/plugins from 0.8.6 to 0.8.7
2020-08-28 08:36:12 -04:00
OpenShift Merge Robot
ad80e9a10a
Merge pull request #7421 from containers/dependabot/go_modules/github.com/gorilla/schema-1.2.0
...
Bump github.com/gorilla/schema from 1.1.0 to 1.2.0
2020-08-28 08:27:00 -04:00
dependabot-preview[bot]
34ae9865bb
Bump github.com/containernetworking/plugins from 0.8.6 to 0.8.7
...
Bumps [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins ) from 0.8.6 to 0.8.7.
- [Release notes](https://github.com/containernetworking/plugins/releases )
- [Commits](https://github.com/containernetworking/plugins/compare/v0.8.6...v0.8.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-28 06:13:09 -04:00
dependabot-preview[bot]
f5d151a234
Bump github.com/gorilla/schema from 1.1.0 to 1.2.0
...
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases )
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-28 05:56:49 -04:00
dependabot-preview[bot]
90a86cad3a
Bump k8s.io/apimachinery from 0.18.8 to 0.19.0
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.18.8 to 0.19.0.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.18.8...v0.19.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-28 05:45:35 -04:00
Sascha Grunert
98ead36531
Switch to containers/common for seccomp
...
The seccomp/containers-golang library is not maintained any more and we
should stick to containers/common.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-27 21:14:59 +02:00
Daniel J Walsh
52b14a2218
Update vendor of buildah to latest code
...
Fix podman build man pages to match buildah functionality.
Also document .dockerignore formatted files.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-25 08:13:28 -04:00
OpenShift Merge Robot
8fdc116954
Merge pull request #7372 from giuseppe/add-unified-configuration
...
podman: add option --cgroup-conf
2020-08-24 09:55:14 -04:00
Giuseppe Scrivano
3967c46544
vendor: update opencontainers/runtime-spec
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-08-21 19:06:04 +02:00
Daniel J Walsh
3848cac860
In podman 1.* regression on --cap-add
...
In podman 1.0 if you executed a command like:
podman run --user dwalsh --cap-add net_bind_service alpine nc -l 80
It would work, and the user dwalsh would get the capability, in
podman 2.0, only root and the binding set gets the capability.
This change restores us back to the way podman 1.0 worked.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-21 10:56:29 -04:00
dependabot-preview[bot]
8a25e6ab6e
Bump github.com/containers/image/v5 from 5.5.1 to 5.5.2
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.5.1 to 5.5.2.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.5.1...v5.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-19 05:57:00 -04:00
dependabot-preview[bot]
fec8a29e91
Bump github.com/containers/storage from 1.21.2 to 1.23.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.21.2 to 1.23.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.21.2...v1.23.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-08-15 06:46:11 -04:00
Qi Wang
42d756d77b
Retry pulling image
...
Wrap the inner helper in the retry function. Functions pullimage failed with retriable error will default maxretry 3 times using exponential backoff.
Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-08-04 15:56:19 -04:00
TomSweeneyRedHat
47c91097f7
Bump to Buildah 1.16.0-dev in upstream
...
Bump Buildah to v1.16.0-dev in the upstream branch
of Podman. This will allow us to get a number of new
issues into the upstream branch for use. The version of
Buildah will need to be bumped to v1.16.0 and then
vendored into Podman before we release Podman v2.0
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-08-03 14:34:24 -04:00
Akihiro Suda
3c333e7a93
Bump github.com/rootless-containers/rootlesskit from 0.9.5 to 0.10.0
...
Fix #7016 via https://github.com/rootless-containers/rootlesskit/pull/157
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-28 16:35:05 +09:00
dependabot-preview[bot]
87f60bbfaa
Bump github.com/containers/common from 0.17.0 to 0.18.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.17.0...v0.18.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-23 05:05:26 -04:00
OpenShift Merge Robot
ef03815117
Merge pull request #7045 from containers/dependabot/go_modules/github.com/containers/storage-1.21.2
...
Bump github.com/containers/storage from 1.21.1 to 1.21.2
2020-07-22 07:39:55 -04:00
OpenShift Merge Robot
d88e316913
Merge pull request #7046 from containers/dependabot/go_modules/github.com/containers/common-0.17.0
...
Bump github.com/containers/common from 0.16.0 to 0.17.0
2020-07-22 07:37:16 -04:00
dependabot-preview[bot]
4c7fc773f6
Bump github.com/containers/storage from 1.21.1 to 1.21.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.21.1 to 1.21.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.21.1...v1.21.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-22 05:36:43 -04:00
dependabot-preview[bot]
ca049ef6f9
Bump github.com/containers/common from 0.16.0 to 0.17.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.16.0...v0.17.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-22 05:29:34 -04:00
Ashley Cui
d4d3fbc155
Add --umask flag for create, run
...
--umask sets the umask inside the container
Defaults to 0022
Co-authored-by: Daniel J Walsh <dwalsh@redhat.com>
Signed-off-by: Ashley Cui <acui@redhat.com>
2020-07-21 14:22:30 -04:00
OpenShift Merge Robot
dfca83d37c
Merge pull request #7000 from containers/dependabot/go_modules/github.com/containers/common-0.16.0
...
Bump github.com/containers/common from 0.15.2 to 0.16.0
2020-07-17 05:43:28 -04:00
OpenShift Merge Robot
0bd5181942
Merge pull request #6963 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.25.0incompatible
...
Bump github.com/uber/jaeger-client-go from 2.24.0+incompatible to 2.25.0+incompatible
2020-07-16 17:18:10 -04:00
Daniel J Walsh
fb6d9a84c5
Bump github.com/containers/common from 0.15.2 to 0.16.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.15.2 to 0.16.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.15.2...v0.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-16 13:11:10 -04:00
dependabot-preview[bot]
4113d2c298
Bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.24.0+incompatible to 2.25.0+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.24.0...v2.25.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-14 13:41:53 -04:00
dependabot-preview[bot]
ff8cd2db32
Bump github.com/containers/storage from 1.21.0 to 1.21.1
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.21.0 to 1.21.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.21.0...v1.21.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-14 13:38:16 -04:00
dependabot-preview[bot]
e7085599f5
Bump github.com/containers/storage from 1.20.2 to 1.21.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.20.2 to 1.21.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.20.2...v1.21.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-10 06:30:06 -04:00
Daniel J Walsh
b020d1ad13
Vendor in new version of Buildah
...
This also pulls in latest runc and containers/common
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-09 11:02:28 -04:00
Joseph Gooch
0b1c1ef461
Implement --sdnotify cmdline option to control sd-notify behavior
...
--sdnotify container|conmon|ignore
With "conmon", we send the MAINPID, and clear the NOTIFY_SOCKET so the OCI
runtime doesn't pass it into the container. We also advertise "ready" when the
OCI runtime finishes to advertise the service as ready.
With "container", we send the MAINPID, and leave the NOTIFY_SOCKET so the OCI
runtime passes it into the container for initialization, and let the container advertise further metadata.
This is the default, which is closest to the behavior podman has done in the past.
The "ignore" option removes NOTIFY_SOCKET from the environment, so neither podman nor
any child processes will talk to systemd.
This removes the need for hardcoded CID and PID files in the command line, and
the PIDFile directive, as the pid is advertised directly through sd-notify.
Signed-off-by: Joseph Gooch <mrwizard@dok.org>
2020-07-06 17:47:18 +00:00
OpenShift Merge Robot
778f34a15c
Merge pull request #6859 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.14.0
...
Bump github.com/onsi/ginkgo from 1.13.0 to 1.14.0
2020-07-06 10:09:10 -04:00
dependabot-preview[bot]
064bc32b1c
Bump github.com/onsi/ginkgo from 1.13.0 to 1.14.0
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.13.0 to 1.14.0.
- [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.13.0...v1.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-06 06:17:39 -04:00
TomSweeneyRedHat
a704911061
Bump imagebuilder to v1.1.6 in upstream
...
Bump the imagebuilder package to v1.1.6 in
the upstream branch.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-07-02 14:57:56 -04:00
dependabot-preview[bot]
c4248e62ca
Bump github.com/opentracing/opentracing-go from 1.1.0 to 1.2.0
...
Bumps [github.com/opentracing/opentracing-go](https://github.com/opentracing/opentracing-go ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/opentracing/opentracing-go/releases )
- [Changelog](https://github.com/opentracing/opentracing-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/opentracing/opentracing-go/compare/v1.1.0...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 06:40:04 -04:00
dependabot-preview[bot]
cd9d4f376d
Bump github.com/containers/common from 0.14.3 to 0.15.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.14.3 to 0.15.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.14.3...v0.15.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-01 06:34:45 -04:00
Valentin Rothberg
e4dcb3e31c
vendor github.com/containers/common@v0.14.3
...
Includes several fixes for config parsing and AppArmor.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-06-25 17:53:49 +02:00
TomSweeneyRedHat
fde8040faa
Bump Buildah to v1.15.0
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-06-17 15:32:22 -04:00
Valentin Rothberg
ac4f4b1482
vendor github.com/containers/image/v5@v5.5.1
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-06-17 17:27:04 +02:00
Daniel J Walsh
713287ce36
Vendor containers/common v0.14.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-16 16:44:55 -04:00
OpenShift Merge Robot
298d622a0c
Merge pull request #6607 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.13.0
...
Bump github.com/onsi/ginkgo from 1.12.3 to 1.13.0
2020-06-15 10:39:58 -04:00
dependabot-preview[bot]
ea75042fb3
Bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.23.1+incompatible to 2.24.0+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.23.1...v2.24.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-15 08:36:04 -04:00
dependabot-preview[bot]
68eca3c19e
Bump github.com/onsi/ginkgo from 1.12.3 to 1.13.0
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.12.3 to 1.13.0.
- [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.12.3...v1.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-15 08:35:25 -04:00
dependabot-preview[bot]
28f2cbe0c5
Bump github.com/containers/common from 0.13.0 to 0.13.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.13.0...v0.13.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-12 05:42:09 -04:00
OpenShift Merge Robot
fbe09d78e9
Merge pull request #6533 from containers/dependabot/go_modules/github.com/json-iterator/go-1.1.10
...
Bump github.com/json-iterator/go from 1.1.9 to 1.1.10
2020-06-09 17:47:47 +02:00
dependabot-preview[bot]
2df9edbd4f
Bump github.com/json-iterator/go from 1.1.9 to 1.1.10
...
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go ) from 1.1.9 to 1.1.10.
- [Release notes](https://github.com/json-iterator/go/releases )
- [Commits](https://github.com/json-iterator/go/compare/v1.1.9...v1.1.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-09 10:24:03 -04:00
dependabot-preview[bot]
01c45698ca
Bump github.com/containers/common from 0.12.0 to 0.13.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.12.0...v0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-09 10:23:06 -04:00
dependabot-preview[bot]
edf733c3b6
Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-08 13:17:19 -04:00
dependabot-preview[bot]
1093b78833
Bump github.com/seccomp/containers-golang from 0.4.1 to 0.5.0
...
Bumps [github.com/seccomp/containers-golang](https://github.com/seccomp/containers-golang ) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/seccomp/containers-golang/releases )
- [Commits](https://github.com/seccomp/containers-golang/compare/v0.4.1...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-05 06:23:08 -04:00
Daniel J Walsh
545aef7d9b
Vendor in container/storage v1.20.2
...
Also modify gate Dockerfile to take advantage of skipping
mounting of the storage directory.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-03 17:22:49 -04:00
OpenShift Merge Robot
d10addca6c
Merge pull request #6457 from rhatdan/psgo
...
Update vendor containers/psgo
2020-06-02 15:44:15 +02:00
OpenShift Merge Robot
2937151e37
Merge pull request #6445 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.12.3
...
Bump github.com/onsi/ginkgo from 1.12.2 to 1.12.3
2020-06-02 09:02:08 -04:00
dependabot-preview[bot]
288bb2e858
Bump github.com/onsi/ginkgo from 1.12.2 to 1.12.3
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.12.2 to 1.12.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.12.2...v1.12.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 07:22:54 -04:00
Daniel J Walsh
4157af8776
Update vendor containers/psgo
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 05:56:52 -04:00
dependabot-preview[bot]
23ff93d879
Bump github.com/opencontainers/runc from 1.0.0-rc9 to 1.0.0-rc90
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.0.0-rc9 to 1.0.0-rc90.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc9...v1.0.0-rc90 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-02 05:53:10 -04:00
OpenShift Merge Robot
6d6a629db5
Merge pull request #6165 from containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.9.5
...
Bump github.com/rootless-containers/rootlesskit from 0.9.4 to 0.9.5
2020-05-30 05:09:30 -04:00
Valentin Rothberg
dc80267b59
compat handlers: add X-Registry-Auth header support
...
* Support the `X-Registry-Auth` http-request header.
* The content of the header is a base64 encoded JSON payload which can
either be a single auth config or a map of auth configs (user+pw or
token) with the corresponding registries being the keys. Vanilla
Docker, projectatomic Docker and the bindings are transparantly
supported.
* Add a hidden `--registries-conf` flag. Buildah exposes the same
flag, mostly for testing purposes.
* Do all credential parsing in the client (i.e., `cmd/podman`) pass
the username and password in the backend instead of unparsed
credentials.
* Add a `pkg/auth` which handles most of the heavy lifting.
* Go through the authentication-handling code of most commands, bindings
and endpoints. Migrate them to the new code and fix issues as seen.
A final evaluation and more tests is still required *after* this
change.
* The manifest-push endpoint is missing certain parameters and should
use the ABI function instead. Adding auth-support isn't really
possible without these parts working.
* The container commands and endpoints (i.e., create and run) have not
been changed yet. The APIs don't yet account for the authfile.
* Add authentication tests to `pkg/bindings`.
Fixes : #6384
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-29 15:39:37 +02:00
OpenShift Merge Robot
8e048b23fe
Merge pull request #6429 from containers/dependabot/go_modules/github.com/stretchr/testify-1.6.0
...
Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
2020-05-29 08:23:17 -04:00
dependabot-preview[bot]
ef807d0ac7
Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-29 05:49:55 -04:00
Daniel J Walsh
911b6d8b48
Vendor in containers/common v0.12.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-28 16:58:53 -04:00
dependabot-preview[bot]
a08f3a745a
Bump github.com/opencontainers/selinux from 1.5.1 to 1.5.2
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.5.1...v1.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-26 06:07:34 -04:00
Daniel J Walsh
935a716418
Vendor in latest containers/buildah
...
This will take a significant size away from the podman-remote executables.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-23 06:48:57 -04:00
Daniel J Walsh
cd001a3a9e
Bump github.com/rootless-containers/rootlesskit from 0.9.4 to 0.9.5
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](rootless-containers/rootlesskit@v0.9.4...v0.9.5)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-22 13:09:53 -04:00
dependabot-preview[bot]
f4833346e8
Bump github.com/containers/common from 0.11.2 to 0.11.4
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.11.2 to 0.11.4.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.11.2...v0.11.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-22 05:52:27 -04:00
OpenShift Merge Robot
8e5d7aa79c
Merge pull request #6316 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.12.2
...
Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.2
2020-05-21 19:32:53 +02:00
OpenShift Merge Robot
9eb6c30563
Merge pull request #6314 from containers/dependabot/go_modules/github.com/containers/storage-1.20.1
...
Bump github.com/containers/storage from 1.19.2 to 1.20.1
2020-05-21 19:30:10 +02:00
Giuseppe Scrivano
e51bccec0c
vendor: update seccomp/containers-golang to v0.4.1
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-05-21 16:16:09 +02:00
Daniel J Walsh
7ccf5708da
Bump github.com/containers/storage from 1.19.2 to 1.20.1
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.19.2 to 1.20.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.19.2...v1.20.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-21 09:55:44 -04:00
Daniel J Walsh
2ecd15c0d2
Bump github.com/onsi/ginkgo from 1.12.0 to 1.12.2
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.12.0 to 1.12.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.12.0...v1.12.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-21 09:53:49 -04:00
dependabot-preview[bot]
cdd1f2bbaf
Bump github.com/onsi/gomega from 1.10.0 to 1.10.1
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.10.0 to 1.10.1.
- [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.10.0...v1.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-21 07:35:42 -04:00
Jhon Honce
f9c392f50a
V2 API Version Support
...
* Update blang/semver to allow ParseTolerant() support
* Provide helper functions for API handlers to obtain client's 'version'
path variable focused on API endpoint tree: libpod vs. compat
* Introduce new errors:
* version not given in path, endpoints may determine if this is a hard
error (ErrVersionNotGiven)
* given version not supported (ErrVersionNotSupported), only a soft
error if the handler is going to hijack the connection
* Added unit tests for version parsing
* bindings check version on connect:
* client <= Server API version connection is continued
* client >= Server API version connection fails
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-05-20 10:21:30 -07:00
OpenShift Merge Robot
e35edb6cc5
Merge pull request #6223 from containers/dependabot/go_modules/github.com/containernetworking/plugins-0.8.6
...
Bump github.com/containernetworking/plugins from 0.8.5 to 0.8.6
2020-05-14 06:35:38 -07:00
dependabot-preview[bot]
1f0cc866d4
Bump github.com/containers/storage from 1.19.1 to 1.19.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.19.1 to 1.19.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.19.1...v1.19.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-14 07:23:58 -04:00
dependabot-preview[bot]
9f0845ca43
Bump github.com/containernetworking/plugins from 0.8.5 to 0.8.6
...
Bumps [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins ) from 0.8.5 to 0.8.6.
- [Release notes](https://github.com/containernetworking/plugins/releases )
- [Commits](https://github.com/containernetworking/plugins/compare/v0.8.5...v0.8.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-14 07:22:48 -04:00
Valentin Rothberg
5cfd09073c
vendor crio/ocicni@v0.2.0
...
Fixes : #5193
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-12 14:28:10 +02:00
OpenShift Merge Robot
968741d6de
Merge pull request #6173 from containers/dependabot/go_modules/github.com/containers/common-0.11.2
...
Bump github.com/containers/common from 0.11.1 to 0.11.2
2020-05-12 05:02:47 -07:00
dependabot-preview[bot]
164768c3b9
Bump github.com/containers/image/v5 from 5.4.3 to 5.4.4
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.4.3 to 5.4.4.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.4.3...v5.4.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-11 14:40:55 -04:00
dependabot-preview[bot]
c4e391ad2e
Bump github.com/containers/common from 0.11.1 to 0.11.2
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.11.1...v0.11.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-11 14:18:28 -04:00
OpenShift Merge Robot
7f8b31f5fb
Merge pull request #6049 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.23.1incompatible
...
build(deps): bump github.com/uber/jaeger-client-go from 2.22.1+incompatible to 2.23.1+incompatible
2020-05-08 21:34:06 +02:00
Daniel J Walsh
5cbb0b8a66
Fix handling of overridden paths from database
...
If the first time you run podman in a user account you do a
su - USER, and the second time, you run as the logged in USER
podman fails, because it is not handling the tmpdir definition
in the database. This PR fixes this problem.
vendor containers/common v0.11.1
This should fix a couple of issues we have seen in podman 1.9.1
with handling of libpod.conf.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-08 09:27:39 -04:00
OpenShift Merge Robot
4b300a12ce
Merge pull request #6086 from containers/dependabot/go_modules/k8s.io/api-0.18.2
...
Bump k8s.io/api from 0.17.4 to 0.18.2
2020-05-08 12:59:42 +02:00
Qi Wang
45f731aa49
enable login/logut unspecified args
...
Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-05-07 09:48:13 -04:00
dependabot-preview[bot]
2f0bc5ff1c
Bump k8s.io/api from 0.17.4 to 0.18.2
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.17.4 to 0.18.2.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.17.4...v0.18.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-05 13:35:55 -04:00
dependabot-preview[bot]
86f7dbc4cb
Bump github.com/containers/storage from 1.19.0 to 1.19.1
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.19.0 to 1.19.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.19.0...v1.19.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-05 13:35:24 -04:00
dependabot-preview[bot]
5be55739cc
build(deps): bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.22.1+incompatible to 2.23.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.22.1...v2.23.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-04 08:24:50 -04:00
dependabot-preview[bot]
2e79d60d3e
Bump github.com/sirupsen/logrus from 1.5.0 to 1.6.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.5.0...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-04 08:21:35 -04:00
Daniel J Walsh
97fcbfcbec
cgroupsns was not following containers.conf
...
Implement ParseCgroupsNamespace to handle defaults.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-01 15:00:33 -04:00
Daniel J Walsh
4a2765c498
Properly handle default capabilities listed in containers.conf
...
If user/admin specifies a different list of default capabilties
we need to honor these.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-01 15:00:26 -04:00
OpenShift Merge Robot
8c9e5fdaf0
Merge pull request #5861 from containers/dependabot/go_modules/github.com/containers/psgo-1.5.0
...
Bump github.com/containers/psgo from 1.4.0 to 1.5.0
2020-04-30 21:33:36 +02:00
dependabot-preview[bot]
ddbe1aef17
build(deps): bump github.com/rootless-containers/rootlesskit
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.9.3 to 0.9.4.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.9.3...v0.9.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-27 12:28:24 +02:00
dependabot-preview[bot]
f0ebde8254
Bump github.com/containers/common from 0.9.4 to 0.9.5
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.9.4...v0.9.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-24 06:43:30 -04:00
Daniel J Walsh
4494ec6f04
vendor in containers/common v0.9.4
...
This will change the default of UserNS to false
Also turn on tests for create_staticip_test.go
run_device_test.go, run_selinux_test.go
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-22 06:57:06 -04:00
OpenShift Merge Robot
ce07f1cde8
Merge pull request #5925 from rhatdan/containers.conf
...
Bump to github.com/containers/common to v0.9.2
2020-04-21 16:15:26 -04:00
Daniel J Walsh
08734894ae
Bump to github.com/containers/common to v0.9.2
...
This allows us to fix issues with people with old libpod.conf
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-21 13:31:07 -04:00
Valentin Rothberg
0138ecfba0
v2: implement log{in,out}
...
Implement podman login and logout. Smoke tests were successful but the
system tests are currently failing as we seem unable to run a registry
at the moment.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-21 15:10:31 +02:00
dependabot-preview[bot]
d6d8106601
Bump github.com/containers/psgo from 1.4.0 to 1.5.0
...
Bumps [github.com/containers/psgo](https://github.com/containers/psgo ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/containers/psgo/releases )
- [Commits](https://github.com/containers/psgo/compare/v1.4.0...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-17 06:05:48 -04:00
Daniel J Walsh
c4ca3c71ff
Add support for selecting kvm and systemd labels
...
In order to better support kata containers and systemd containers
container-selinux has added new types. Podman should execute the
container with an SELinux process label to match the container type.
Traditional Container process : container_t
KVM Container Process: containre_kvm_t
PID 1 Init process: container_init_t
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-15 16:52:16 -04:00
Daniel J Walsh
47b6d35bfb
build(deps): bump github.com/containers/common from 0.8.1 to 0.9.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.8.1...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-10 18:48:06 -04:00
Daniel J Walsh
daca146f9d
build(deps): bump github.com/containers/buildah from 1.14.7 to 1.14.8
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.14.7 to 1.14.8.
- [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.14.7...v1.14.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-10 08:56:27 -04:00
TomSweeneyRedHat
405bd5f49a
Bump Buildah to v1.14.7
...
As the title says, bumping Buildah to v1.14.7
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-04-07 18:20:46 -04:00
Daniel J Walsh
cfd64d3e2c
Bump containers/image to v5.4.3
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-07 14:23:59 -04:00
Valentin Rothberg
42fcdbf1a8
vendor c/image v5.4.2
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-07 12:09:48 +02:00
OpenShift Merge Robot
4b69cf0950
Merge pull request #5725 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.5.0
...
build(deps): bump github.com/opencontainers/selinux from 1.4.0 to 1.5.0
2020-04-06 16:47:06 +02:00
dependabot-preview[bot]
6f733ecdbc
build(deps): bump github.com/containers/common from 0.8.0 to 0.8.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.8.0...v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-06 14:24:13 +02:00
dependabot-preview[bot]
12600afce9
build(deps): bump github.com/opencontainers/selinux from 1.4.0 to 1.5.0
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.4.0...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-06 14:15:36 +02:00
dependabot-preview[bot]
eb86bfc344
Bump github.com/containers/common from 0.6.1 to 0.8.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.6.1 to 0.8.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.6.1...v0.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-03 06:35:42 -04:00
dependabot-preview[bot]
4841cd1630
Bump github.com/rootless-containers/rootlesskit from 0.9.2 to 0.9.3
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.9.2...v0.9.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-31 09:05:15 -04:00
OpenShift Merge Robot
c77a57ff2c
Merge pull request #5662 from containers/dependabot/go_modules/github.com/spf13/cobra-0.0.7
...
Bump github.com/spf13/cobra from 0.0.6 to 0.0.7
2020-03-30 17:47:28 +02:00
dependabot-preview[bot]
16fa9b6a0b
Bump github.com/spf13/cobra from 0.0.6 to 0.0.7
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-30 10:00:55 -04:00
Daniel J Walsh
366001fb5f
Update vendor of boltdb and containers/image
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-29 06:16:27 -04:00
Daniel J Walsh
4e2aa8563b
Bump to buildah v1.14.5
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-27 14:49:19 -04:00
OpenShift Merge Robot
ff0124aee1
Merge pull request #5534 from containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.9.2
...
Bump github.com/rootless-containers/rootlesskit from 0.8.0 to 0.9.2
2020-03-25 17:23:48 +01:00
dependabot-preview[bot]
e8e590ed88
Bump github.com/rootless-containers/rootlesskit from 0.8.0 to 0.9.2
...
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit ) from 0.8.0 to 0.9.2.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases )
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.8.0...v0.9.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-25 14:20:34 +01:00
dependabot-preview[bot]
2a3fe35666
Bump github.com/containers/storage from 1.16.5 to 1.16.6
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.16.5 to 1.16.6.
- [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.16.5...v1.16.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-25 08:30:02 -04:00
dependabot-preview[bot]
ee45149d33
Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.4.2...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-24 05:27:57 -04:00
dependabot-preview[bot]
68a5a85cc2
Bump github.com/containers/common from 0.5.0 to 0.6.1
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.5.0 to 0.6.1.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.5.0...v0.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-19 10:40:44 +01:00
Daniel J Walsh
67d0d1e509
Vendor in containers/buildah v1.14.3
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-18 14:26:40 -04:00
Matthew Heon
83d2686f46
Fix vendoring on master
...
It looks like something snuck in and now make vendor fails on
master. This should make things happy.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-17 15:20:14 -04:00
OpenShift Merge Robot
8f1ce4bddd
Merge pull request #5524 from rhatdan/vendor
...
Update containers/storage to v1.16.5
2020-03-17 17:25:21 +01:00
OpenShift Merge Robot
9ef5d28759
Merge pull request #5449 from baude/manifests
...
apiv2 addition of manifests
2020-03-17 16:00:05 +01:00
Daniel J Walsh
8081d9c745
Update containers/storage to v1.16.5
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-17 09:52:11 -04:00
OpenShift Merge Robot
83c037c58c
Merge pull request #5489 from containers/dependabot/go_modules/github.com/containers/common-0.5.0
...
Bump github.com/containers/common from 0.4.2 to 0.5.0
2020-03-16 20:02:27 +01:00
Brent Baude
abbbeacd68
apiv2 addition of manifests
...
add endpoints for create, add, remove, inspect, and push. this allows manifests to be managed through the restful interfaces.
also added go-bindings and tests
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-16 10:03:55 -05:00
dependabot-preview[bot]
a95e9e5b4a
Bump github.com/containers/common from 0.4.2 to 0.5.0
...
Bumps [github.com/containers/common](https://github.com/containers/common ) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/containers/common/releases )
- [Commits](https://github.com/containers/common/compare/v0.4.2...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-13 13:11:17 -04:00
dependabot-preview[bot]
e7e5d125f3
Bump github.com/fsnotify/fsnotify from 1.4.7 to 1.4.9
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.4.7 to 1.4.9.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.4.7...v1.4.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-13 09:31:40 -04:00
dependabot-preview[bot]
925da74118
Bump github.com/containers/storage from 1.16.2 to 1.16.3
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.16.2 to 1.16.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.16.2...v1.16.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-12 10:37:32 -04:00
Valentin Rothberg
450361fc64
update systemd & dbus dependencies
...
Update the outdated systemd and dbus dependencies which are now provided
as go modules. This will further tighten our dependencies and releases
and pave the way for the upcoming auto-update feature.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-10 18:34:55 +01:00
dependabot-preview[bot]
5640520579
Bump github.com/containers/storage from 1.16.1 to 1.16.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.16.1 to 1.16.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.16.1...v1.16.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-09 11:26:33 +01:00
Dan Williams
74ddc0b696
vendor: update github.com/containernetworking/cni to v0.7.2-0.20200304161608-4fae32b84921
...
Specifically to get:
https://github.com/containernetworking/cni/pull/735
6f29b0165883b2b52ccd4dcb937162ea4c86927b intercept netplugin std err
But also pulls in some interface name validation and a compatibility
fix for configurations that don't set a CNI version.
Signed-off-by: Dan Williams <dcbw@redhat.com>
2020-03-06 10:03:27 -06:00
Daniel J Walsh
0015c376a3
Vendor buildah 1.14.2
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-04 16:53:39 -05:00
TomSweeneyRedHat
b61da86b2c
Bump to Buildah v1.14.1
...
As the title says. Bumped to Buildah v1.14.1.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-03-03 09:08:34 -05:00
dependabot-preview[bot]
dc71dfc916
Bump github.com/opencontainers/selinux from 1.3.2 to 1.3.3
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.3.2...v1.3.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 11:03:53 -05:00
Urvashi Mohnani
151bf72bed
Vendor in latest containers/buildah
...
Pulls in fix that sets the correct ownership on
the working directory during the build process.
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2020-02-27 09:12:10 -05:00
Daniel J Walsh
68c313911e
Update vendor of buildah and containers/common
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-25 07:46:20 -04:00
dependabot-preview[bot]
4b5c0028cc
build(deps): bump github.com/opencontainers/selinux from 1.3.1 to 1.3.2
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.3.1...v1.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-21 07:16:38 -05:00
Daniel J Walsh
3a8acfbbe5
build(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.6
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/0.0.5...v0.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-20 05:12:34 -05:00
Daniel J Walsh
96de762eed
Update to the latest version of buildah
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-19 16:04:00 -05:00
OpenShift Merge Robot
f2bcc9cc7d
Merge pull request #5258 from containers/dependabot/go_modules/github.com/containers/storage-1.16.0
...
build(deps): bump github.com/containers/storage from 1.15.8 to 1.16.0
2020-02-19 17:50:11 +01:00
dependabot-preview[bot]
86be569961
build(deps): bump github.com/containers/storage from 1.15.8 to 1.16.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.8 to 1.16.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.15.8...v1.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-19 11:40:53 +01:00
dependabot-preview[bot]
74290c4b36
build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-19 11:37:20 +01:00
Valentin Rothberg
85b7374491
add pkg/signal
...
Add pkg/signal to deal with parts of signal processing and translating
signals from string to numeric representations. The code has been
copied from docker/docker (and attributed with the copyright) but been
reduced to only what libpod needs (on Linux).
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-14 15:04:14 +01:00
Valentin Rothberg
156ce5cd7d
add pkg/capabilities
...
Add pkg/capabibilities to deal with capabilities. The code has been
copied from Docker (and attributed with the copyright) but changed
significantly to only do what we really need. The code has also been
simplified and will perform better due to removed redundancy.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-14 12:00:45 +01:00
dependabot-preview[bot]
b916263d01
build(deps): bump github.com/gorilla/mux from 1.7.3 to 1.7.4
...
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux ) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/gorilla/mux/releases )
- [Commits](https://github.com/gorilla/mux/compare/v1.7.3...v1.7.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-12 05:20:50 -05:00
dependabot-preview[bot]
93b9008540
build(deps): bump github.com/containers/image/v5 from 5.2.0 to 5.2.1
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.2.0...v5.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-02-06 20:49:48 -05:00
OpenShift Merge Robot
98431050b4
Merge pull request #5056 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.12.0
...
build(deps): bump github.com/onsi/ginkgo from 1.11.0 to 1.12.0
2020-02-05 22:21:57 +01:00
Valentin Rothberg
baec9f3b10
vendor github.com/mtrmac/gpgme@v0.1.2
...
Fixes a build regression on CentOS 7 and RHEL 7 with older gpgme
versions.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-05 09:56:25 +01:00
Valentin Rothberg
801977b40d
vendor github.com/containers/image/v5@v5.2.0
...
See release notes:
https://github.com/containers/image/releases/tag/v5.2.0
Fixes : #4877
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-05 09:55:50 +01:00
dependabot-preview[bot]
646e1944a2
build(deps): bump github.com/onsi/ginkgo from 1.11.0 to 1.12.0
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.11.0 to 1.12.0.
- [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.11.0...v1.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-04 13:41:18 -05:00
Daniel J Walsh
5e7d6e52dd
Merge pull request #5053 from containers/dependabot/go_modules/github.com/containers/storage-1.15.8
...
build(deps): bump github.com/containers/storage from 1.15.7 to 1.15.8
2020-02-03 09:27:58 -05:00
dependabot-preview[bot]
94453c85c7
build(deps): bump github.com/containers/storage from 1.15.7 to 1.15.8
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.7 to 1.15.8.
- [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.15.7...v1.15.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-03 13:51:31 +01:00
dependabot-preview[bot]
fac6b784f8
build(deps): bump github.com/onsi/gomega from 1.8.1 to 1.9.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.8.1 to 1.9.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.8.1...v1.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-03 13:50:26 +01:00
dependabot-preview[bot]
12b379a623
build(deps): bump github.com/opencontainers/selinux from 1.3.0 to 1.3.1
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/1.3.0...v1.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-28 11:16:17 +01:00
Valentin Rothberg
ac8e6c9910
fork fatih/camelcase
...
faith/camelcase has been archived and is no longer maintained.
The package is sufficiently small and self-contained enough to
maintain it in libpod.
Fixes : #4783
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-25 09:42:48 +01:00
OpenShift Merge Robot
f037f24b67
Merge pull request #4947 from containers/dependabot/go_modules/github.com/containers/storage-1.15.7
...
build(deps): bump github.com/containers/storage from 1.15.5 to 1.15.7
2020-01-23 06:15:18 -08:00
OpenShift Merge Robot
8098cbbee1
Merge pull request #4946 from containers/dependabot/go_modules/github.com/vishvananda/netlink-1.1.0
...
build(deps): bump github.com/vishvananda/netlink from 1.0.0 to 1.1.0
2020-01-23 06:15:11 -08:00
OpenShift Merge Robot
c5f3899cb4
Merge pull request #4943 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.22.1+incompatible
...
build(deps): bump github.com/uber/jaeger-client-go from 2.20.1+incompatible to 2.22.1+incompatible
2020-01-23 06:15:04 -08:00
OpenShift Merge Robot
4113e7152e
Merge pull request #4942 from containers/dependabot/go_modules/github.com/json-iterator/go-1.1.9
...
build(deps): bump github.com/json-iterator/go from 1.1.8 to 1.1.9
2020-01-23 06:14:58 -08:00
dependabot-preview[bot]
4f5d92f651
build(deps): bump github.com/json-iterator/go from 1.1.8 to 1.1.9
...
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go ) from 1.1.8 to 1.1.9.
- [Release notes](https://github.com/json-iterator/go/releases )
- [Commits](https://github.com/json-iterator/go/compare/1.1.8...v1.1.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:18:23 -05:00
dependabot-preview[bot]
fd36a33dc3
build(deps): bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.20.1+incompatible to 2.22.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.20.1...v2.22.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:12:15 -05:00
dependabot-preview[bot]
49bd58e29a
build(deps): bump github.com/containernetworking/plugins
...
Bumps [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins ) from 0.8.2 to 0.8.5.
- [Release notes](https://github.com/containernetworking/plugins/releases )
- [Commits](https://github.com/containernetworking/plugins/compare/v0.8.2...v0.8.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:07:24 -05:00
dependabot-preview[bot]
9f927c4709
build(deps): bump github.com/vishvananda/netlink from 1.0.0 to 1.1.0
...
Bumps [github.com/vishvananda/netlink](https://github.com/vishvananda/netlink ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/vishvananda/netlink/releases )
- [Commits](https://github.com/vishvananda/netlink/compare/v1.0.0...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 04:00:57 -05:00
dependabot-preview[bot]
587a25fd8a
build(deps): bump github.com/containers/storage from 1.15.5 to 1.15.7
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.5 to 1.15.7.
- [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.15.5...v1.15.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-01-23 03:49:20 -05:00
Valentin Rothberg
a0c5762fe8
go.mod: fix parse error
...
Fix the go.mod parsing error caused by updating openshift/api.
Fixes : #4728
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-21 19:13:52 +01:00
Matthew Heon
ac47e80b07
Add an API for Attach over HTTP API
...
The new APIv2 branch provides an HTTP-based remote API to Podman.
The requirements of this are, unfortunately, incompatible with
the existing Attach API. For non-terminal attach, we need append
a header to what was copied from the container, to multiplex
STDOUT and STDERR; to do this with the old API, we'd need to copy
into an intermediate buffer first, to handle the headers.
To avoid this, provide a new API to handle all aspects of
terminal and non-terminal attach, including closing the hijacked
HTTP connection. This might be a bit too specific, but for now,
it seems to be the simplest approach.
At the same time, add a Resize endpoint. This needs to be a
separate endpoint, so our existing channel approach does not work
here.
I wanted to rework the rest of attach at the same time (some
parts of it, particularly how we start the Attach session and how
we do resizing, are (in my opinion) handled much better here.
That may still be on the table, but I wanted to avoid breaking
existing APIs in this already massive change.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-01-16 13:49:21 -05:00
TomSweeneyRedHat
f5bda9994d
Bump to Buildah v1.13.1
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-01-14 14:46:46 -05:00
Valentin Rothberg
6041f707ca
rm contrib/perftest
...
Perftest was intended to be used for testing CPU intensive tasks of
Podman. However, it does not compile for a long while and is not
integrated in the CI which clearly indicates that it has not been
used for a considerable amount of time.
Remove contrib/perftest entirely. If the desire arises to revive it,
all code is still reachable in the git history.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-01-13 14:26:57 +01:00
Jhon Honce
d924494f56
Initial commit on compatible API
...
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Create service command
Use cd cmd/service && go build .
$ systemd-socket-activate -l 8081 cmd/service/service &
$ curl http://localhost:8081/v1.24/images/json
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Correct Makefile
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Two more stragglers
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Report errors back as http headers
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Split out handlers, updated output
Output aligned to docker structures
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Refactored routing, added more endpoints and types
* Encapsulated all the routing information in the handler_* files.
* Added more serviceapi/types, including podman additions. See Info
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Cleaned up code, implemented info content
* Move Content-Type check into serviceHandler
* Custom 404 handler showing the url, mostly for debugging
* Refactored images: better method names and explicit http codes
* Added content to /info
* Added podman fields to Info struct
* Added Container struct
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Add a bunch of endpoints
containers: stop, pause, unpause, wait, rm
images: tag, rmi, create (pull only)
Signed-off-by: baude <bbaude@redhat.com>
Add even more handlers
* Add serviceapi/Error() to improve error handling
* Better support for API return payloads
* Renamed unimplemented to unsupported these are generic endpoints
we don't intend to ever support. Swarm broken out since it uses
different HTTP codes to signal that the node is not in a swarm.
* Added more types
* API Version broken out so it can be validated in the future
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Refactor to introduce ServiceWriter
Signed-off-by: Jhon Honce <jhonce@redhat.com>
populate pods endpoints
/libpod/pods/..
exists, kill, pause, prune, restart, remove, start, stop, unpause
Signed-off-by: baude <bbaude@redhat.com>
Add components to Version, fix Error body
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Add images pull output, fix swarm routes
* docker-py tests/integration/api_client_test.py pass 100%
* docker-py tests/integration/api_image_test.py pass 4/16
+ Test failures include services podman does not support
Signed-off-by: Jhon Honce <jhonce@redhat.com>
pods endpoint submission 2
add create and others; only top and stats is left.
Signed-off-by: baude <bbaude@redhat.com>
Update pull image to work from empty registry
Signed-off-by: Jhon Honce <jhonce@redhat.com>
pod create and container create
first pass at pod and container create. the container create does not
quite work yet but it is very close. pod create needs a partial
rewrite. also broken off the DELETE (rm/rmi) to specific handler funcs.
Signed-off-by: baude <bbaude@redhat.com>
Add docker-py demos, GET .../containers/json
* Update serviceapi/types to reflect libpod not podman
* Refactored removeImage() to provide non-streaming return
Signed-off-by: Jhon Honce <jhonce@redhat.com>
create container part2
finished minimal config needed for create container. started demo.py
for upcoming talk
Signed-off-by: baude <bbaude@redhat.com>
Stop server after honoring request
* Remove casting for method calls
* Improve WriteResponse()
* Update Container API type to match docker API
Signed-off-by: Jhon Honce <jhonce@redhat.com>
fix namespace assumptions
cleaned up namespace issues with libpod.
Signed-off-by: baude <bbaude@redhat.com>
wip
Signed-off-by: baude <bbaude@redhat.com>
Add sliding window when shutting down server
* Added a Timeout rather than closing down service on each call
* Added gorilla/schema dependency for Decode'ing query parameters
* Improved error handling
* Container logs returned and multiplexed for stdout and stderr
* .../containers/{name}/logs?stdout=True&stderr=True
* Container stats
* .../containers/{name}/stats
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Improve error handling
* Add check for at least one std stream required for /containers/{id}/logs
* Add check for state in /containers/{id}/top
* Fill in more fields for /info
* Fixed error checking in service start code
Signed-off-by: Jhon Honce <jhonce@redhat.com>
get rest of image tests for pass
Signed-off-by: baude <bbaude@redhat.com>
linting our content
Signed-off-by: baude <bbaude@redhat.com>
more linting
Signed-off-by: baude <bbaude@redhat.com>
more linting
Signed-off-by: baude <bbaude@redhat.com>
pruning
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]apiv2 pods
migrate from using args in the url to using a json struct in body for
pod create.
Signed-off-by: baude <bbaude@redhat.com>
fix handler_images prune
prune's api changed slightly to deal with filters.
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]enabled base container create tests
enabling the base container create tests which allow us to get more into
the stop, kill, etc tests. many new tests now pass.
Signed-off-by: baude <bbaude@redhat.com>
serviceapi errors: append error message to API message
I dearly hope this is not breaking any other tests but debugging
"Internal Server Error" is not helpful to any user. In case, it
breaks tests, we can rever the commit - that's why it's a small one.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
serviceAPI: add containers/prune endpoint
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
add `service` make target
Also remove the non-functional sub-Makefile.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
add make targets for testing the service
* `sudo make run-service` for running the service.
* `DOCKERPY_TEST="tests/integration/api_container_test.py::ListContainersTest" \
make run-docker-py-tests`
for running a specific tests. Run all tests by leaving the env
variable empty.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Split handlers and server packages
The files were split to help contain bloat. The api/server package will
contain all code related to the functioning of the server while
api/handlers will have all the code related to implementing the end
points.
api/server/register_* will contain the methods for registering
endpoints. Additionally, they will have the comments for generating the
swagger spec file.
See api/handlers/version.go for a small example handler,
api/handlers/containers.go contains much more complex handlers.
Signed-off-by: Jhon Honce <jhonce@redhat.com>
[CI:DOCS]enabled more tests
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]libpod endpoints
small refactor for libpod inclusion and began adding endpoints.
Signed-off-by: baude <bbaude@redhat.com>
Implement /build and /events
* Include crypto libraries for future ssh work
Signed-off-by: Jhon Honce <jhonce@redhat.com>
[CI:DOCS]more image implementations
convert from using for to query structs among other changes including
new endpoints.
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]add bindings for golang
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]add volume endpoints for libpod
create, inspect, ls, prune, and rm
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]apiv2 healthcheck enablement
wire up container healthchecks for the api.
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]Add mount endpoints
via the api, allow ability to mount a container and list container
mounts.
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]Add search endpoint
add search endpoint with golang bindings
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]more apiv2 development
misc population of methods, etc
Signed-off-by: baude <bbaude@redhat.com>
rebase cleanup and epoch reset
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]add more network endpoints
also, add some initial error handling and convenience functions for
standard endpoints.
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]use helper funcs for bindings
use the methods developed to make writing bindings less duplicative and
easier to use.
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]add return info for prereview
begin to add return info and status codes for errors so that we can
review the apiv2
Signed-off-by: baude <bbaude@redhat.com>
[CI:DOCS]first pass at adding swagger docs for api
Signed-off-by: baude <bbaude@redhat.com>
2020-01-10 09:41:39 -06:00
Akihiro Suda
da7595a69f
rootless: use RootlessKit port forwarder
...
RootlessKit port forwarder has a lot of advantages over the slirp4netns port forwarder:
* Very high throughput.
Benchmark result on Travis: socat: 5.2 Gbps, slirp4netns: 8.3 Gbps, RootlessKit: 27.3 Gbps
(https://travis-ci.org/rootless-containers/rootlesskit/builds/597056377 )
* Connections from the host are treated as 127.0.0.1 rather than 10.0.2.2 in the namespace.
No UDP issue (#4586 )
* No tcp_rmem issue (#4537 )
* Probably works with IPv6. Even if not, it is trivial to support IPv6. (#4311 )
* Easily extensible for future support of SCTP
* Easily extensible for future support of `lxc-user-nic` SUID network
RootlessKit port forwarder has been already adopted as the default port forwarder by Rootless Docker/Moby,
and no issue has been reported AFAIK.
As the port forwarder is imported as a Go package, no `rootlesskit` binary is required for Podman.
Fix #4586
May-fix #4559
Fix #4537
May-fix #4311
See https://github.com/rootless-containers/rootlesskit/blob/v0.7.0/pkg/port/builtin/builtin.go
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-01-08 19:35:17 +09:00
Daniel J Walsh
6dfffa92d9
Update containers/storage to v1.15.4
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-23 10:16:20 -05:00
Daniel J Walsh
50ece79387
build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.0.0...v5.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-20 09:30:47 -05:00
dependabot-preview[bot]
63bda55c1f
update c/buildah to v1.12.0
...
Also bump docker/docker.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-12-19 18:17:23 +01:00
OpenShift Merge Robot
16de498f0a
Merge pull request #4491 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.20.1+incompatible
...
build(deps): bump github.com/uber/jaeger-client-go from 2.20.0+incompatible to 2.20.1+incompatible
2019-12-12 16:23:50 +01:00
dependabot-preview[bot]
5941894757
build(deps): bump github.com/containers/psgo from 1.3.2 to 1.4.0
...
Bumps [github.com/containers/psgo](https://github.com/containers/psgo ) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/containers/psgo/releases )
- [Commits](https://github.com/containers/psgo/compare/v1.3.2...v1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-12-11 10:47:21 +01:00
Matthew Heon
18436ec71b
Update containers/storage to v1.15.3
...
Signed-off-by: Matthew Heon <mheon@redhat.com>
2019-12-10 17:19:27 -05:00
dependabot-preview[bot]
625a02a286
build(deps): bump github.com/containers/storage from 1.15.0 to 1.15.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.15.0 to 1.15.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.15.0...v1.15.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-12-06 10:27:06 +01:00
TomSweeneyRedHat
5851dacc32
Bump Buildah to v1.11.6
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2019-12-04 10:08:14 -05:00
Sascha Grunert
63e46cc85c
Add support for image name history
...
We leverage the containers/storage image history tracking feature to
show the previously used image names when running:
`podman images --history`
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-11-27 13:42:06 +01:00
OpenShift Merge Robot
6187e72435
Merge pull request #4544 from containers/dependabot/go_modules/github.com/pkg/profile-1.4.0
...
build(deps): bump github.com/pkg/profile from 1.3.0 to 1.4.0
2019-11-22 23:31:01 +01:00
dependabot-preview[bot]
866391bb57
build(deps): bump github.com/containers/storage from 1.13.5 to 1.14.0
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.13.5 to 1.14.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.13.5...v1.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-22 15:03:53 +01:00
dependabot-preview[bot]
885df0cb1e
build(deps): bump github.com/pkg/profile from 1.3.0 to 1.4.0
...
Bumps [github.com/pkg/profile](https://github.com/pkg/profile ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/pkg/profile/releases )
- [Commits](https://github.com/pkg/profile/compare/v1.3.0...v1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-22 15:00:59 +01:00
TomSweeneyRedHat
6003033ada
Bump to Buildah v1.11.5
...
Bump to Buildah v1.11.5. Most notably changes to the
podman build `--pull` functionality. `--pull=true` and `--pull=false` now
work as Docker does, `--pull-never` added to supply the functionality
of the old `--pull=false`.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2019-11-13 10:57:19 -05:00
dependabot-preview[bot]
3dcac46026
build(deps): bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.20.0+incompatible to 2.20.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.20.0...v2.20.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 10:25:54 -05:00
Daniel J Walsh
5f3a61ed42
Add support for make vendor-in-container
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-08 06:27:17 -05:00
OpenShift Merge Robot
d919961f62
Merge pull request #4451 from giuseppe/set-mac
...
podman: add support for specifying MAC
2019-11-07 20:26:14 +01:00
OpenShift Merge Robot
347499778c
Merge pull request #4378 from containers/dependabot/go_modules/github.com/json-iterator/go-1.1.8
...
Bump github.com/json-iterator/go from 1.1.7 to 1.1.8
2019-11-07 18:49:19 +01:00
OpenShift Merge Robot
20c8a01af1
Merge pull request #4413 from containers/dependabot/go_modules/github.com/onsi/gomega-1.7.1
...
Bump github.com/onsi/gomega from 1.7.0 to 1.7.1
2019-11-07 18:34:33 +01:00
dependabot-preview[bot]
75d67c4920
Bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.19.0+incompatible to 2.20.0+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.19.0...v2.20.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-07 14:05:10 +00:00
Jakub Filak
455f5b7616
vendor: updated ocicni for MAC address
...
`go get github.com/cri-o/ocicni@deac903fd99b6c52d781c9f42b8db3af7dcfd00a`
I had to fix compilation errors in libpod/networking_linux.go
---
ocicni.Networks has changed from string to the structure NetAttachment
with the member Name (the former string value) and the member Ifname
(optional).
I don't think we can make use of Ifname here, so I just map the array of
structures to array of strings - e.g. dropping Ifname.
---
The function GetPodNetworkStatus no longer returns Result but it returns
the wrapper structure NetResult which contains the former Result plus
NetAttachment (Network name and Interface name).
Again, I don't think we can make use of that information here, so I
just added `.Result` to fix the build.
---
Issue: #1136
Signed-off-by: Jakub Filak <jakub.filak@sap.com>
2019-11-06 16:22:18 +01:00
dependabot-preview[bot]
289c20737b
Bump github.com/onsi/gomega from 1.7.0 to 1.7.1
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.7.0 to 1.7.1.
- [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.7.0...v1.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-01 15:02:24 +01:00
Urvashi Mohnani
2a149ad90a
Vendor in latest containers/buildah
...
Pull in changes to pkg/secrets/secrets.go that adds the
logic to disable fips mode if a pod/container has a
label set.
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2019-11-01 09:41:09 -04:00
dependabot-preview[bot]
e22777c3fc
Bump github.com/onsi/ginkgo from 1.10.1 to 1.10.3
...
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo ) from 1.10.1 to 1.10.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.10.1...v1.10.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-01 11:48:26 +01:00
dependabot-preview[bot]
d55734e69b
Bump github.com/json-iterator/go from 1.1.7 to 1.1.8
...
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go ) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/json-iterator/go/releases )
- [Commits](https://github.com/json-iterator/go/compare/v1.1.7...1.1.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-30 15:17:10 +01:00
Valentin Rothberg
fb5367f295
seccomp: use github.com/seccomp/containers-golang
...
Use the github.com/seccomp/containers-golang library instead of the
docker package. The docker package has changed and silently broke
on F31.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-30 11:43:29 +01:00
Nalin Dahyabhai
a4a70b4506
bump containers/image to v5.0.0, buildah to v1.11.4
...
Move to containers/image v5 and containers/buildah to v1.11.4.
Replace an equality check with a type assertion when checking for a
docker.ErrUnauthorizedForCredentials in `podman login`.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2019-10-29 13:35:18 -04:00
Valentin Rothberg
94489e0b0e
vendor github.com/containers/storage@v1.13.5
...
* Do not discard errors when panicing on lockfile open
* config: drop skip_mount_home
* storage: drop ostree deduplication
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-14 19:37:37 +02:00
Valentin Rothberg
6e0ca9e46c
vendor c/psgo@v1.3.2
...
Now supports cgroupsv2.
Fixes : #4192
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-07 16:27:09 +02:00
Miloslav Trmač
d3f59bedb3
Update c/image to v4.0.1 and buildah to 1.11.3
...
This requires updating all import paths throughout, and a matching
buildah update to interoperate.
I can't figure out the reason for go.mod tracking
github.com/containers/image v3.0.2+incompatible // indirect
((go mod graph) lists it as a direct dependency of libpod, but
(go list -json -m all) lists it as an indirect dependency),
but at least looking at the vendor subdirectory, it doesn't seem
to be actually used in the built binaries.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2019-10-04 20:18:23 +02:00
OpenShift Merge Robot
257a985f5a
Merge pull request #4150 from containers/dependabot/go_modules/github.com/onsi/gomega-1.7.0
...
Bump github.com/onsi/gomega from 1.5.0 to 1.7.0
2019-10-02 06:34:50 -07:00
dependabot-preview[bot]
6c72b5c592
Bump github.com/onsi/gomega from 1.5.0 to 1.7.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.5.0 to 1.7.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.5.0...v1.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-01 17:14:55 +02:00
dependabot-preview[bot]
2b7a7a084e
Bump github.com/containernetworking/plugins from 0.8.1 to 0.8.2
...
Bumps [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/containernetworking/plugins/releases )
- [Commits](https://github.com/containernetworking/plugins/compare/v0.8.1...v0.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-01 12:07:26 +02:00
OpenShift Merge Robot
b063383390
Merge pull request #4144 from containers/dependabot/go_modules/github.com/spf13/pflag-1.0.5
...
Bump github.com/spf13/pflag from 1.0.3 to 1.0.5
2019-09-30 13:59:54 -07:00
OpenShift Merge Robot
92a489bcdf
Merge pull request #4149 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.10.1
...
Bump github.com/onsi/ginkgo from 1.8.0 to 1.10.1
2019-09-30 13:43:54 -07:00
OpenShift Merge Robot
04b3a73635
Merge pull request #4145 from containers/dependabot/go_modules/github.com/uber/jaeger-client-go-2.19.0+incompatible
...
Bump github.com/uber/jaeger-client-go from 2.16.0+incompatible to 2.19.0+incompatible
2019-09-30 11:53:01 -07:00
OpenShift Merge Robot
79c18f134d
Merge pull request #4148 from containers/dependabot/go_modules/github.com/docker/docker-credential-helpers-0.6.3
...
Bump github.com/docker/docker-credential-helpers from 0.6.2 to 0.6.3
2019-09-30 11:33:02 -07:00