summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Ensure that signal names can be parsed on WindowsMatthew Heon2020-05-28
| | | | | | | | | | | | | | | | | | To ensure the Windows and OS X remote clients can properly parse container stop signal (when given as a name e.g. SIGTERM) and set it in SpecGen, we need access to a list of Linux signal names and the numbers they map to that is available on non-Linux OSes. Fortunately, these are ABI constants that are extremely unlikely to change, so we can just take the existing constant definitions from the library and use them. The signal numbers used here are sourced from AMD64, but should be the same for every architecture that is not Alpha, SPARC, MIPS, and PA-RISC. So `podman run --stop-signal SIGTTOU` from a Windows client to a Podman service on a SPARC host will set an incorrect stop signal, but I don't think this is a large problem. Signed-off-by: Matthew Heon <mheon@redhat.com>
* Merge pull request #6385 from ↵OpenShift Merge Robot2020-05-26
|\ | | | | | | | | containers/dependabot/go_modules/github.com/opencontainers/selinux-1.5.2 Bump github.com/opencontainers/selinux from 1.5.1 to 1.5.2
| * Bump github.com/opencontainers/selinux from 1.5.1 to 1.5.2dependabot-preview[bot]2020-05-26
| | | | | | | | | | | | | | | | | | Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.5.1 to 1.5.2. - [Release notes](https://github.com/opencontainers/selinux/releases) - [Commits](https://github.com/opencontainers/selinux/compare/v1.5.1...v1.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | Merge pull request #6363 from jwhonce/wip/attachOpenShift Merge Robot2020-05-26
|\ \ | | | | | | V2 Fix interface nil checks
| * | V2 Fix interface nil checksJhon Honce2020-05-26
| | | | | | | | | | | | Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | Merge pull request #6393 from rhatdan/dockerfileOpenShift Merge Robot2020-05-26
|\ \ \ | | | | | | | | Fix Dockerfile
| * | | Fix DockerfileDaniel J Walsh2020-05-26
| | |/ | |/| | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #6390 from edsantiago/registry_show_errorsOpenShift Merge Robot2020-05-26
|\ \ \ | | | | | | | | podman-registry: fix lost credentials
| * | | podman-registry: many unrelated fixesEd Santiago2020-05-26
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) fix lost credentials. must_pass(), added in #6375, eats the credentials generated via 'podman run --entrypoint htpasswd'. Run that podman instance directly, and add explicit error check. (The error and stdout/stderr handling here has gotten cumbersome. There must be something I'm missing that could make it all simpler.) 2) fix default podman path. When setting $PODMAN, default to the locally built one -- there may not be one in $PATH (e.g. in Ubuntu, see #6366). This in turn requires us to: 3) run registry test in integration, not unit test It looks like unit tests run before podman is built, causing a chicken-egg dilemma. Try to solve that by running the new hack/podman-registry-go test in integration tests, not unit tests. Signed-off-by: Ed Santiago <santiago@redhat.com>
* | | Merge pull request #6394 from TomSweeneyRedHat/dev/tsweeney/uppercaseOpenShift Merge Robot2020-05-26
|\ \ \ | |/ / |/| | [CI:DOCS] Tweak casing in rootless doc
| * | [CI:DOCS] Tweak casing in rootless docTomSweeneyRedHat2020-05-26
|/ / | | | | | | | | | | | | I just noticed a few 'podman' references that should be 'Podman' in the rootless doc. This fixes it. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
* | Merge pull request #6321 from Luap99/podman-generate-systemd-unit-prefixOpenShift Merge Robot2020-05-25
|\ \ | | | | | | Allow to change the generated systemd unit name prefix
| * | Added new flags to 'podman generate systemd' to change the unit name prefixLuap992020-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --container-prefix <string> - default 'container' Systemd unit name prefix for containers --pod-prefix <string> - default 'pod' Systemd unit name prefix for pods --separator <string> - default '-' Systemd unit name seperator between name/id and prefix Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
* | | Merge pull request #6375 from edsantiago/registry_show_errorsOpenShift Merge Robot2020-05-25
|\ \ \ | | | | | | | | podman-registry helper script: handle errors
| * | | podman-registry helper script: handle errorsEd Santiago2020-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My initial revision of the podman-registry helper script was written in haste, with an enormous tradeoff: no visibility into any errors. We are now paying for this in #6366: the script is failing on Ubuntu and we have no way of knowing why. This PR adds a must_pass() function used for critical steps. This runs the action silently; if the command fails, it displays the failing command name with full output logs, cleans up the temporary workdir, and exits with error status. As a reminder, the reason this is necessary is that our script convention is to output a series of environment variables to stdout -- we must therefore take pains not to emit anything else to stdout. And, unfortunately, podman and openssl tend to be rather verbose. Signed-off-by: Ed Santiago <santiago@redhat.com>
* | | | Merge pull request #6238 from baude/v2compatnetOpenShift Merge Robot2020-05-25
|\ \ \ \ | | | | | | | | | | network compatibility endpoints for API
| * | | | network compatibility endpoints for APIBrent Baude2020-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add endpoints for networking compatibility with the API. Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #6359 from rhatdan/build4OpenShift Merge Robot2020-05-25
|\ \ \ \ \ | | | | | | | | | | | | Turn on Fedora31 testing.
| * | | | | Turn on Fedora testingDaniel J Walsh2020-05-23
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | Merge pull request #6367 from rhatdan/VENDOROpenShift Merge Robot2020-05-25
|\ \ \ \ \ \ | | | | | | | | | | | | | | Vendor in latest containers/buildah
| * | | | | | Vendor in latest containers/buildahDaniel J Walsh2020-05-23
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will take a significant size away from the podman-remote executables. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | Merge pull request #6373 from lsm5/Makefile-custom-REMOTETAGSOpenShift Merge Robot2020-05-25
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Makefile: customizable $REMOTETAGS
| * | | | | Makefile: customizable $REMOTETAGSLokesh Mandvekar2020-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will allow the builder to specify custom REMOTETAGS. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
* | | | | | Merge pull request #6309 from cortopy/nonroot_vol_docsOpenShift Merge Robot2020-05-24
|\ \ \ \ \ \ | | | | | | | | | | | | | | add section on rootless volumes in the docs
| * | | | | | add section on rootless volumesJuan Jimenez-Anca2020-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Juan Jimenez-Anca <cortopy@users.noreply.github.com>
* | | | | | | Merge pull request #6369 from rhatdan/build1OpenShift Merge Robot2020-05-24
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | [CI:DOCS] Prepare image to turn on podman-commands test
| * | | | | | [CI:DOCS] Prepare image to turn on podman-commands testDaniel J Walsh2020-05-23
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | Merge pull request #6355 from jwhonce/wip/MethodNotAllowedHandlerOpenShift Merge Robot2020-05-23
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Add MethodNotAllowedHandler() to add in debugging
| * | | | | Add MethodNotAllowedHandler() to add in debuggingJhon Honce2020-05-22
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | | | Merge pull request #6360 from baude/addcruntogatingOpenShift Merge Robot2020-05-23
|\ \ \ \ \ | | | | | | | | | | | | [CI:DOCS]add crun to gating image
| * | | | | [CI:DOCS]add crun to gating imageBrent Baude2020-05-22
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | the gating tests for commands needs crun to exercise itself Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #6357 from rhatdan/build6OpenShift Merge Robot2020-05-22
|\ \ \ \ \ | | | | | | | | | | | | Follow up PR to fix issues found in #6341
| * | | | | Follow up PR to fix issues found in #6341Daniel J Walsh2020-05-22
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | | | Merge pull request #6362 from TomSweeneyRedHat/dev/tsweney/fixresdocOpenShift Merge Robot2020-05-22
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | [CI:DOCS] Fix readthedocs link
| * | | | | [CI:DOCS] Fix readthedocs linkTomSweeneyRedHat2020-05-22
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Touch up the link to the docs on readthedocs. Using the fully specified link like this will cause a CORS issue in many browsers. Plus we're working on a Spanish variant of the site, so we probably should point to the English variant. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
* | | | | Merge pull request #6354 from mheon/bump-2.0.0-rc2OpenShift Merge Robot2020-05-22
|\ \ \ \ \ | |_|/ / / |/| | | | Bump to v2.0.0-RC2
| * | | | Bump to v2.0.0-devMatthew Heon2020-05-22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com>
| * | | | Bump to v2.0.0-rc2v2.0.0-rc2Matthew Heon2020-05-22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com>
* | | | | Merge pull request #6352 from baude/addconmontogateOpenShift Merge Robot2020-05-22
|\ \ \ \ \ | |_|/ / / |/| | | | [CI:DOCS]Add conmon to gating image
| * | | | [CI:DOCS]Add conmon to gating imageBrent Baude2020-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the gating image now needs conmon to perform the commands check Signed-off-by: Brent Baude <bbaude@redhat.com>
* | | | | Merge pull request #6341 from rhatdan/build6OpenShift Merge Robot2020-05-22
|\ \ \ \ \ | |/ / / / |/| | | | Attempt to turn on additional build tests
| * | | | Attempt to turn on build_without_cgo testsDaniel J Walsh2020-05-22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * | | | Attempt to turn on additional build testsDaniel J Walsh2020-05-22
|/ / / / | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #6347 from rhatdan/buildOpenShift Merge Robot2020-05-22
|\ \ \ \ | | | | | | | | | | Enable rootless tests for podman remote
| * | | | Enable rootless tests for podman remoteDaniel J Walsh2020-05-22
| |/ / / | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #6332 from jwhonce/jira/884OpenShift Merge Robot2020-05-22
|\ \ \ \ | |/ / / |/| | | V2 enable remote logs and testing
| * | | V2 enable remote logs and testingJhon Honce2020-05-22
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | * wire up bindings and handler for obtaining logs remotely * enable debug logging from podman in e2e test using DEBUG and DEBUG_SERVICE env variables * Fix error in streaming log frames * enable remote logs test Signed-off-by: Jhon Honce <jhonce@redhat.com>
* | | Merge pull request #6343 from rhatdan/build8OpenShift Merge Robot2020-05-22
|\ \ \ | | | | | | | | Attempt to turn on integration tests
| * | | Attempt to turn on integration testsDaniel J Walsh2020-05-22
| | | | | | | | | | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #6345 from QiWang19/mani-push-testOpenShift Merge Robot2020-05-22
|\ \ \ \ | | | | | | | | | | remote manifest test