summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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 #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
| * | | | | Enable pod prune integration testSujil022020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sujil02 <sushah@redhat.com>
* | | | | | Merge pull request #5992 from sujil02/v2-pod-inspectOpenShift Merge Robot2020-04-27
|\ \ \ \ \ \ | | | | | | | | | | | | | | Enable pod inspect integration test
| * | | | | | Enable pod inspect integration testSujil022020-04-26
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable pod inspect integration test Get rid of libpod pod inspect references Remove libpod PodInspect struct. Signed-off-by: Sujil02 <sushah@redhat.com>
* | | | | | Merge pull request #5985 from rhatdan/test1OpenShift Merge Robot2020-04-27
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Enable these tests
| * | | | | Enable these testsDaniel J Walsh2020-04-26
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | These tests are passing locally. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #5990 from baude/v2intrunnsOpenShift Merge Robot2020-04-27
|\ \ \ \ \ | | | | | | | | | | | | enable run_ns integration tests
| * | | | | enable run_ns integration testsBrent Baude2020-04-26
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #5989 from baude/v2intrunrestartOpenShift Merge Robot2020-04-27
|\ \ \ \ \ | | | | | | | | | | | | enable run_restart integration tests
| * | | | | enable run_restart integration testsBrent Baude2020-04-26
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | also, correct arg processing mistake in start Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #5988 from baude/v2intrunsignalOpenShift Merge Robot2020-04-27
|\ \ \ \ \ | |_|_|_|/ |/| | | | enable run_signal integration tests
| * | | | enable run_signal integration testsBrent Baude2020-04-26
| |/ / / | | | | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5983 from baude/v2intcontainerinspectOpenShift Merge Robot2020-04-27
|\ \ \ \ | |/ / / |/| | | Enable container inspect integration tests
| * | | Enable container inspect integration testsBrent Baude2020-04-25
| |/ / | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5982 from baude/v2intpodpsOpenShift Merge Robot2020-04-26
|\ \ \ | |/ / |/| | Enable pod ps integration tests
| * | Enable pod ps integration testsBrent Baude2020-04-25
|/ / | | | | | | | | | | | | | | 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>
* | Merge pull request #5971 from giuseppe/fix-userns-testsOpenShift Merge Robot2020-04-24
|\ \ | | | | | | v2, podman: fix and enable all run_userns_test.go tests
| * | podman: assume user namespace if there are mappingsGiuseppe Scrivano2020-04-24
| | | | | | | | | | | | | | | | | | | | | if some mappings are specified, assume there is a private user namespace. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | podman: implement userns=keep-idGiuseppe Scrivano2020-04-24
| | | | | | | | | | | | | | | | | | | | | add missing implementation for userns=keep-id and enable the user namespaces tests. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | Merge pull request #5977 from QiWang19/commit-testOpenShift Merge Robot2020-04-24
|\ \ \ | | | | | | | | V2 tests: enables commit tests