Commit Graph

6937 Commits

Author SHA1 Message Date
OpenShift Merge Robot 02de8d576b
Merge pull request #5560 from QiWang19/remote_ceds
Use creds form PullImage remote
2020-03-23 21:22:41 +01:00
OpenShift Merge Robot 3e835a8025
Merge pull request #5588 from baude/apiv2commitfix
apiv2 container commit for libpod
2020-03-23 21:20:07 +01:00
Brent Baude 12e78155e1 apiv2 container commit for libpod
add an endpoint for a libpod specific commit.  add the abilility to define the format.  also update documentation accordingly.

Fixes: #5586

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-23 14:14:17 -05:00
OpenShift Merge Robot 48b3143656
Merge pull request #5436 from QiWang19/rm_created_ctr
container prune remove state created, configured
2020-03-23 15:45:26 +01:00
OpenShift Merge Robot b743f60a4b
Merge pull request #5479 from cevich/auto_release
Cirrus: Disable non-docs release processing
2020-03-23 14:36:30 +01:00
OpenShift Merge Robot e34ec617a3
Merge pull request #5434 from mheon/force_delete_cni_netreg
Attempt manual removal of CNI IP allocations on refresh
2020-03-23 12:04:38 +01:00
OpenShift Merge Robot 72a2011cb1
Merge pull request #5567 from rhatdan/service
Add APIV2 service files
2020-03-23 11:42:22 +01:00
OpenShift Merge Robot d6c9f3e7bf
Merge pull request #5559 from rhatdan/docker
Fix docker man page links
2020-03-23 10:13:06 +01:00
Daniel J Walsh 31d14457a5
Merge pull request #5582 from kunalkushwaha/bugfix-5001
Improved readability in image json output
2020-03-22 17:40:20 -04:00
OpenShift Merge Robot 98687ad4a6
Merge pull request #5552 from giuseppe/rootlessport-handle-sigpipe
rootlessport: handle SIGPIPE
2020-03-22 20:27:58 +01:00
OpenShift Merge Robot dc23c3aed4
Merge pull request #5549 from containers/dependabot/go_modules/github.com/containers/common-0.6.1
Bump github.com/containers/common from 0.5.0 to 0.6.1
2020-03-22 20:25:48 +01:00
Kunal Kushwaha 19bf7adedb Improved readability in image json output
Changes made in json output to improve readability of
podman images output.

Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
2020-03-22 21:38:07 +09:00
OpenShift Merge Robot 2ffff3c6ab
Merge pull request #5576 from baude/nettestrmf
when removing networks for tests, force should be used
2020-03-21 16:46:52 +01:00
OpenShift Merge Robot 89a3e5979b
Merge pull request #5579 from mtrmac/macOS-unit-tests
Make macOS unit tests runnable
2020-03-21 14:48:50 +01:00
OpenShift Merge Robot 195a82ffbc
Merge pull request #5577 from baude/v2volumecreate
podmanv2 volume create
2020-03-21 14:46:39 +01:00
OpenShift Merge Robot e1f2851976
Merge pull request #5578 from baude/v2podexists
podmanv2 pod exists
2020-03-21 12:25:30 +01:00
OpenShift Merge Robot 77187daf07
Merge pull request #5555 from mheon/pod_specgen
Add basic structure of a spec generator for pods
2020-03-21 00:31:03 +01:00
Brent Baude c3a9ff1174 podmanv2 volume create
add volume create

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-20 18:27:08 -05:00
Miloslav Trmač de7bcca7d5 Add stubs for cmd/podman in non-Linux local mode
This is _only_ to be able able to run unit tests.

