Matthew Heon
02671a103f
Add support for volumes-from, image volumes, init
...
This should complete Podmanv2's support for volume-related flags.
Most code was sourced from the old pkg/spec implementation with
modifications to account for the split between frontend flags
(volume, mount, tmpfs) and the backend flags implemented here.
Also enables tests for podman run with volumes
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-04-27 13:13:21 -04:00
OpenShift Merge Robot
ca1c674d2e
Merge pull request #5966 from vrothberg/v2-pod-stats
...
implement pod stats
2020-04-27 16:15:09 +02:00
OpenShift Merge Robot
fdf64f0c66
Merge pull request #5994 from giuseppe/fix-healthchecks
...
v2, podman: fix healthchecks
2020-04-27 15:40:24 +02:00
OpenShift Merge Robot
529824ec1e
Merge pull request #5997 from giuseppe/fix-pod-create
...
v2, podman: fix a bunch of "podman pod *" tests
2020-04-27 15:37:58 +02:00
OpenShift Merge Robot
7cb46450fd
Merge pull request #5973 from rhatdan/man
...
[ci:docs] Cleanup man pages for pull and push
2020-04-27 15:35:27 +02:00
OpenShift Merge Robot
ef46687dc5
Merge pull request #5976 from QiWang19/manifest-add-os
...
Add --os to manifest add
2020-04-27 15:33:00 +02:00
OpenShift Merge Robot
a5bce57218
Merge pull request #5995 from containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.9.4
...
build(deps): bump github.com/rootless-containers/rootlesskit from 0.9.3 to 0.9.4
2020-04-27 15:30:36 +02:00
OpenShift Merge Robot
cea18bd38c
Merge pull request #5996 from vrothberg/ignore
...
gitignore
2020-04-27 15:27:57 +02:00
Giuseppe Scrivano
2fc54facf2
test: enable pod rm tests
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 14:02:54 +02:00
Giuseppe Scrivano
869a1a211a
pkg, pods: report pod rm errors
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 14:02:53 +02:00
Giuseppe Scrivano
1aaef86eb4
pkg, pods: pod rm honors --ignore
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 13:47:52 +02:00
Giuseppe Scrivano
196e12f185
test: enable pod restart tests
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 13:41:58 +02:00
Giuseppe Scrivano
4028215b6a
pkg, pods: not lose pod start/restart errors
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 13:41:08 +02:00
Giuseppe Scrivano
246c0053c1
test: enable pod stop tests
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 13:19:35 +02:00
Giuseppe Scrivano
e589c2219f
pkg, pods: honor --ignore for pod stop
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 13:19:05 +02:00
Giuseppe Scrivano
9a633bd2f5
test: enable pod create tests
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 13:12:24 +02:00
Giuseppe Scrivano
c2f77a281f
specgen: relax test to accept default network
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 13:12:19 +02:00
Giuseppe Scrivano
adb10783d9
spec, pod: honor --dns
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 12:58:02 +02:00
Giuseppe Scrivano
408d1328e2
spec: propagate --no-hosts to specgen
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 12:58:01 +02:00
Valentin Rothberg
9a294dc9b3
sort .gitignore
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-27 12:30:23 +02:00
Valentin Rothberg
ce0b12c928
.gitignore: add pkg/api/swagger.yaml
...
Ignore the generated pkg/api/swagger.yaml.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-27 12:29:23 +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
OpenShift Merge Robot
a469b2d17f
Merge pull request #5993 from sujil02/pod-prune-test
...
Enable pod prune integration test
2020-04-27 12:01:15 +02:00
Valentin Rothberg
7ee0f7e14c
implement pod stats
...
Implement pod stats for the local and remote client. Both code paths end
up in infra/abi to allow for code share.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-27 12:00:35 +02:00
OpenShift Merge Robot
e88b2dc0c9
Merge pull request #5992 from sujil02/v2-pod-inspect
...
Enable pod inspect integration test
2020-04-27 11:58:46 +02:00
OpenShift Merge Robot
7c9a8fc93d
Merge pull request #5985 from rhatdan/test1
...
Enable these tests
2020-04-27 11:56:20 +02:00
OpenShift Merge Robot
c2a33b7bf9
Merge pull request #5990 from baude/v2intrunns
...
enable run_ns integration tests
2020-04-27 11:42:10 +02:00
OpenShift Merge Robot
45932c123b
Merge pull request #5989 from baude/v2intrunrestart
...
enable run_restart integration tests
2020-04-27 11:39:48 +02:00
OpenShift Merge Robot
3bc6a886a0
Merge pull request #5988 from baude/v2intrunsignal
...
enable run_signal integration tests
2020-04-27 11:37:19 +02:00
Giuseppe Scrivano
00233e0311
test: enable healthcheck tests
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 11:31:47 +02:00
Giuseppe Scrivano
eab41cac6f
podman: handle --no-healthcheck
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 11:31:46 +02:00
Giuseppe Scrivano
1cd484e13f
specgen: read healthchecks from the image
...
if there is no healthcheck configuration specified, read it from the
image.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 11:22:27 +02:00
Giuseppe Scrivano
350727570b
podman: special case health-cmd none
...
now we have to pass down this information to libpod
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 11:21:55 +02:00
OpenShift Merge Robot
efafd99e6d
Merge pull request #5983 from baude/v2intcontainerinspect
...
Enable container inspect integration tests
2020-04-27 09:42:33 +02:00
Sujil02
c1766d5e64
Enable pod inspect integration test
...
Enable pod inspect integration test
Get rid of libpod pod inspect references
Remove libpod PodInspect struct.
Signed-off-by: Sujil02 <sushah@redhat.com>
2020-04-26 16:38:52 -04:00
Sujil02
ae634e18b5
Enable pod prune integration test
...
Signed-off-by: Sujil02 <sushah@redhat.com>
2020-04-26 15:50:17 -04:00
Brent Baude
0e82dece77
enable run_restart integration tests
...
also, correct arg processing mistake in start
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-26 10:44:17 -05:00
Brent Baude
4d2e926a2a
enable run_ns integration tests
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-26 10:42:40 -05:00
Brent Baude
a2704003ef
enable run_signal integration tests
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-26 10:34:47 -05:00
OpenShift Merge Robot
13c1d2c6af
Merge pull request #5982 from baude/v2intpodps
...
Enable pod ps integration tests
2020-04-26 13:34:18 +02:00
Daniel J Walsh
8552823ac1
Enable these tests
...
These tests are passing locally.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-26 07:27:41 -04:00
Brent Baude
56c27ea1c6
Enable container inspect integration tests
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-25 13:36:11 -05:00
Brent Baude
942a3ef588
Enable pod ps integration tests
...
Enable integration tests for pod ps.
In addition, fixed bug where output was still using slice go template routines and would fail when no infra container was present. Added integration test to prevent future regressions.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-25 13:13:32 -05:00
Daniel J Walsh
3d0fa726c1
Cleanup man pages for pull and push
...
The podman pull man page has a section on source, but does not show
this in the top definitions. This PR attempts to cleanup the man page
to make it more understandable.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-25 06:33:06 -04:00
OpenShift Merge Robot
2afe579c06
Merge pull request #5971 from giuseppe/fix-userns-tests
...
v2, podman: fix and enable all run_userns_test.go tests
2020-04-24 22:39:26 +02:00
OpenShift Merge Robot
10f3a8ac6b
Merge pull request #5977 from QiWang19/commit-test
...
V2 tests: enables commit tests
2020-04-24 22:29:27 +02:00
Qi Wang
d7a3785b3e
V2 tests: enables commit tests
...
V2 tests enables commit tests
Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-04-24 15:20:04 -04:00
Qi Wang
2f3734b143
Add --os to manifest add
...
Add --os to manifest add for overriding the os field.
Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-04-24 14:57:56 -04:00
OpenShift Merge Robot
a49d5c9c2f
Merge pull request #5974 from giuseppe/fix-init
...
[v2] containers, init: skip invalid state errors with --all
2020-04-24 20:33:17 +02:00
OpenShift Merge Robot
3c3adac528
Merge pull request #5967 from giuseppe/run-test-fixes
...
v2, tests: fix various run_test.go failures
2020-04-24 17:46:20 +02:00