summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Adding system prune for podman v2Sujil022020-04-24
| | | | | | | Register system prune route, handler to support system prune, Adds testcase to validate the system prune flow. Signed-off-by: Sujil02 <sushah@redhat.com>
* Merge pull request #5880 from abitrolly/patch-2OpenShift Merge Robot2020-04-20
|\ | | | | Make `find` ignore dot files
| * Make `find` ignore dot filesAnatoli Babenia2020-04-20
|/ | | | | | | There is no need to search for sources in hidden dirs. In my case there are files from development environment that stand in the way. Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>
* Merge pull request #5733 from sujil02/v2-pod-pruneOpenShift Merge Robot2020-04-18
|\ | | | | Add pod prune for api v2
| * Add pod prune for api v2.Sujil022020-04-17
| | | | | | | | | | | | | | | | Add the ability to prune pods for api v2, Includes the addition of force flag, for client side prompt. Update test suite to support this use case. Signed-off-by: Sujil02 <sushah@redhat.com>
* | Merge pull request #5871 from baude/v2t3OpenShift Merge Robot2020-04-18
|\ \ | |/ |/| enable integration testing
| * enable integration testingBrent Baude2020-04-17
| | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5869 from rhatdan/userOpenShift Merge Robot2020-04-17
|\ \ | |/ |/| We were not handling the user option on create
| * We were not handling the user option on createDaniel J Walsh2020-04-17
| | | | | | | | | | | | With this patch we can get run_passwd_test.go to pass Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | Merge pull request #5548 from kunalkushwaha/image-pruneOpenShift Merge Robot2020-04-17
|\ \ | |/ |/| image prune skips images with child images.
| * test case added for image prune cache imageKunal Kushwaha2020-04-15
| | | | | | | | | | | | | | test case added for skipping cache images and fixed condition in test case for prune dangling image Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
| * note for skipping cache image added.Kunal Kushwaha2020-04-15
| | | | | | | | Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
| * image prune skips images with child images.Kunal Kushwaha2020-04-15
| | | | | | | | | | | | | | | | While image build process, intermediate images are created. These images are also used as cache images, used in rebuilding same images. This fix the deletion of cache images. Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
* | Merge pull request #5868 from baude/v2t2OpenShift Merge Robot2020-04-17
|\ \ | | | | | | Fixes for system tests
| * | Fixes for system testsBrent Baude2020-04-17
| | | | | | | | | | | | | | | | | | Various fixes to protect against regressions in system tests Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5819 from vrothberg/v2-buildOpenShift Merge Robot2020-04-17
|\ \ \ | |/ / |/| | podmanV2: implement build
| * | podmanV2: implement buildValentin Rothberg2020-04-17
| | | | | | | | | | | | | | | | | | | | | | | | Implement `podman build` for the local client. The remote client will require some rather large work in the backend and a new build endpoint for the libpod rest API. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | | Merge pull request #5866 from edsantiago/logformat_bats_summaryOpenShift Merge Robot2020-04-17
|\ \ \ | | | | | | | | Log formatter: add BATS summary line
| * | | Log formatter: add BATS summary lineEd Santiago2020-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BATS emits a summary line (number of tests passed/failed)... but only on a tty or when run with --pretty! In our CI context, with TAP output, it gives no end summary. Fix that. Keep track of 'ok', 'not ok', and 'skipped', and display the counts at the end. Also: add a regression test. You don't need to review or even read it: it's stark, and I'm not even enabling it for CI because it almost certainly won't run due to missing Perl library modules. It's just something I need on my end. Signed-off-by: Ed Santiago <santiago@redhat.com>
* | | | Merge pull request #5855 from baude/v2t1OpenShift Merge Robot2020-04-17
|\ \ \ \ | | | | | | | | | | Enable some testing
| * | | | Enable some testingBrent Baude2020-04-17
| |/ / / | | | | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5657 from AlbanBedel/network-name-fixOpenShift Merge Robot2020-04-17
|\ \ \ \ | |/ / / |/| | | Fix the pod name passed to cni
| * | | If possible use the pod name when creating a networkAlban Bedel2020-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating a network we pass down a name which end up in the K8S_POD_NAME argument to cni plugins. Currently this name is always filled with the container name, so for pods it is the name of the infra container, not really what one would expect. This mess up with the dnsname plugin as it doesn't receive the pod name in K8S_POD_NAME. To fix this pass the pod name when the container is part of a pod, otherwise use the container name like before. Signed-off-by: Alban Bedel <albeu@free.fr> --- v2: Only call GetPod() when a pod id is set
* | | | Merge pull request #5856 from jwhonce/wip/optionsOpenShift Merge Robot2020-04-17
|\ \ \ \ | |_|/ / |/| | | Fix bug where two configurations had been created
| * | | Fix bug where two configurations had been createdJhon Honce2020-04-16
|/ / / | | | | | | | | | | | | | | | * registry.PodmanConfig() new returns a pointer to the source of truth Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | Merge pull request #5852 from baude/v1pruneOpenShift Merge Robot2020-04-16
|\ \ \ | | | | | | | | Podman V2 birth
| * | | Podman V2 birthBrent Baude2020-04-16
|/ / / | | | | | | | | | | | | | | | remote podman v1 and replace with podman v2. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5837 from vrothberg/ignoreOpenShift Merge Robot2020-04-16
|\ \ \ | | | | | | | | [CI:DOCS] .gitignore: ignore v2 remote
| * | | .gitignore: ignore v2 remoteValentin Rothberg2020-04-16
| | | | | | | | | | | | | | | | Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* | | | Merge pull request #5848 from jwhonce/wip/optionsOpenShift Merge Robot2020-04-16
|\ \ \ \ | | | | | | | | | | V2 Enable rootless
| * | | | V2 Enable rootlessJhon Honce2020-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable running podman V2 rootless * Fixed cobra.PersistentPreRunE usage in all the commands * Leveraged cobra.PersistentPreRunE/cobra.PersistentPostRunE to manage: * rootless * trace (--trace) * profiling (--cpu-profile) * initializing the registry copies of Image/Container engines * Help and Usage templates autoset for all sub-commands Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | | | Merge pull request #5839 from rhatdan/troubleshootOpenShift Merge Robot2020-04-16
|\ \ \ \ \ | |/ / / / |/| | | | [CI:DOCS] Add SELinux volume information to troubleshoot.md
| * | | | Add SELinux volume information to troubleshoot.mdDaniel J Walsh2020-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This issue happens enough that we need to put it on the top of the troubleshoot guide. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #5842 from baude/v2bloat2OpenShift Merge Robot2020-04-16
|\ \ \ \ \ | |/ / / / |/| | | | podman v2 remove bloat v2
| * | | | podman v2 remove bloat v2Brent Baude2020-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rid ourseleves of libpod references in v2 client Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #5597 from sujil02/systemd-updatesOpenShift Merge Robot2020-04-16
|\ \ \ \ \ | | | | | | | | | | | | Update podman-generate-systemd man page
| * | | | | Update podman-generate-systemd man pageSujil022020-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update links, content, and adding more examples to show how to run the generated .service files as root and non-root. Fix for #5497 Signed-off-by: Sujil02 <sushah@redhat.com>
* | | | | | Merge pull request #5844 from baude/apiv2filteridfixOpenShift Merge Robot2020-04-16
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | allow filters to work when listing containers
| * | | | | allow filters to work when listing containersBrent Baude2020-04-16
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | enable filters when listing containers on the libpod endpoint. Fixes: #5841 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #5835 from ↵OpenShift Merge Robot2020-04-16
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | containers/dependabot/go_modules/github.com/containers/common-0.9.1 Bump github.com/containers/common from 0.9.0 to 0.9.1
| * | | | Bump github.com/containers/common from 0.9.0 to 0.9.1dependabot-preview[bot]2020-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/containers/common](https://github.com/containers/common) from 0.9.0 to 0.9.1. - [Release notes](https://github.com/containers/common/releases) - [Commits](https://github.com/containers/common/compare/v0.9.0...v0.9.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Valentin Rothberg <rothberg@redhat.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #5826 from cevich/gate_pipOpenShift Merge Robot2020-04-16
|\ \ \ \ \ | | | | | | | | | | | | Cirrus: Fix gate container build failure
| * | | | | Cirrus: Fix gate container build failureChris Evich2020-04-15
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>
| * | | | | logformat: handle apiv2 results, add anchor linksEd Santiago2020-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apiv2 tests emit TAP-compliant output; recognize it and highlight it the same way we do BATS tests. Add anchor links to TAP output, so other tools (e.g. cirrus-flake-summarize) can link to particular lines And, remove a "-f" from "wait" in test-apiv2; looks like there's some version of bash used in some CI VM that doesn't grok it. Signed-off-by: Ed Santiago <santiago@redhat.com>
* | | | | | Merge pull request #5690 from rhatdan/selinuxOpenShift Merge Robot2020-04-16
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Add support for selecting kvm and systemd labels
| * | | | | Add support for selecting kvm and systemd labelsDaniel J Walsh2020-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to better support kata containers and systemd containers container-selinux has added new types. Podman should execute the container with an SELinux process label to match the container type. Traditional Container process : container_t KVM Container Process: containre_kvm_t PID 1 Init process: container_init_t Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | Merge pull request #5834 from rhatdan/versionOpenShift Merge Robot2020-04-16
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Add version to podman info command
| * | | | | Add version to podman info commandDaniel J Walsh2020-04-15
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #5752 from mheon/pod_inspect_structsOpenShift Merge Robot2020-04-15
|\ \ \ \ \ | | | | | | | | | | | | Add basic structure of output for APIv2 pod inspect
| * | | | | Add basic structure of output for APIv2 pod inspectMatthew Heon2020-04-15
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will replace the structs in use in libpod, which cannot be used as they are also directly involved in the database representation of pods and cannot be moved out of Libpod. Signed-off-by: Matthew Heon <mheon@redhat.com>