6962 Commits

Author SHA1 Message Date
9215eb0331 Cirrus: Disable non-docs release processing
Detecting when it's time to upload a release inside Cirrus-CI is really
difficult for many automation and human reasons.  Disabling it for now
until a more robust solution can be implemented

Signed-off-by: Chris Evich <cevich@redhat.com>
2020-03-12 15:41:03 -04:00
194759b96e turn off color-mode for bindings
the binding ginkgo tests were using color mode which throws in a bunch of ansi garbage that makes it hard to read the logs

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-12 13:45:56 -05:00
3aa58ccd0a remove imagefilter for varlink remote client
the api for getting images changed to use filters but back level podman versions cannot handle it.  so temporarily disabling the filtering for remote clients until the restful approach can be used.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-12 12:43:32 -05:00
925da74118 Bump github.com/containers/storage from 1.16.2 to 1.16.3
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.16.2 to 1.16.3.
- [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.2...v1.16.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-12 10:37:32 -04:00
9c7481dbd1 Merge pull request #5474 from giuseppe/detect-containers-rootlessport-child-exit
rootlessport: detect rootless-child exit
2020-03-12 10:22:34 -04:00
235f367861 Merge pull request #5469 from giuseppe/no-size-create-container
create: do not calculate image size
2020-03-12 10:20:02 -04:00
3585780876 run --rmi test: make it work
The recently-added 'run --rmi' test was not actually doing
what it thinks it was doing: for one, 'run_podman | grep'
is never going to work; also, the test was leaving behind
stray images.

Rework to do what I believe the intention was; and, combine
into one test (down from two) for readability.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-03-12 07:57:11 -06:00
19f5d557bc Merge pull request #5468 from Akasurde/5244_follow_up
Follow up change from #5244
2020-03-12 09:04:12 -04:00
647dc33e1a rootlessport: detect rootless-child exit
otherwise the rootless parent process might wait indefinitely when the
rootless-child process exits early.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-03-12 11:39:13 +01:00
8741eb8a92 create: do not calculate image size
calculating the image size can be an expensive operation.  Avoid doing
it when creating a new container since the size is not needed.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-03-12 09:51:17 +01:00
eb2d0a2289 Follow up changes from #5244
Code review change suggested by jwhonce in

https://github.com/containers/libpod/pull/5244#pullrequestreview-366574431

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-03-12 10:06:51 +05:30
78e090092b Merge pull request #5458 from baude/apiv2eventslibpod
[CI:DOCS]Add libpod event endpoint
2020-03-11 16:34:03 -04:00
9cfcf5692b Merge pull request #5460 from edsantiago/man_page_xref
man page cross-reference fixes: part 2
2020-03-11 16:18:13 -04:00
9bc27118b5 Merge pull request #5372 from sujil02/podstatus
Update start stop api to use pod status function.
2020-03-11 14:36:50 -04:00
dbb3de990b Merge pull request #5459 from mheon/bump_readme_181
[CI:DOCS] Update version in README to v1.8.1
2020-03-11 13:25:52 -04:00
3d1bff6db9 man page cross-reference fixes: part 2
The other direction: fix or clean up elements documented in
man pages but which did/do not exist in actual podman:

  * runlabel: add missing "-n" alias for --name

And, remove man page entries for nonexistent options:

  * podman commit: --iidfile
  * podman container runlabel: --rootfs, --storage
  * podman create: --cpu-count

There are two problems I don't know how to deal with. Both
are related to main_local.go:rootCmd.PersistentFlags() :

  1) podman-build.1.md documents --cni-config-dir and
     --runtime options, but these are not actually options
     under podman build; they are global options. The
     documentation in this man page differs from that
     under podman-build.

  2) podman ps implements a binary --namespace option,
     but this option does not (cannot?) appear in --help
     because there's a global --namespace string option
     and Cobra somehow gets confused about this.

Do we really intend for global options to be parsed on
the right-hand side of subcommands? This strikes me as
unintuitive and potentially confusing, although the
fact that it has taken me this long to discover it
suggests that it's not _that_ confusing.

Suggestions welcome. I can file issues for 1/2 above,
or simply teach my script to special-case ignore them.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-03-11 11:05:37 -06:00
29c071d4f7 Update version in README to v1.8.1
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-11 12:47:31 -04:00
da9d216350 Merge pull request #5457 from mheon/bump-1.8.1
[CI:DOCS]Bump to v1.8.1
2020-03-11 12:04:12 -04:00
216a6091d0 [CI:DOCS]Add libpod event endpoint
add an endpoint for events on the libpod side of the house.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-11 09:25:57 -05:00
8877fed86e Bump to v1.8.2-dev
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-11 10:16:16 -04:00
444a19cdd2 Bump to v1.8.1
Signed-off-by: Matthew Heon <mheon@redhat.com>
v1.8.1
2020-03-11 10:16:13 -04:00
087fc79233 Merge pull request #5453 from edsantiago/man_page_xref
man pages: fix inconsistencies
2020-03-10 18:50:31 -04:00
281def2647 man pages: fix inconsistencies
I wrote a script to cross-reference podman --help against
man pages. It found a bunch of inconsistencies fix them:

 * options missing from man pages
 * options misspelled or misformatted in man pages (usually
   misplaced asterisks or missing dashes, but see --dns-opt)
 * one spurious comma in the actual source file --help

