OpenShift Merge Robot
bd71135852
Merge pull request #5890 from sujil02/v2-pod-inspect-fix
...
Update pod inspect report to hold current pod status.
2020-04-20 10:16:19 -04:00
Sujil02
838df56bcf
Update pod inspect report to hold current pod status.
...
Added status field in pod inspect report.
Fixed pod tests to use it.
Signed-off-by: Sujil02 <sushah@redhat.com>
2020-04-20 07:05:25 -04:00
OpenShift Merge Robot
02c2fbc4cd
Merge pull request #5880 from abitrolly/patch-2
...
Make `find` ignore dot files
2020-04-20 06:34:08 -04:00
Anatoli Babenia
a58c59f401
Make find ignore dot files
...
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>
2020-04-20 07:26:55 +03:00
OpenShift Merge Robot
e4e42b28df
Merge pull request #5733 from sujil02/v2-pod-prune
...
Add pod prune for api v2
2020-04-18 06:02:51 -04:00
OpenShift Merge Robot
3b461ed6eb
Merge pull request #5871 from baude/v2t3
...
enable integration testing
2020-04-18 05:58:21 -04:00
Brent Baude
c2a1138aec
enable integration testing
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-17 18:57:40 -05:00
Sujil02
37f3b191d5
Add pod prune for api v2.
...
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>
2020-04-17 17:30:58 -04:00
OpenShift Merge Robot
aa97cb5f42
Merge pull request #5869 from rhatdan/user
...
We were not handling the user option on create
2020-04-17 17:01:07 -04:00
OpenShift Merge Robot
bd8a0b08cd
Merge pull request #5548 from kunalkushwaha/image-prune
...
image prune skips images with child images.
2020-04-17 15:19:45 -04:00
Daniel J Walsh
6c421b076f
We were not handling the user option on create
...
With this patch we can get run_passwd_test.go to pass
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-17 14:52:51 -04:00
OpenShift Merge Robot
ba289dcd79
Merge pull request #5868 from baude/v2t2
...
Fixes for system tests
2020-04-17 14:43:21 -04:00
OpenShift Merge Robot
a5884c07df
Merge pull request #5819 from vrothberg/v2-build
...
podmanV2: implement build
2020-04-17 14:30:49 -04:00
Brent Baude
44a8cf8676
Fixes for system tests
...
Various fixes to protect against regressions in system tests
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-17 13:22:06 -05:00
OpenShift Merge Robot
d68b028c94
Merge pull request #5866 from edsantiago/logformat_bats_summary
...
Log formatter: add BATS summary line
2020-04-17 11:45:01 -04:00
OpenShift Merge Robot
f8f5d9cef7
Merge pull request #5855 from baude/v2t1
...
Enable some testing
2020-04-17 11:39:02 -04:00
OpenShift Merge Robot
454fc9fecd
Merge pull request #5657 from AlbanBedel/network-name-fix
...
Fix the pod name passed to cni
2020-04-17 11:25:19 -04:00
Brent Baude
b6a264464f
Enable some testing
...
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-17 10:09:32 -05:00
Ed Santiago
1be8a34f5e
Log formatter: add BATS summary line
...
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>
2020-04-17 08:12:09 -06:00
OpenShift Merge Robot
d31dcb9bbd
Merge pull request #5856 from jwhonce/wip/options
...
Fix bug where two configurations had been created
2020-04-17 02:35:50 -07:00
Valentin Rothberg
60624f948b
podmanV2: implement build
...
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>
2020-04-17 10:26:50 +02:00
Jhon Honce
554c663b5a
Fix bug where two configurations had been created
...
* registry.PodmanConfig() new returns a pointer to the source of truth
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-04-16 16:49:59 -07:00
OpenShift Merge Robot
0d2b5532c4
Merge pull request #5852 from baude/v1prune
...
Podman V2 birth
2020-04-16 14:04:58 -07:00
Brent Baude
241326a9a8
Podman V2 birth
...
remote podman v1 and replace with podman v2.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-16 15:53:58 -05:00
OpenShift Merge Robot
88c6fd06cd
Merge pull request #5837 from vrothberg/ignore
...
[CI:DOCS] .gitignore: ignore v2 remote
2020-04-16 12:14:44 -07:00
OpenShift Merge Robot
57f3897289
Merge pull request #5848 from jwhonce/wip/options
...
V2 Enable rootless
2020-04-16 11:56:16 -07:00
OpenShift Merge Robot
8b178f12ce
Merge pull request #5839 from rhatdan/troubleshoot
...
[CI:DOCS] Add SELinux volume information to troubleshoot.md
2020-04-16 11:30:03 -07:00
Jhon Honce
1d93d21254
V2 Enable rootless
...
* 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>
2020-04-16 11:08:08 -07:00
OpenShift Merge Robot
5def211400
Merge pull request #5842 from baude/v2bloat2
...
podman v2 remove bloat v2
2020-04-16 10:52:58 -07:00
Daniel J Walsh
a8a61d9764
Add SELinux volume information to troubleshoot.md
...
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>
2020-04-16 13:25:11 -04:00
OpenShift Merge Robot
8c4d4b58ee
Merge pull request #5597 from sujil02/systemd-updates
...
Update podman-generate-systemd man page
2020-04-16 10:15:09 -07:00
Brent Baude
ba430bfe5e
podman v2 remove bloat v2
...
rid ourseleves of libpod references in v2 client
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-16 12:04:46 -05:00
OpenShift Merge Robot
c1bafb8b5a
Merge pull request #5844 from baude/apiv2filteridfix
...
allow filters to work when listing containers
2020-04-16 08:50:11 -07:00
Brent Baude
e154249b46
allow filters to work when listing containers
...
enable filters when listing containers on the libpod endpoint.
Fixes : #5841
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-16 09:21:44 -05:00
OpenShift Merge Robot
8857ba20a0
Merge pull request #5835 from containers/dependabot/go_modules/github.com/containers/common-0.9.1
...
Bump github.com/containers/common from 0.9.0 to 0.9.1
2020-04-16 06:31:25 -07:00
Sujil02
a037d9cd4d
Update podman-generate-systemd man page
...
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>
2020-04-16 09:17:27 -04:00
OpenShift Merge Robot
155a7d661e
Merge pull request #5826 from cevich/gate_pip
...
Cirrus: Fix gate container build failure
2020-04-16 05:37:21 -07:00
OpenShift Merge Robot
09e821a8ea
Merge pull request #5690 from rhatdan/selinux
...
Add support for selecting kvm and systemd labels
2020-04-16 05:29:19 -07:00
Valentin Rothberg
04e83f63a8
.gitignore: ignore v2 remote
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-04-16 12:14:23 +02:00
OpenShift Merge Robot
084cfb81da
Merge pull request #5834 from rhatdan/version
...
Add version to podman info command
2020-04-16 03:09:15 -07:00
dependabot-preview[bot]
897847cccc
Bump github.com/containers/common from 0.9.0 to 0.9.1
...
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>
2020-04-16 05:53:35 -04:00
Daniel J Walsh
62803f8d3b
Add version to podman info command
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-15 21:30:56 -04:00
OpenShift Merge Robot
d6b3bc18f8
Merge pull request #5752 from mheon/pod_inspect_structs
...
Add basic structure of output for APIv2 pod inspect
2020-04-15 17:14:24 -07:00
OpenShift Merge Robot
c7d17613ec
Merge pull request #5827 from baude/v2bloat
...
v2 bloat pruning phase 2
2020-04-15 15:00:13 -07:00
OpenShift Merge Robot
0f7162d791
Merge pull request #5817 from rhatdan/selinux1
...
Fix up SELinux labeling
2020-04-15 14:28:53 -07:00
Matthew Heon
82ce9703e1
Add basic structure of output for APIv2 pod inspect
...
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>
2020-04-15 17:21:00 -04:00
Brent Baude
30d2964ff8
v2 bloat pruning phase 2
...
this is second phase of removing unneeded bloat in the remote client. this is important to be able to reduce the client size as well as possible native compilation for windows/mac.
Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-15 16:09:27 -05:00
OpenShift Merge Robot
3500a8bc39
Merge pull request #5830 from baude/v2runtime
...
podmanv2 fix runtime assignment
2020-04-15 13:54:09 -07:00
Daniel J Walsh
c4ca3c71ff
Add support for selecting kvm and systemd labels
...
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>
2020-04-15 16:52:16 -04:00
OpenShift Merge Robot
6e9622aa98
Merge pull request #5775 from sujil02/v2-container-prune
...
Ability to prune container in api V2
2020-04-15 13:42:36 -07:00