Commit Graph

8483 Commits

Author SHA1 Message Date
Daniel J Walsh ac94a96a74
Fix up SELinux labeling
SELinux label options processing fixes, should allow system tests to pass.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-15 16:30:03 -04:00
OpenShift Merge Robot 195cb11276
Merge pull request #5671 from edsantiago/swagger-check
swagger-check: new CI tool to cross-check swagger
2020-04-15 13:17:31 -07:00
OpenShift Merge Robot 693a8039c8
Merge pull request #5776 from vrothberg/au
auto update: skip non-image policies
2020-04-15 13:15:10 -07:00
Brent Baude bbc0c4a973 podmanv2 fix runtime assignment
when provided by the command line, the runtime assignment needs to send the right attribute

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-15 14:49:51 -05:00
Daniel J Walsh 97bded8302
Merge pull request #5823 from mheon/update_readme_19
[CI:DOCS] Update README to reflect that latest version is v1.9.0
2020-04-15 14:53:12 -04:00
OpenShift Merge Robot 337e8d6d27
Merge pull request #5786 from containers/dependabot/go_modules/github.com/containers/common-0.9.0
build(deps): bump github.com/containers/common from 0.8.1 to 0.9.0
2020-04-15 11:41:46 -07:00
Chris Evich e394ff407c
Cirrus: Fix gate container build failure
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-04-15 13:51:25 -04:00
Ed Santiago 2aca1b7f9b
logformat: handle apiv2 results, add anchor links
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>
2020-04-15 13:51:25 -04:00
OpenShift Merge Robot ef297d466e
Merge pull request #5767 from edsantiago/logformat_add_anchors_and_apiv2
logformat: handle apiv2 results, add anchor links
2020-04-15 10:50:15 -07:00
OpenShift Merge Robot 9b78bf9293
Merge pull request #5770 from baude/v2events
podmanv2 events
2020-04-15 18:37:18 +02:00
Matthew Heon d522755b51 Update README to reflect that latest version is v1.9.0
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-15 11:59:59 -04:00
OpenShift Merge Robot cc9b78f07c
Merge pull request #5820 from mheon/bump-1.9.0
Bump to v1.9.0
2020-04-15 17:53:47 +02:00
Sujil02 ec4060aef6 Ability to prune container in api V2
Adds ability to prune containers for v2.
Adds client side prompt with force flag and filters options to prune.

Signed-off-by: Sujil02 <sushah@redhat.com>
2020-04-15 11:17:33 -04:00
Matthew Heon 4489440aaf Bump to v2.0.0-dev
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-15 10:51:33 -04:00
Matthew Heon d985723506 Bump to v1.9.0
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-15 10:51:28 -04:00
OpenShift Merge Robot 37ed662f32
Merge pull request #5814 from baude/v2specgenprunelibpod
v2specgen prune libpod
2020-04-15 16:38:52 +02:00
Brent Baude 165aef7766 podmanv2 events
add the ability to monitor events

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-15 09:38:04 -05:00
OpenShift Merge Robot a756161e80
Merge pull request #5813 from baude/v2edtests2
More system test fixes on regressions
2020-04-15 15:13:18 +02:00
OpenShift Merge Robot ffcb99d832
Merge pull request #5818 from vrothberg/fix-nil-deref
podmanV2: fix nil deref
2020-04-15 13:04:00 +02:00
Valentin Rothberg 123158e83b podmanV2: fix nil deref
Fix a typo when looking up a flag causing a nil deref and all commands
to fail.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-15 11:57:35 +02:00
Kunal Kushwaha d832136349 test case added for image prune cache image
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>
2020-04-15 02:49:47 +00:00
Kunal Kushwaha 1e8e4bb331 note for skipping cache image added.
Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
2020-04-15 02:49:47 +00:00
Kunal Kushwaha 9dc9f5cf4c image prune skips images with child images.
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>
2020-04-15 02:49:47 +00:00
Brent Baude 7147187942 v2specgen prune libpod
use libpod only in the specgen/generate package so that the remote clients do not inherit libpod bloat.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-14 20:02:20 -05:00
Brent Baude 60dde457f6 More system test fixes on regressions
Fix more regressions between v1 and v2

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-14 19:47:49 -05:00
OpenShift Merge Robot f0b6cdede5
Merge pull request #5812 from jwhonce/wip/options
Add support for the global flags and config files
2020-04-15 01:48:52 +02:00
Jhon Honce d517276426 Add support for the global flags and config files
Note: This PR doesn't provide full rootless support that will be
      addressed in a future PR

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-04-14 14:48:37 -07:00
Ed Santiago ba26c763c5 swagger-check: new CI tool to cross-check swagger
New script cross-references r.Handle() and r.HandleFunc()
calls against the preceding '// swagger:operation' comments,
and exits failure (with descriptive error messages) if any
comments do not match the code.

