summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Make libpod/lock/shm completely Linux-onlyMiloslav Trmač2020-03-21
| | | | | | | If the tests are not Linux-only, (go test ./...) still tries to build and test the package. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* Add stubs for pkg/adapter/terminal_linux.goMiloslav Trmač2020-03-21
| | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* Add a stub for libpod.Container.TopMiloslav Trmač2020-03-21
| | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* Make cmd/podman/shared.GenerateCommand tests Linux-onlyMiloslav Trmač2020-03-21
| | | | | | They rely on existence of /proc/self/exe . Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* Fix the libpod.LabelVolumePath stubMiloslav Trmač2020-03-21
| | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* Only run TestGetImageConfigStopSignal on LinuxMiloslav Trmač2020-03-21
| | | | | | ... because the implementation requires Linux-only pkg/signal Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* Fix the pkg/specgen/SpecGenerator.getSeccompConfig stubMiloslav Trmač2020-03-20
| | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* Merge pull request #5571 from baude/v2existsOpenShift Merge Robot2020-03-20
|\ | | | | podmanv2 container exists|wait
| * podmanv2 enable remote waitBrent Baude2020-03-20
| | | | | | | | | | | | enable remote container wait with condition Signed-off-by: Brent Baude <bbaude@redhat.com>
| * fix remote connection use of contextBrent Baude2020-03-20
| | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
| * use boolreport for containerexists responseBrent Baude2020-03-20
| | | | | | | | | | | | in the case of exists, use a boolreport structure so that responses can be consistent pointer and error Signed-off-by: Brent Baude <bbaude@redhat.com>
| * podmanv2 container exists|waitBrent Baude2020-03-20
| | | | | | | | | | | | enable container exists and wait for podmanv2 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | Merge pull request #5574 from baude/podtestOpenShift Merge Robot2020-03-20
|\ \ | |/ |/| [CI:DOCS]fix type issue in pod binding test
| * [CI:DOCS]fix type issue in pod binding testBrent Baude2020-03-20
|/ | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* Merge pull request #5539 from sujil02/issue-5461OpenShift Merge Robot2020-03-20
|\ | | | | Implemented --iidfile for podman commit
| * Implemented --iidfile for podman commitSujil022020-03-19
| | | | | | | | | | | | | | Added flag to Write the image ID to the file with podman commit command. Fix to issue #5461 Signed-off-by: Sujil02 <sushah@redhat.com>
* | Merge pull request #5525 from baude/apiv2bindinglogsOpenShift Merge Robot2020-03-19
|\ \ | | | | | | apiv2 add bindings for logs|events
| * | apiv2 add bindings for logs|eventsBrent Baude2020-03-19
| | | | | | | | | | | | | | | | | | add go-bindings for logs and events. tests were also added. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | Merge pull request #5088 from mheon/begin_exec_reworkOpenShift Merge Robot2020-03-19
|\ \ \ | | | | | | | | Begin exec rework
| * | | Add inspect for exec sessionsMatthew Heon2020-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This produces detailed information about the configuration of an exec session in a format suitable for the new HTTP API. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * | | Add structure for new exec session tracking to DBMatthew Heon2020-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of the rework of exec sessions, we need to address them independently of containers. In the new API, we need to be able to fetch them by their ID, regardless of what container they are associated with. Unfortunately, our existing exec sessions are tied to individual containers; there's no way to tell what container a session belongs to and retrieve it without getting every exec session for every container. This adds a pointer to the container an exec session is associated with to the database. The sessions themselves are still stored in the container. Exec-related APIs have been restructured to work with the new database representation. The originally monolithic API has been split into a number of smaller calls to allow more fine-grained control of lifecycle. Support for legacy exec sessions has been retained, but in a deprecated fashion; we should remove this in a few releases. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * | | Populate ExecSession with all required fieldsMatthew Heon2020-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of the rework of exec sessions, we want to split Create and Start - and, as a result, we need to keep everything needed to start exec sessions in the struct, not just the bare minimum for tracking running ones. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | | | Merge pull request #5561 from jwhonce/wip/entitiesOpenShift Merge Robot2020-03-19
|\ \ \ \ | | | | | | | | | | [CI:DOCS] Add guidelines for writing podman V2 CLI commands
| * | | | Add guildline for writing podman V2 CLI commandsJhon Honce2020-03-19
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | | | Merge pull request #5558 from mheon/bump-1.8.2OpenShift Merge Robot2020-03-19
|\ \ \ \ \ | |/ / / / |/| | | | Bump to v1.8.2
| * | | | Bump to v1.8.3-devMatthew Heon2020-03-19
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com>
| * | | | Bump to v1.8.2v1.8.2Matthew Heon2020-03-19
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com>
* | | | | Merge pull request #5557 from baude/removebinaryOpenShift Merge Robot2020-03-19
|\ \ \ \ \ | | | | | | | | | | | | [CI:DOCS]remove podmanv2 binary
| * | | | | [CI:DOCS]remove podmanv2 binaryBrent Baude2020-03-19
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #5556 from mheon/release_notes_182_finalOpenShift Merge Robot2020-03-19
|\ \ \ \ \ | |/ / / / |/| | | | [CI:DOCS] Update release notes for v1.8.2 final release
| * | | | Update release notes for v1.8.2 final releaseMatthew Heon2020-03-19
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com>
* | | | | Merge pull request #5546 from jwhonce/wip/entitiesOpenShift Merge Robot2020-03-19
|\ \ \ \ \ | | | | | | | | | | | | V2 podman command
| * | | | | V2 podman commandJhon Honce2020-03-18
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | | | | Merge pull request #5554 from baude/compatfixOpenShift Merge Robot2020-03-19
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | fix reported compat issues
| * | | | | fix reported compat issuesBrent Baude2020-03-19
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | honor -1 in in list containers for compatibility mode. it is commonly used to indicate no limit. change the json id parameter to Id in container create. Fixes: #5553 Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #5465 from edsantiago/man_page_option_checkerOpenShift Merge Robot2020-03-19
|\ \ \ \ \ | | | | | | | | | | | | New test: man page cross-ref against --help
| * | | | | New test: man page cross-ref against --helpEd Santiago2020-03-18
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New hack/xref-helpmsgs-manpages script, added to CI 'gate' task, runs 'podman [subcommand] --help' and cross-references against man pages in docs/source/markdown/podman*.1.md See #5453 and #5460 for instances of the problems the script has found. The careful reader will find an alarming number of special-case bypasses. These are a tradeoff I am making: to get perfect coverage with no handwaving, it would be necessary to make drastic changes to some man pages, and I believe those would be counterproductive. Signed-off-by: Ed Santiago <santiago@redhat.com>
* | | | | Merge pull request #5551 from rhatdan/windowsOpenShift Merge Robot2020-03-19
|\ \ \ \ \ | | | | | | | | | | | | Don't include SUBDIR in windows.zip
| * | | | | Don't include SUBDIR in windows.zipDaniel J Walsh2020-03-19
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | The zip file should returne podman.exe plus the documentation directory. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | Merge pull request #5445 from sujil02/podFilter-newOpenShift Merge Robot2020-03-19
|\ \ \ \ \ | |_|_|/ / |/| | | | Filter pods through pod list api
| * | | | Filter pods through pod list apiSujil022020-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored current filter pods flow through the shared pod functions so filter pod functionalities can be shared between api and cmd. Signed-off-by: Sujil02 <sushah@redhat.com>
* | | | | Merge pull request #5550 from giuseppe/rootless-hidepidOpenShift Merge Robot2020-03-19
|\ \ \ \ \ | |_|/ / / |/| | | | rootless: fix usage with hidepid=1
| * | | | rootless: fix usage with hidepid=1Giuseppe Scrivano2020-03-19
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when /proc is mounted with hidepid=1 a process doesn't see processes from the outer user namespace. This causes an issue reading the cmdline from the parent process. To address it, always read the command line from /proc/self instead of using /proc/PARENT_PID. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | Merge pull request #5542 from rhatdan/vendorOpenShift Merge Robot2020-03-18
|\ \ \ \ | | | | | | | | | | Vendor in containers/buildah v1.14.3
| * | | | Vendor in containers/buildah v1.14.3Daniel J Walsh2020-03-18
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #5540 from jwhonce/issues/5531OpenShift Merge Robot2020-03-18
|\ \ \ \ | | | | | | | | | | Reduce CPU usage when --timeout=0
| * | | | Reduce CPU usage when --timeout=0Jhon Honce2020-03-18
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add second go routine for when a Timer is not needed. * goimports updated some project files Fixes #5531 Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | | Merge pull request #5544 from baude/apiv2serveswaggerOpenShift Merge Robot2020-03-18
|\ \ \ \ | | | | | | | | | | serve swagger when present
| * | | | serve swagger when presentBrent Baude2020-03-18
| | |/ / | |/| | | | | | | | | | | | | | | | | | register the swagger endpoint and add some error handling for when the swagger file does not exist Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | Merge pull request #5543 from edsantiago/swagger_fixesOpenShift Merge Robot2020-03-18
|\ \ \ \ | |/ / / |/| | | swagger: more consistency fixes