This is a fix in which I iterate over 'podman CMD --help'
and check for presence in man pages. The other way around
(look for flags in man pages, check podman CMD --help)
is probably impossible: there are too many special cases

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-03-10 15:03:59 -06:00
fe49daa3c2 Merge pull request #5402 from vrothberg/syslog
docs: clarify bools in `podman --help`
2020-03-10 21:57:04 +01:00
d083d6a8fc Merge pull request #5450 from baude/arm
build for amd64|arm|ppc64le
2020-03-10 21:54:50 +01:00
273394d566 Merge pull request #5452 from mheon/release_notes_181
[CI:DOCS] Update release notes for v1.8.1 final release
2020-03-10 21:21:39 +01:00
916632f7e8 Update release notes for v1.8.1 final release
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-10 15:55:55 -04:00
2c85674773 build for amd64|arm|ppc64le
to protect against architecture specific build regressions, we cross compile for multiple architectures

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-03-10 13:57:53 -05:00
846ed00684 Update start stop api to use pod status function.
Update the strat and stop api to validate pod status based on status functions
rather than iterating over all the containers in the pod. (Addressing the TO-DO)

Signed-off-by: Sujil02 <sushah@redhat.com>
2020-03-10 14:37:47 -04:00
a83a94b095 Merge pull request #5448 from vrothberg/update-systemd
update systemd & dbus dependencies
2020-03-10 19:31:14 +01:00
450361fc64 update systemd & dbus dependencies
Update the outdated systemd and dbus dependencies which are now provided
as go modules.  This will further tighten our dependencies and releases
and pave the way for the upcoming auto-update feature.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-10 18:34:55 +01:00
173f430852 Merge pull request #5432 from jwhonce/wip/compat_refactor
Refactor handler packages
2020-03-10 17:43:23 +01:00
31112e4b08 Refactor handler packages
To help with packaging, the handlers in pkg/api/handlers are now found
in pkg/api/handler/compat.

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-10 08:03:41 -07:00
abb60fbba2 container prune remove state created, configured
podman container prune should remove containers with state Created, Configured to be compatible with docker

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-03-10 10:57:51 -04:00
684813fb3e Merge pull request #5437 from coandco/runlabel_set_doc_update
Remove nonexistent --set arg from runlabel documentation
2020-03-10 14:02:18 +01:00
b293c0b6fa Merge pull request #5353 from cpanato/GH-4414
commands: rename file and add likns to readthedocs
2020-03-10 13:59:58 +01:00
f98ffcd2bf Merge pull request #5435 from mheon/bump-1.8.1-rc4
[CI:DOCS] Bump to v1.8.1-RC4
2020-03-10 13:17:55 +01:00
539fbacba7 Remove nonexistent --set arg from runlabel documentation
Signed-off-by: Clint Olson <clint@populi.co>
2020-03-10 01:07:02 -07:00
7534f9dd1a hide --trace flag
The tracing flag is not really something users should worry about.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-10 08:33:39 +01:00
7b10b71445 podman --help: mention defaults of bools
While string variables are shown to expect a string argument, boolean
variables are not.  This easily tricks users into believing they are
simple switches without arguments.  Hence, explicitly mention the
default to clarify it a bit more.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-10 08:33:39 +01:00
49b70946bc docs: clarify that --syslog expects an argument
Clarify in the man page that --syslog expexts an argument to prevent
users from believing it's a switch.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-03-10 08:33:39 +01:00
40f79f5ef7 Bump to v1.8.1-dev
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-03-09 18:26:35 -04:00
d5b027f412 Bump to v1.8.1-rc4
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
v1.8.1-rc4
2020-03-09 18:26:32 -04:00
3d48940927 Merge pull request #5307 from QiWang19/security-opt-genkube
fix security-opt generate kube
2020-03-09 22:22:29 +01:00
b54a5e1f2f Merge pull request #5426 from containers/dependabot/go_modules/github.com/containers/storage-1.16.2
Bump github.com/containers/storage from 1.16.1 to 1.16.2
2020-03-09 19:12:21 +01:00
1b4c58e196 commands: rename file and add likns to readthedocs
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2020-03-09 19:11:52 +01:00
d2764e93df Merge pull request #5429 from mheon/revert_exec_changes
Revert exec changes
2020-03-09 13:07:20 -04:00
342d99fbc2 Merge pull request #5427 from containers/systemd-default
generate systemd: add `default.target` to INSTALL
2020-03-09 13:06:53 -04:00
521ff14d83 Revert "exec: get the exit code from sync pipe instead of file"
This reverts commit 4b72f9e4013411208751df2a92ab9f322d4da5b2.

Continues what began with revert of
d3d97a25e8c87cf741b2e24ac01ef84962137106 in previous commit.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-03-09 09:50:55 -04:00
ffce869daa Revert "Exec: use ErrorConmonRead"
This reverts commit d3d97a25e8c87cf741b2e24ac01ef84962137106.

This does not resolve the issues we expected it would, and has
some unexpected side effects with the upcoming exec rework.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-03-09 09:50:40 -04:00