OpenShift Merge Robot
f079b4ee5e
Merge pull request #6014 from vrothberg/enable-build-tests
...
enable build tests
2020-04-28 14:14:36 +02:00
Valentin Rothberg
34b2ccae4c
enable build tests
...
One test is still being skipped as container creation doesn't yet set
certain data from the image (e.g., PATH).
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-28 08:58:06 +02:00
OpenShift Merge Robot
ebf041652e
Merge pull request #6009 from baude/v2hclog
...
separate healthcheck and container log paths
2020-04-28 00:37:12 +02:00
Brent Baude
fadd011a80
separate healthcheck and container log paths
...
instead of using the container log path to derive where to put the healthchecks, we now put them into the rundir to avoid collision of health check log files when the log path is set by user.
Fixes : #5915
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-27 16:05:48 -05:00
OpenShift Merge Robot
ba6d7cf1b3
Merge pull request #6006 from GabyCT/topic/fixtypo
...
install.md: Fix typo
2020-04-27 22:31:57 +02:00
Gabriela Cervantes
f172361c7a
install.md: Fix typo
...
This PR fixes a typo on the install.md.
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2020-04-27 14:56:57 -05:00
OpenShift Merge Robot
f6f7172494
Merge pull request #6000 from mheon/volume_backend_flags
...
Add support for volumes-from, image volumes, init
2020-04-27 21:53:37 +02:00
OpenShift Merge Robot
8642e256f2
Merge pull request #5978 from rhatdan/ports
...
Make podman container list == podman ps
2020-04-27 21:27:49 +02:00
OpenShift Merge Robot
618d4be212
Merge pull request #6002 from lsm5/fix-specgen-in-bindings-test
...
Fix NewSpecGenerator args in pkg/bindings/test
2020-04-27 20:39:27 +02:00
OpenShift Merge Robot
733c38028d
Merge pull request #5999 from giuseppe/fix-pod-infra-container
...
v2, podman: fix pod tests
2020-04-27 20:37:03 +02:00
OpenShift Merge Robot
ccf009d22e
Merge pull request #6001 from baude/v2intload
...
enable load integration tests
2020-04-27 20:34:39 +02:00
OpenShift Merge Robot
e90112a58c
Merge pull request #5984 from baude/v2intrestart
...
enable integration tests for restart
2020-04-27 20:27:36 +02:00
OpenShift Merge Robot
5554698a44
Merge pull request #5975 from giuseppe/fix-pause-tests
...
[v2] tests: fix pause tests
2020-04-27 20:25:14 +02:00
Matthew Heon
67ec4e1d27
Improve Entrypoint and Command support
...
We should not be overwriting the Specgen's Command and Entrypoint
when building the final command to pass in the OCI spec. Both of
these will be provided to Libpod for use in `podman inspect` and
committing containers, and both must be set to the user's input,
not overwritten by the image if unset.
Fix this by moving command generation into OCI spec generation
and not modifying the SpecGenerator when we do so.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-04-27 13:13:21 -04:00
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
Lokesh Mandvekar
bee486b91f
Fix NewSpecGenerator args in pkg/bindings/test
...
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-04-27 11:29:43 -04:00
Brent Baude
6db081fc5e
enable load integration tests
...
fix bug where multiple images can be loaded and have to be able to handle the return of multiple names
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-27 10:20:53 -05:00
Giuseppe Scrivano
1803b28d8c
test: enable all pod tests
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 17:08:56 +02:00
Giuseppe Scrivano
b69ba30b14
libpod: set hostname from joined container
...
when joining a UTS namespace, take the hostname from the destination
container.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 17:08:53 +02:00
Giuseppe Scrivano
d227d44fd6
namespaces: accept pod namespace
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 17:08:52 +02:00
Giuseppe Scrivano
a7318f7364
pkg, ps: add namespaces methods
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-27 17:08:52 +02: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
Brent Baude
a7b3310db5
enable integration tests for restart
...
enable integrations tests for container restart. fixed bug where --running was not being honored.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-27 09:08:27 -05:00
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