This script should not be necessary: the swagger comments
should be autogenerated from the source code.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-04-14 11:27:44 -06:00
OpenShift Merge Robot 0d01f09bf4
Merge pull request #5811 from mheon/bump-1.9.0-rc2
[CI:DOCS] Bump to v1.9.0-RC2
2020-04-14 19:16:23 +02:00
Matthew Heon bf97e803d7 Bump to v1.9.0-dev
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-14 12:56:21 -04:00
Matthew Heon 443aab15e6 Bump to v1.9.0-rc2
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-14 12:56:18 -04:00
OpenShift Merge Robot a6caae0b5a
Merge pull request #5808 from baude/v2psformat2
v2podman ps revert structure changes
2020-04-14 18:01:18 +02:00
OpenShift Merge Robot 01c5915a52
Merge pull request #5809 from mheon/release_notes_1.9.0_rc2
[CI:DOCS] Update release notes for v1.9.0-RC2
2020-04-14 17:44:08 +02:00
OpenShift Merge Robot 246ee93201
Merge pull request #5801 from baude/v2mount
podmanv2 mount and umount
2020-04-14 17:14:12 +02:00
Matthew Heon 548645e75b Update release notes for v1.9.0-RC2
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-14 10:59:53 -04:00
Brent Baude 830f3a4462 v2podman ps revert structure changes
reverting name changes to the listcontainer structure because it negatively impacted the direct consumption of the restful API.  instead we now use a local structure in the CLI to modify the output as needed.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-14 09:40:43 -05:00
OpenShift Merge Robot e2a137327c
Merge pull request #5804 from rhatdan/seccomp
Need to set security options even if user does not specify options
2020-04-14 16:09:43 +02:00
Brent Baude d625aef0c5 podmanv2 mount and umount
add the ability to mount and unmount containers for the local client only

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-14 08:32:14 -05:00
OpenShift Merge Robot 26c15358d2
Merge pull request #5807 from openSUSE/pids-ctr-path
Fix invalid container path comparison for pid cgroup
2020-04-14 15:23:03 +02:00
OpenShift Merge Robot d8853429eb
Merge pull request #5755 from mheon/fix_attach
Improve APIv2 support for Attach
2020-04-14 14:53:59 +02:00
OpenShift Merge Robot 85c352d8bc
Merge pull request #5709 from vrothberg/v2-search
podmanV2: implement search
2020-04-14 14:51:39 +02:00
OpenShift Merge Robot 004826653f
Merge pull request #5803 from baude/v2init
v2podman add container init
2020-04-14 14:34:18 +02:00
Valentin Rothberg 1a02c9b40c auto update: skip non-image policies
Fix a bug in the auto-update logic causing all images to be checked and
not only the ones of containers with the specific auto-update policy.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-14 11:47:04 +02:00
Sascha Grunert a8192cd760
Fix invalid container path comparison for pid cgroup
This fixes the behavior to return nil for the PIDs cgroup if the
container path is empty.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-04-14 11:02:42 +02:00
Brent Baude d8d1aa49d2 v2podman add container init
add the ability to init a container both local and remote

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-13 19:51:20 -05:00
Daniel J Walsh 8fea3d0ab5
Need to set security options even if user does not specify options
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-13 17:09:22 -04:00
OpenShift Merge Robot 5cf64aee11
Merge pull request #5762 from baude/v2versionformat
podmanv2 version format variable name change
2020-04-13 22:44:17 +02:00
OpenShift Merge Robot 0b067b67e6
Merge pull request #5800 from baude/v2edtests
Fixes for load and other system tests
2020-04-13 21:57:39 +02:00
Brent Baude 11fa4b6eba podmanv2 version format variable name change
change the name of the variable for version to avoid collision with other commands.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-13 14:23:41 -05:00
OpenShift Merge Robot d7695dd957
Merge pull request #5777 from jwhonce/issues/5599
Refactor service idle support
2020-04-13 20:28:42 +02:00