summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* separate healthcheck and container log pathsBrent Baude2020-04-27
| | | | | | | | 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>
* Merge pull request #6000 from mheon/volume_backend_flagsOpenShift Merge Robot2020-04-27
|\ | | | | Add support for volumes-from, image volumes, init
| * Improve Entrypoint and Command supportMatthew Heon2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Add support for volumes-from, image volumes, initMatthew Heon2020-04-27
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #5978 from rhatdan/portsOpenShift Merge Robot2020-04-27
|\ \ | | | | | | Make podman container list == podman ps
| * | Make podman container list == podman psDaniel J Walsh2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also make podman create -p PUBLISHPorts work. This PR fixes ps_test.go Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #6002 from lsm5/fix-specgen-in-bindings-testOpenShift Merge Robot2020-04-27
|\ \ \ | | | | | | | | Fix NewSpecGenerator args in pkg/bindings/test
| * | | Fix NewSpecGenerator args in pkg/bindings/testLokesh Mandvekar2020-04-27
| |/ / | | | | | | | | | Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
* | | Merge pull request #5999 from giuseppe/fix-pod-infra-containerOpenShift Merge Robot2020-04-27
|\ \ \ | | | | | | | | v2, podman: fix pod tests
| * | | test: enable all pod testsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | libpod: set hostname from joined containerGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | when joining a UTS namespace, take the hostname from the destination container. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | namespaces: accept pod namespaceGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | pkg, ps: add namespaces methodsGiuseppe Scrivano2020-04-27
| |/ / | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | Merge pull request #6001 from baude/v2intloadOpenShift Merge Robot2020-04-27
|\ \ \ | | | | | | | | enable load integration tests
| * | | enable load integration testsBrent Baude2020-04-27
| |/ / | | | | | | | | | | | | | | | 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>
* | | Merge pull request #5984 from baude/v2intrestartOpenShift Merge Robot2020-04-27
|\ \ \ | | | | | | | | enable integration tests for restart
| * | | enable integration tests for restartBrent Baude2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | enable integrations tests for container restart. fixed bug where --running was not being honored. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5975 from giuseppe/fix-pause-testsOpenShift Merge Robot2020-04-27
|\ \ \ \ | |_|_|/ |/| | | [v2] tests: fix pause tests
| * | | test: fix check for pause on cgroup v2Giuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | test: fix pause testsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | cmd, ps: add .Status as synonym for .StateGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | Merge pull request #5966 from vrothberg/v2-pod-statsOpenShift Merge Robot2020-04-27
|\ \ \ \ | |_|_|/ |/| | | implement pod stats
| * | | implement pod statsValentin Rothberg2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #5994 from giuseppe/fix-healthchecksOpenShift Merge Robot2020-04-27
|\ \ \ \ | | | | | | | | | | v2, podman: fix healthchecks
| * | | | test: enable healthcheck testsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | podman: handle --no-healthcheckGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | specgen: read healthchecks from the imageGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if there is no healthcheck configuration specified, read it from the image. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | podman: special case health-cmd noneGiuseppe Scrivano2020-04-27
| |/ / / | | | | | | | | | | | | | | | | | | | | now we have to pass down this information to libpod Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | Merge pull request #5997 from giuseppe/fix-pod-createOpenShift Merge Robot2020-04-27
|\ \ \ \ | | | | | | | | | | v2, podman: fix a bunch of "podman pod *" tests
| * | | | test: enable pod rm testsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | pkg, pods: report pod rm errorsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | pkg, pods: pod rm honors --ignoreGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | test: enable pod restart testsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | pkg, pods: not lose pod start/restart errorsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | test: enable pod stop testsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | pkg, pods: honor --ignore for pod stopGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | test: enable pod create testsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | specgen: relax test to accept default networkGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | spec, pod: honor --dnsGiuseppe Scrivano2020-04-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | spec: propagate --no-hosts to specgenGiuseppe Scrivano2020-04-27
| | |/ / | |/| | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | Merge pull request #5973 from rhatdan/manOpenShift Merge Robot2020-04-27
|\ \ \ \ | | | | | | | | | | [ci:docs] Cleanup man pages for pull and push
| * | | | Cleanup man pages for pull and pushDaniel J Walsh2020-04-25
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #5976 from QiWang19/manifest-add-osOpenShift Merge Robot2020-04-27
|\ \ \ \ | | | | | | | | | | Add --os to manifest add
| * | | | Add --os to manifest addQi Wang2020-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add --os to manifest add for overriding the os field. Signed-off-by: Qi Wang <qiwan@redhat.com>
* | | | | Merge pull request #5995 from ↵OpenShift Merge Robot2020-04-27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | build(deps): bump github.com/rootless-containers/rootlesskitdependabot-preview[bot]2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Merge pull request #5996 from vrothberg/ignoreOpenShift Merge Robot2020-04-27
|\ \ \ \ \ \ | | | | | | | | | | | | | | gitignore
| * | | | | | sort .gitignoreValentin Rothberg2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
| * | | | | | .gitignore: add pkg/api/swagger.yamlValentin Rothberg2020-04-27
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore the generated pkg/api/swagger.yaml. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | | | | | Merge pull request #5993 from sujil02/pod-prune-testOpenShift Merge Robot2020-04-27
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | Enable pod prune integration test