summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* rootless tests using stop is more reliablebaude2018-12-23
| | | | | | | | | | | when testing rootless containers, it is more reliable to stop a container with a zero timeout than kill a container. We made this change in non-rootless tests as well. When IO or CPU are taxed, it avoids a situation where the kill signal is sent but the container has not been able to update its status when a subsequent action occurs. Signed-off-by: baude <bbaude@redhat.com>
* Merge pull request #2048 from isimluk/use-idtools-parserOpenShift Merge Robot2018-12-23
|\ | | | | Refactor: use idtools.ParseIDMap instead of bundling own version
| * Refactor: use idtools.ParseIDMap instead of bundling own versionŠimon Lukašík2018-12-23
|/ | | | | | | | | | | ParseIDMap function was extracted to idtools in https://github.com/containers/storage/pull/236 it is already used in containers/storage and buildah, it should be used in libpod as well. Signed-off-by: Šimon Lukašík <isimluk@fedoraproject.org>
* Merge pull request #2023 from rhatdan/configOpenShift Merge Robot2018-12-22
|\ | | | | Switch all references to image.ContainerConfig to image.Config
| * Switch all referencs to image.ContainerConfig to image.ConfigDaniel J Walsh2018-12-21
| | | | | | | | | | | | This will more closely match what Docker is doing. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | Merge pull request #2042 from cevich/new_criu_imagesOpenShift Merge Robot2018-12-22
|\ \ | |/ |/| Use new VM images with updated CRIU
| * cirrus: Use updated images including new cruiChris Evich2018-12-21
|/ | | | | | | Also add two minor tweaks which were preventing images from building properly. Signed-off-by: Chris Evich <cevich@redhat.com>
* Merge pull request #2033 from rhatdan/devicesOpenShift Merge Robot2018-12-21
|\ | | | | Allow users to specify a directory for additonal devices
| * Allow users to specify a directory for additonal devicesDaniel J Walsh2018-12-21
| | | | | | | | | | | | | | Podman will search through the directory and will add any device nodes that it finds. If no devices are found we return an error. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * Change all 'can not' to 'cannot' for proper usageDaniel J Walsh2018-12-21
| | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
| * Invalid index for arrayDaniel J Walsh2018-12-21
| | | | | | | | Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | Merge pull request #2035 from rhatdan/vendorOpenShift Merge Robot2018-12-21
|\ \ | |/ |/| Vendor in latest psgo code
| * Vendor in latest psgo code to fix race conditionsDaniel J Walsh2018-12-21
| | | | | | | | | | | | | | | | | | | | When running podman top, the processes collected can exit befor psgo gets information on the processes. This can cause some weird errors and creates some CI flakes. psgo now properly ignores this situation rather then returning errors Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | Merge pull request #2028 from giuseppe/fix-rootless-exportOpenShift Merge Robot2018-12-21
|\ \ | |/ |/| rootless: fix export when using fuse-overlayfs
| * test: add test for rootless exportGiuseppe Scrivano2018-12-21
| | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * export: fix usage with rootless containersGiuseppe Scrivano2018-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix usage of export when rootless containers are used without vfs. We join the conmon process namespaces as the container is running in a different one. There can be a problem if the user specify a different path for the conmon process, and then the file is deleted. In this case podman won't be able to find the conmon process to join. Closes: https://github.com/containers/libpod/issues/2027 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * rootless: add function to join user and mount namespaceGiuseppe Scrivano2018-12-21
| | | | | | | | | | | | | | | | | | | | Add the possibility to join directly the user and mount namespace without looking up the parent of the user namespace. We need this in order to be able the conmon process, as the mount namespace is kept alive only there. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * libpod: always store the conmon pid fileGiuseppe Scrivano2018-12-21
| | | | | | | | | | | | | | we need this information to later be able to join the conmon process. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Merge pull request #1998 from adrianreber/with-criu-againOpenShift Merge Robot2018-12-21
|\ \ | |/ |/| Use existing CRIU packages for testing instead of building from git
| * Use existing CRIU packages in CI setupAdrian Reber2018-12-21
|/ | | | | | | | | | | | For all in testing involved distribution a new enough CRIU exists as a package. Fedora provides CRIU packages directly. For CentOS/RHEL there is a COPR with the latest CRIU version and for Ubuntu there is a PPA for the latest CRIU version. Let's use these packages and fall back to building from git if necessary. Signed-off-by: Adrian Reber <adrian@lisas.de>
* Merge pull request #2037 from baude/blkioskipOpenShift Merge Robot2018-12-20
|\ | | | | skip test for blkio.weight when kernel does not support it
| * skip test for blkio.weight when kernel does not support itbaude2018-12-20
|/ | | | Signed-off-by: baude <bbaude@redhat.com>
* Merge pull request #1757 from kunalkushwaha/contrib-perftestOpenShift Merge Robot2018-12-20
|\ | | | | perf test a stress test to profile CPU load of podman
| * perf test a stress test to profile CPU load of podmanKunal Kushwaha2018-12-19
| | | | | | | | Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
* | Merge pull request #1967 from baude/kubereplayOpenShift Merge Robot2018-12-20
|\ \ | | | | | | Add Play
| * | Add Playbaude2018-12-19
| | | | | | | | | | | | | | | | | | | | | podman play kube adds the ability for the user to recreate pods and containers from a Kubernetes YAML file in libpod. Signed-off-by: baude <bbaude@redhat.com>
* | | Merge pull request #1900 from vbatts/cni-config-instructionsOpenShift Merge Robot2018-12-20
|\ \ \ | | | | | | | | docs/tutorials: add a basic network config
| * | | docs/tutorials: add a basic network configVincent Batts2018-12-17
| | | | | | | | | | | | | | | | Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
* | | | Merge pull request #2029 from cevich/gate_docsOpenShift Merge Robot2018-12-20
|\ \ \ \ | | | | | | | | | | [skip ci] Gate: Update docs w/ safer local command
| * | | | [skip ci] Gate: Update docs w/ safer local commandChris Evich2018-12-19
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if you used the documented code validation command, you would end up with your repository SELinux labels being changed. In many cases this is not desirable. Update the documentation such that the original source of the repository isn't touched in any way (prior to making a copy of it in the container). Also add a small (but important) note about building the container image. Signed-off-by: Chris Evich <cevich@redhat.com>
* | | | Merge pull request #2030 from baude/111OpenShift Merge Robot2018-12-19
|\ \ \ \ | | | | | | | | | | prepare for move to validate on 1.11 only
| * | | | prepare for move to validate on 1.11 onlybaude2018-12-19
| |/ / / | | | | | | | | | | | | Signed-off-by: baude <bbaude@redhat.com>
* | | | Merge pull request #2031 from cevich/fix_build_all_commitsOpenShift Merge Robot2018-12-19
|\ \ \ \ | | | | | | | | | | Cirrus: Skip build all commits test on master
| * | | | Cirrus: Skip build all commits test on masterChris Evich2018-12-19
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: git rebase origin/ -x make fatal: Needed a single revision invalid upstream 'origin/' make: *** [Makefile:351: build-all-new-commits] Error 1 By not running this test post-merge. Signed-off-by: Chris Evich <cevich@redhat.com>
* | | | Merge pull request #1899 from QiWang19/trustimgOpenShift Merge Robot2018-12-19
|\ \ \ \ | |/ / / |/| | | Support podman image trust command
| * | | Support podman image trust commandQi Wang2018-12-19
| | | | | | | | | | | | | | | | | | | | | | | | Display the trust policy of the host system. The trust policy is stored in the /etc/containers/policy.json file and defines a scope of registries or repositories. Signed-off-by: Qi Wang <qiwan@redhat.com>
* | | | Merge pull request #1996 from giuseppe/validate-all-commitsOpenShift Merge Robot2018-12-19
|\ \ \ \ | |_|_|/ |/| | | Makefile: validate that each commit can at least build
| * | | Makefile: validate that each commit can at least buildGiuseppe Scrivano2018-12-19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | it is very useful when using git bisect that at least the commit can build. got inspiration from: https://twitter.com/pid_eins/status/1072797993760423941 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | Merge pull request #2021 from rhatdan/restartOpenShift Merge Robot2018-12-18
|\ \ \ | | | | | | | | Add information on --restart
| * | | Add information on --restartDaniel J Walsh2018-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to recommend that users use Systemd unit files if they want the container to restart automatically. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | | Merge pull request #1935 from deuscapturus/masterOpenShift Merge Robot2018-12-18
|\ \ \ \ | | | | | | | | | | add getlogin command
| * | | | add --get-login command to podman-login.Theodore Cowan2018-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returns user if user is logged-in to the registry. Returns error if not logged in with non-zero status code. Signed-off-by: Theodore Cowan <theodore-cowan@pluralsight.com>
* | | | | Merge pull request #2019 from baude/kubeserviceinlineOpenShift Merge Robot2018-12-18
|\ \ \ \ \ | | | | | | | | | | | | generate service object inline
| * | | | | generate service object inlinebaude2018-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | no longer require the service object be output to a different file; we should be doing this inline with the pods for user convenience. Signed-off-by: baude <bbaude@redhat.com>
* | | | | | Merge pull request #2022 from baude/flakeflakeOpenShift Merge Robot2018-12-18
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | all flakes must die
| * | | | | all flakes must diebaude2018-12-18
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | when cleaning up after a test, don't fail if cleanup doesn't run perfectly. Signed-off-by: baude <bbaude@redhat.com>
* | | | | Merge pull request #2020 from cevich/quiet_podbotOpenShift Merge Robot2018-12-18
|\ \ \ \ \ | |/ / / / |/| | | | Cirrus: One IRC notice only
| * | | | Cirrus: One IRC notice onlyChris Evich2018-12-18
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The podbot messages are becoming obnoxious as more distributions are tested. Only call the `success.sh` script once, after all testing was successful. Also make update the message to include more helpful text and url. Signed-off-by: Chris Evich <cevich@redhat.com>
* | | | Merge pull request #2010 from cevich/cirrus_editorsDaniel J Walsh2018-12-17
|\ \ \ \ | | | | | | | | | | Cirrus: Add text editors to cache-images
| * | | | Cirrus: Add text editors to cache-imagesChris Evich2018-12-14
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Occasionally people need to access the VM's for troubleshooting/debugging. Having an editor pre-installed makes life easier and doesn't cost any extra test-time. ***CIRRUS: REBUILD IMAGES*** Signed-off-by: Chris Evich <cevich@redhat.com>