6962 Commits

Author SHA1 Message Date
06e2a5dd86 podmanv2 add pre-run to each commmand
each container command needs a prerune because it is not part of the containers subcommand yet

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-25 19:24:24 -05:00
ff0124aee1 Merge pull request #5534 from containers/dependabot/go_modules/github.com/rootless-containers/rootlesskit-0.9.2
Bump github.com/rootless-containers/rootlesskit from 0.8.0 to 0.9.2
2020-03-25 17:23:48 +01:00
852dd7fbde Merge pull request #5607 from containers/dependabot/go_modules/github.com/containers/storage-1.16.6
Bump github.com/containers/storage from 1.16.5 to 1.16.6
2020-03-25 14:26:05 +01:00
e8e590ed88 Bump github.com/rootless-containers/rootlesskit from 0.8.0 to 0.9.2
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit) from 0.8.0 to 0.9.2.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases)
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.8.0...v0.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-25 14:20:34 +01:00
2a3fe35666 Bump github.com/containers/storage from 1.16.5 to 1.16.6
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.16.5 to 1.16.6.
- [Release notes](https://github.com/containers/storage/releases)
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md)
- [Commits](https://github.com/containers/storage/compare/v1.16.5...v1.16.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-25 08:30:02 -04:00
69b011d3ac Merge pull request #5604 from jwhonce/wip/images
V2 podman images/image list
2020-03-25 01:26:21 +01:00
1d7cb7cc48 V2 podman images/image list
* Updated entities to support flags/options
* Updated bindings caused by entities changes
* Removed handlers.ImageSummary in favor of entities.ImageSummary

* Introduced StringSet() container object to simply error checking

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-24 16:06:01 -07:00
b4520649af Merge pull request #5593 from baude/v2volumes
podmanv2 volumes
2020-03-24 23:20:25 +01:00
ae614920bf podmanv2 volumes
add volume commands: create, inspect, ls, prune, and rm

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-24 16:03:49 -05:00
0c084d9719 Merge pull request #5592 from jwhonce/wip/globalflags
Combine GlobalFlags and EngineFlags into EngineOptions
2020-03-24 21:48:37 +01:00
77a2af8817 Combine GlobalFlags and EngineFlags into EngineOptions
* EngineOptions obtained in command via
  `opt, err := registry.Options(cmd)`

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-24 11:03:13 -07:00
c29a4c6904 Merge pull request #5589 from giuseppe/rootlessport-use-unix
rootlessport: use x/sys/unix instead of syscall
2020-03-24 18:19:36 +01:00
d6f8c3e07d Merge pull request #5596 from jwhonce/wip/history
Complete podmanV2 history command
2020-03-24 18:07:50 +01:00
14050c6941 Merge pull request #5591 from baude/v2exitcode
podmanv2 exit code
2020-03-24 18:03:01 +01:00
2c698f0140 Complete podmanV2 history command
* All format options now implemented

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-24 07:40:34 -07:00
0334c8d872 Merge pull request #5598 from marusak/doc_commit_endpoint
Correctly document libpod commit endpoint
2020-03-24 15:01:42 +01:00
0275eed83d Merge pull request #5601 from containers/dependabot/go_modules/github.com/sirupsen/logrus-1.5.0
Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0
2020-03-24 13:58:18 +01:00
720f0bc562 rootlessport: use x/sys/unix instead of syscall
Dup2 is not defined on arm64 in the syscall package.

Closes: https://github.com/containers/libpod/issues/5587

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-03-24 13:56:20 +01:00
2d4fa996ef podmanv2 exit code
add ability to set and get exit code.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-24 07:28:55 -05:00
3dbf2cb5af Merge pull request #5581 from baude/v2containers
podmanv2 add core container commands
2020-03-24 13:12:06 +01:00
ee45149d33 Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.4.2...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-24 05:27:57 -04:00
a2ffd5c230 Merge pull request #5495 from openSUSE/image-sign
Add image signing with GPG tutorial
2020-03-24 08:56:13 +01:00
eb36f54717 Correctly document libpod commit endpoint
In #5588 it was forgotten and documentation still points to `/commit`.

Signed-off-by: Matej Marusak <mmarusak@redhat.com>
2020-03-24 08:37:54 +01:00
02de8d576b Merge pull request #5560 from QiWang19/remote_ceds
Use creds form PullImage remote
2020-03-23 21:22:41 +01:00
3e835a8025 Merge pull request #5588 from baude/apiv2commitfix
apiv2 container commit for libpod
2020-03-23 21:20:07 +01:00
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
48b3143656 Merge pull request #5436 from QiWang19/rm_created_ctr
container prune remove state created, configured
2020-03-23 15:45:26 +01:00
b743f60a4b Merge pull request #5479 from cevich/auto_release
Cirrus: Disable non-docs release processing
2020-03-23 14:36:30 +01:00
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
eebcd8ef14 Add image signing with GPG tutorial
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-03-23 11:46:29 +01:00
72a2011cb1 Merge pull request #5567 from rhatdan/service
Add APIV2 service files
2020-03-23 11:42:22 +01:00
d6c9f3e7bf Merge pull request #5559 from rhatdan/docker
Fix docker man page links
2020-03-23 10:13:06 +01:00
31d14457a5 Merge pull request #5582 from kunalkushwaha/bugfix-5001
Improved readability in image json output
2020-03-22 17:40:20 -04:00
98687ad4a6 Merge pull request #5552 from giuseppe/rootlessport-handle-sigpipe
rootlessport: handle SIGPIPE
2020-03-22 20:27:58 +01:00
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
9536560b4f podmanv2 add core container commands
add core container commands for podmanv2: kill, pause, restart, rm, stop, unpause

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-22 13:24:45 -05:00
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
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
89a3e5979b Merge pull request #5579 from mtrmac/macOS-unit-tests
Make macOS unit tests runnable
2020-03-21 14:48:50 +01:00
195a82ffbc Merge pull request #5577 from baude/v2volumecreate
podmanv2 volume create
2020-03-21 14:46:39 +01:00
e1f2851976 Merge pull request #5578 from baude/v2podexists
podmanv2 pod exists
2020-03-21 12:25:30 +01:00
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
c3a9ff1174 podmanv2 volume create
add volume create

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-20 18:27:08 -05:00
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
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
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
c6277e7433 Add a stub for libpod.Container.Top
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-03-21 00:21:59 +01:00
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
054addf7ac Fix the libpod.LabelVolumePath stub
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2020-03-21 00:21:59 +01:00
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