c2f77a281f
specgen: relax test to accept default network
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 13:12:19 +02:00
adb10783d9
spec, pod: honor --dns
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 12:58:02 +02:00
408d1328e2
spec: propagate --no-hosts to specgen
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 12:58:01 +02:00
e88b2dc0c9
Merge pull request #5992 from sujil02/v2-pod-inspect
...
Enable pod inspect integration test
2020-04-27 11:58:46 +02:00
7c9a8fc93d
Merge pull request #5985 from rhatdan/test1
...
Enable these tests
2020-04-27 11:56:20 +02:00
c2a33b7bf9
Merge pull request #5990 from baude/v2intrunns
...
enable run_ns integration tests
2020-04-27 11:42:10 +02:00
45932c123b
Merge pull request #5989 from baude/v2intrunrestart
...
enable run_restart integration tests
2020-04-27 11:39:48 +02:00
3bc6a886a0
Merge pull request #5988 from baude/v2intrunsignal
...
enable run_signal integration tests
2020-04-27 11:37:19 +02:00
efafd99e6d
Merge pull request #5983 from baude/v2intcontainerinspect
...
Enable container inspect integration tests
2020-04-27 09:42:33 +02:00
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
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
4d2e926a2a
enable run_ns integration tests
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-26 10:42:40 -05:00
a2704003ef
enable run_signal integration tests
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-26 10:34:47 -05:00
13c1d2c6af
Merge pull request #5982 from baude/v2intpodps
...
Enable pod ps integration tests
2020-04-26 13:34:18 +02:00
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
56c27ea1c6
Enable container inspect integration tests
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-25 13:36:11 -05:00
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
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
10f3a8ac6b
Merge pull request #5977 from QiWang19/commit-test
...
V2 tests: enables commit tests
2020-04-24 22:29:27 +02:00
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
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
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
bd7cad775a
containers, init: skip invalid state errors with --all
...
reintroduce the same check that exists in v1.9.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 17:33:27 +02:00
dcb99f5315
Merge pull request #5972 from mheon/fix_noinfra
...
Do not join pod namespaces without an infra ctr
2020-04-24 16:58:24 +02:00
88f1994ab9
podman: assume user namespace if there are mappings
...
if some mappings are specified, assume there is a private user
namespace.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 15:55:38 +02:00
b1552d9124
Do not join pod namespaces without an infra ctr
...
We do not want to join pod namespaces if no infra container is
present. A pod may claim it shares namespaces without an infra
container (I'll take an action item to fix that - it really
should not be allowed), which was tripping up our default
namespace code and forcing us to try and join the namespaces of
the nonexistant infra container.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-24 09:44:51 -04:00
64d8b4eebb
podman: implement userns=keep-id
...
add missing implementation for userns=keep-id and enable the user
namespaces tests.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 15:03:50 +02:00
46463e454e
Merge pull request #5968 from giuseppe/fix-cgroup-tests
...
v2, test: enable cgroup parent tests
2020-04-24 14:55:07 +02:00
ec17b2652e
Merge pull request #5965 from containers/dependabot/go_modules/github.com/containers/common-0.9.5
...
Bump github.com/containers/common from 0.9.4 to 0.9.5
2020-04-24 14:52:21 +02:00
c746980baf
test: enable cgroup parent tests
...
cgroups tests should pass now
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 13:05:43 +02:00
3eeb03d1f9
podman: fix --log-opt=path=%s
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 13:02:07 +02:00
145d74716c
podman: fix --http-proxy
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:24 +02:00
a1f73d0954
podman: fix podman --group-add
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:23 +02:00
543d5f1740
test: fix --host-env test
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:22 +02:00
2e6a62fc38
podman: fix --cgroups=disabled
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:21 +02:00
9f8d002e1f
test: enable some run_test.go tests that pass now
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:21 +02:00
a3acc4f977
podman: add support for --rootfs
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 12:56:20 +02:00
2c457a632c
Merge pull request #5962 from rhatdan/selinux
...
Fix SELinux functions names to not be repetitive
2020-04-24 12:48:39 +02:00
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
23d431f0bf
specgen: fix error message
...
the check is correct but the error message was stating the opposite.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 10:49:18 +02:00
36039a38ea
create: move validate after setting default ns
...
validate the configuration only after we set the default namespaces.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-24 10:48:40 +02:00
81c7a2444c
Merge pull request #5957 from giuseppe/drop-foo
...
foo: delete spurious file
2020-04-24 10:03:35 +02:00
d1be20fa5b
Merge pull request #5963 from akerl-unpriv/fix/tmpdir-for-pull
...
set bigfilestemporarydir for pull
2020-04-24 10:00:53 +02:00
26081e79c1
remove blank line
...
Signed-off-by: Les Aker <me@lesaker.org>
2020-04-23 16:25:02 -04:00
2c328f94b6
set bigfilestemporarydir for pull
...
Signed-off-by: Les Aker <me@lesaker.org>
2020-04-23 16:15:55 -04:00
995cd97c10
Fix SELinux functions names to not be repetitive
...
Since functions are now in an selinux subpackage, they should not start with
SELinux
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-23 15:57:34 -04:00
0e9967e038
foo: delete spurious file
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-23 20:51:56 +02:00
802763c604
Merge pull request #5933 from giuseppe/fix-namespaces
...
podman, v2: handle namespaces specified on the CLI
2020-04-23 19:32:08 +02:00
e5a3e46746
Merge pull request #5946 from jwhonce/wip/shutdown
...
V2 restore libpod.Shutdown() when exiting podman commands
2020-04-23 18:27:32 +02:00
48530acbd9
podman: handle namespaces specified on the CLI
...
and handle differently the user namespace as it supports additional
options.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-23 18:05:03 +02:00