Commit graph

23873 commits

Author SHA1 Message Date
Daniel J Walsh
a83d1a2772
Make podman container list == podman ps
Also make
podman create -p PUBLISHPorts
work.

This PR fixes ps_test.go

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-27 09:51:26 -04: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
Giuseppe Scrivano
df9450925b
test: fix check for pause on cgroup v2
There is no freezer controller in the cgroup root, use the current
cgroup to look it up.

The test was never running on cgroup v2.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 11:59:22 +02:00
Giuseppe Scrivano
e750c13b70
test: fix pause tests
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 11:59:22 +02:00
Giuseppe Scrivano
edbdbe5b3a
cmd, ps: add .Status as synonym for .State
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 11:59:21 +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
Sujil02
5436e31441 Adding system prune for podman v2
Register system prune route, handler to support system prune,
Adds testcase to validate the system prune flow.

Signed-off-by: Sujil02 <sushah@redhat.com>
2020-04-24 15:44:07 -04: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