I didn't even TRY running the result, I'm scared of what it would do.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-03-21 00:21:59 +01:00
Miloslav Trmač 8153ea358a Make libpod/lock/shm completely Linux-only
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>
2020-03-21 00:21:59 +01:00
Miloslav Trmač d48b0b5131 Add stubs for pkg/adapter/terminal_linux.go
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-03-21 00:21:59 +01:00
Miloslav Trmač c6277e7433 Add a stub for libpod.Container.Top
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-03-21 00:21:59 +01:00
Miloslav Trmač bdfe8e699e Make cmd/podman/shared.GenerateCommand tests Linux-only
They rely on existence of /proc/self/exe .

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-03-21 00:21:59 +01:00
Miloslav Trmač 054addf7ac Fix the libpod.LabelVolumePath stub
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-03-21 00:21:59 +01:00
Miloslav Trmač e625b57d22 Only run TestGetImageConfigStopSignal on Linux
... because the implementation requires Linux-only pkg/signal

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-03-21 00:21:59 +01:00
Miloslav Trmač 036531c006 Fix the pkg/specgen/SpecGenerator.getSeccompConfig stub
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-03-20 23:25:15 +01:00
Brent Baude 0feec5de98 podmanv2 pod exists
add pod exists for podman v2

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-20 17:07:57 -05:00
OpenShift Merge Robot 7a095af92a
Merge pull request #5571 from baude/v2exists
podmanv2 container exists|wait
2020-03-20 22:22:20 +01:00
Brent Baude 232b5034cf when removing networks for tests, force should be used
when removing networks in integration tests, we should should force; otherwise if the network has containers associated with it, it will fail to remove.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-20 16:19:58 -05:00
Matthew Heon cec2e6d706 Add basic structure of a spec generator for pods
This will be used for remote creation of pods initially.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-20 16:07:46 -04:00
OpenShift Merge Robot 6df1d2043b
Merge pull request #5574 from baude/podtest
[CI:DOCS]fix type issue in pod binding test
2020-03-20 21:00:28 +01:00
Brent Baude f76aad0d47 [CI:DOCS]fix type issue in pod binding test
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-20 14:45:27 -05:00
Brent Baude c81e065149 podmanv2 enable remote wait
enable remote container wait with condition

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-20 14:33:33 -05:00
Brent Baude 4a00409bf8 fix remote connection use of context
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-20 13:15:50 -05:00
Brent Baude baf3a9b3a7 use boolreport for containerexists response
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>
2020-03-20 13:01:24 -05:00
Brent Baude 87293028e6 podmanv2 container exists|wait
enable container exists and wait for podmanv2

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-20 12:54:45 -05:00
Daniel J Walsh 8ab686f0e0
Add APIV2 service files
Also fix issue in pods_test.go

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-20 09:09:42 -04:00
OpenShift Merge Robot ccc30c606e
Merge pull request #5539 from sujil02/issue-5461
Implemented --iidfile for podman commit
2020-03-20 11:45:32 +01:00
OpenShift Merge Robot d927b43350
Merge pull request #5525 from baude/apiv2bindinglogs
apiv2 add bindings for logs|events
2020-03-19 23:49:44 +01:00
Matthew Heon b6954758bb Attempt manual removal of CNI IP allocations on refresh
We previously attempted to work within CNI to do this, without
success. So let's do it manually, instead. We know where the
files should live, so we can remove them ourselves instead. This
solves issues around sudden reboots where containers do not have
time to fully tear themselves down, and leave IP address
allocations which, for various reasons, are not stored in tmpfs
and persist through reboot.

Fixes #5433

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-03-19 17:20:31 -04:00
OpenShift Merge Robot aa6c8c2e55
Merge pull request #5088 from mheon/begin_exec_rework
Begin exec rework
2020-03-19 22:09:40 +01:00
Sujil02 5efa6dae90 Implemented --iidfile for podman commit
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>
2020-03-19 16:32:02 -04:00
OpenShift Merge Robot c1ff17acfa
Merge pull request #5561 from jwhonce/wip/entities
[CI:DOCS] Add guidelines for writing podman V2 CLI commands
2020-03-19 20:48:08 +01:00
OpenShift Merge Robot 798d82951e
Merge pull request #5558 from mheon/bump-1.8.2
Bump to v1.8.2
2020-03-19 20:45:26 +01:00
Jhon Honce 46b338c77d Add guildline for writing podman V2 CLI commands
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-19 11:54:27 -07:00
OpenShift Merge Robot cccd05cb5b
Merge pull request #5557 from baude/removebinary
[CI:DOCS]remove podmanv2 binary
2020-03-19 19:38:55 +01:00
Qi Wang 9ac58fd78e Use creds form PullImage remote
fix #5511
Adds creds argument to PullImage API and Enables podman-remote to pull image with --creds

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-03-19 14:38:12 -04:00
Daniel J Walsh aaf50f0f66
Fix docker man page links
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-19 14:03:02 -04:00
Matthew Heon aef32407eb Bump to v1.8.3-dev
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-19 13:38:44 -04:00
Matthew Heon 028e3317eb Bump to v1.8.2
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-19 13:38:41 -04:00