aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Makefile: include -nobuild install targetsLokesh Mandvekar2020-04-23
| | | | | | | | | | | | | | | Distro packaging often uses non-default build and linker flags. The current Makefile cannot be used in the package build process as it will end up rebuilding the binaries with the default flags. This commit introduces install targets which do not depend on the build targets. Distro packages should prefer these if they want to use any non-default flags. NOTE: This commit effectively leaves prior targets unchanged, so users won't notice any difference. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
* Merge pull request #5952 from rhatdan/vOpenShift Merge Robot2020-04-23
|\ | | | | Stop wrapping pull messages
| * Stop wrapping pull messagesDaniel J Walsh2020-04-23
|/ | | | | | | | | | The length and size of our error messages on failure to pull is huge. This patch at least eliminates some of the wrapping. But I think eventually we need to look at containers/image and see if we can modify the error messages to something a little more human friendly. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* Merge pull request #5948 from jwhonce/jira/826OpenShift Merge Robot2020-04-23
|\ | | | | V2 Restore rmi tests
| * V2 Restore rmi testsJhon Honce2020-04-22
|/ | | | | | | * Introduced define.ErrImageInUse to assist in determining the exit code without resorting string searches. Signed-off-by: Jhon Honce <jhonce@redhat.com>
* Merge pull request #5942 from mheon/volume_flagsOpenShift Merge Robot2020-04-22
|\ | | | | Enable basic volumes support in Podmanv2
| * Enable basic volumes support in Podmanv2Matthew Heon2020-04-22
| | | | | | | | | | | | | | | | This enables the --volume, --mount, and --tmpfs flags in Podmanv2. It does not enable init-related flags, image volumes, and --volumes-from. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | Merge pull request #5947 from rhatdan/vOpenShift Merge Robot2020-04-22
|\ \ | | | | | | Turn on version.go except for -v check
| * | Turn on version.go except for -v checkDaniel J Walsh2020-04-22
| | | | | | | | | | | | | | | | | | | | | | | | Currently podman -v does not work but the other version checks all pass. enabling tests to that we can get more tests running in CI. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #5936 from rhatdan/selinux1OpenShift Merge Robot2020-04-22
|\ \ \ | | | | | | | | Move selinux labeling support from pkg/util to pkg/selinux
| * | | Move selinux labeling support from pkg/util to pkg/selinuxDaniel J Walsh2020-04-22
| | |/ | |/| | | | | | | | | | | | | | | | The goal here is to make the package less heavy and not overload the pkg/util. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #5930 from jwhonce/issues/5765OpenShift Merge Robot2020-04-22
|\ \ \ | | | | | | | | Instrumentation to answer #5765
| * | | Instrumentation to answer #5765Jhon Honce2020-04-22
| |/ / | | | | | | | | | | | | | | | * currently wired to localhost:8888 to prevent access from off machine Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | Merge pull request #5945 from rhatdan/pullOpenShift Merge Robot2020-04-22
|\ \ \ | | | | | | | | Fix podman push and podman pull to check for authfile
| * | | Fix podman push and podman pull to check for authfileDaniel J Walsh2020-04-22
| | |/ | |/| | | | | | | | | | | | | | | | This fixes pull_test.go push_test.go is still broken because of lack of registry support. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #5944 from rhatdan/untagOpenShift Merge Robot2020-04-22
|\ \ \ | | | | | | | | Fix integration tests for untag
| * | | Fix integration tests for untagBrent Baude2020-04-22
| | |/ | |/| | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #5202 from QiWang19/path-config-storageconfOpenShift Merge Robot2020-04-22
|\ \ \ | |_|/ |/| | test rootless_storage_path from storage.conf
| * | test rootless_storage_path from strorage.confQi Wang2020-04-22
| |/ | | | | | | | | | | test rootless_storage_path from strorage.conf. If user configured rootless_storage_path in storage.conf, podman info should suggest the change. Signed-off-by: Qi Wang <qiwan@redhat.com>
* | Merge pull request #5941 from jwhonce/jira/792OpenShift Merge Robot2020-04-22
|\ \ | |/ |/| V2 Restore exists E2E tests
| * V2 Restore exists E2E testsJhon Honce2020-04-22
| | | | | | | | | | | | * Fix setting exit code in */exists.go Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | Merge pull request #5940 from rhatdan/rmOpenShift Merge Robot2020-04-22
|\ \ | | | | | | Fix podman rm to have correct exit codes
| * | Fix podman rm to have correct exit codesDaniel J Walsh2020-04-22
| |/ | | | | | | | | | | | | | | | | If you attempt to remove a running container is it supposed to exit with 2 If you attempt to remove a non existing container is is supposed to exit with 1 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | Merge pull request #5929 from QiWang19/v2test-infoOpenShift Merge Robot2020-04-22
|\ \ | |/ |/| Fix v2 test podman info
| * Fix v2 test podman infoQi Wang2020-04-22
|/ | | | Signed-off-by: Qi Wang <qiwan@redhat.com>
* Merge pull request #5938 from rhatdan/v2OpenShift Merge Robot2020-04-22
|\ | | | | Fix handling of --cidfile on create/run
| * Fix handling of --cidfile on create/runDaniel J Walsh2020-04-22
|/ | | | | | | | Currently create and run are ignoring the cidfile flag. Enable stop_test.go to make sure this works. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* Merge pull request #5934 from rhatdan/v2Daniel J Walsh2020-04-22
|\ | | | | vendor in containers/common v0.9.4
| * vendor in containers/common v0.9.4Daniel J Walsh2020-04-22
| | | | | | | | | | | | | | | | | | This will change the default of UserNS to false Also turn on tests for create_staticip_test.go run_device_test.go, run_selinux_test.go Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | Merge pull request #5737 from cevich/add_f32OpenShift Merge Robot2020-04-22
|\ \ | |/ |/| Cirrus: Add support for Fedora 32 beta
| * Cirrus: Add support for Fedora 32Chris Evich2020-04-20
| | | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>
| * Cirrus: More Ubuntu 19 + Fedora 31Chris Evich2020-04-20
| | | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>
* | Merge pull request #5909 from abitrolly/patch-2OpenShift Merge Robot2020-04-21
|\ \ | | | | | | gate/README.md Fix link to .cirrus.yml and reword
| * | gate/README.md Fix link to .cirrus.yml and rewordAnatoli Babenia2020-04-21
| | | | | | | | | | | | Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>
* | | Merge pull request #5919 from rhatdan/v2OpenShift Merge Robot2020-04-21
|\ \ \ | | | | | | | | Lots more fixes for V2 conversion.
| * | | Handle hostname flag from clientDaniel J Walsh2020-04-21
| | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | | Add support for devices from command lineDaniel J Walsh2020-04-21
| | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | | Fix handling of CGroupsParent and CGroupsModeDaniel J Walsh2020-04-21
| | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | | Throw error on IPv6 ip addressesDaniel J Walsh2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | Podman does not currently support IPv6 addresses. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #5925 from rhatdan/containers.confOpenShift Merge Robot2020-04-21
|\ \ \ \ | | | | | | | | | | Bump to github.com/containers/common to v0.9.2
| * | | | Bump to github.com/containers/common to v0.9.2Daniel J Walsh2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to fix issues with people with old libpod.conf Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #5851 from jwhonce/wip/jsonOpenShift Merge Robot2020-04-21
|\ \ \ \ \ | | | | | | | | | | | | Provide a json variable pointing to a configured json API
| * | | | | Provide a json variable pointing to a configured json APIJhon Honce2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * All commands now using the same instance of json API * `json` variable created in each package to prevent `encoding/json` from being re-introduced Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | | | | Merge pull request #5916 from giuseppe/userns-autoOpenShift Merge Robot2020-04-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | v2, podman: plug --userns=auto
| * | | | | | v2, podman: plug --userns=autoGiuseppe Scrivano2020-04-21
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | --userns=auto tests pass now. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | | Merge pull request #5894 from baude/v2testOpenShift Merge Robot2020-04-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | Enable integration tests (skip fails)
| * | | | | | Force integration tests to passBrent Baude2020-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failing tests are now skipped and we should work from this. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | | | Merge pull request #5905 from mheon/redo_namespacesOpenShift Merge Robot2020-04-21
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | Modify namespace generation code for specgen
| * | | | | | Modify namespace generation code for specgenMatthew Heon2020-04-21
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Namespaces have now been changed to properly handle all cases. Spec handling code for namespaces was consolidated in a single function. Still missing: - Image ports - Pod namespaces likely still broken in Podmanv2 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | | | | | Merge pull request #5917 from vrothberg/v2-login-logoutOpenShift Merge Robot2020-04-21
|\ \ \ \ \ \ | |/ / / / / |/| | | | | v2: implement log{in,out}