summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add some podman search test with filterYiqiao Pu2018-04-24
| | | | | | | | | Add search test with filter stars, is-automated and is-official. Signed-off-by: Yiqiao Pu <ypu@redhat.com> Closes: #662 Approved by: rhatdan
* Fix podman search no-trunc testYiqiao Pu2018-04-24
| | | | | | | | | | Add --no-trunc to the command line and add output check for the lines not include "..." with this flag. Signed-off-by: Yiqiao Pu <ypu@redhat.com> Closes: #662 Approved by: rhatdan
* Dusty would prefer it to be part of the release.baude2018-04-24
| | | | | | | Signed-off-by: baude <bbaude@redhat.com> Closes: #657 Approved by: baude
* Merge pull request #641 from nathwill/man-libpodDaniel J Walsh2018-04-23
|\ | | | | add libpod.conf man page (closes #537)
| * add libpod.conf man pageNathan Williams2018-04-21
| | | | | | | | Signed-off-by: Nathan Williams <nath.e.will@gmail.com>
* | Merge pull request #647 from umohnani8/secretsDaniel J Walsh2018-04-23
|\ \ | | | | | | Add FIPS mode secret
| * | Add FIPS mode secretumohnani82018-04-23
| | | | | | | | | | | | | | | | | | | | | | | | If the host is in FIPS mode and /etc/system-fips exists /run/secrets/system-fips is created in the container so that the container can run in FIPS mode as well. Signed-off-by: umohnani8 <umohnani@redhat.com>
* | | Merge pull request #656 from ypu/restart_testDaniel J Walsh2018-04-23
|\ \ \ | |/ / |/| | Restart test Improve
| * | Add restart test with timeoutYiqiao Pu2018-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test the --timeout flag with a container which can not be stopped with SIGSTOP. This means the container should can not be stopped and will be killed then restart with timeout value. Test steps: Start a container with STOPSIGNAL=SIGKILL Restart it with --timeout set to 2s Check the restart command will finished more than 2s and less than 10s(the default timeout) Signed-off-by: Yiqiao Pu <ypu@redhat.com>
| * | Improve restart latest container testYiqiao Pu2018-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the --latest from the restart running container test, and add a separated case with following steps: start two container in order: test1, test2 restart container with --latest check the start time for test1 and test2 And the results should be test1 is not restarted and test2 is restarted. Signed-off-by: Yiqiao Pu <ypu@redhat.com>
| * | Add start time check for restart testYiqiao Pu2018-04-23
| | | | | | | | | | | | | | | | | | Check the start time changed after restart the container. Signed-off-by: Yiqiao Pu <ypu@redhat.com>
* | | Initial varlink implementationbaude2018-04-23
|/ / | | | | | | | | | | | | Signed-off-by: baude <bbaude@redhat.com> Closes: #627 Approved by: mheon
* | Add seconds after epoch to copr rpms to tie break versioningbaude2018-04-21
| | | | | | | | | | | | | | Signed-off-by: baude <bbaude@redhat.com> Closes: #654 Approved by: mheon
* | enable no test cachebaude2018-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | been meaning to do this for a while. add an environment variable that disables the caching and restoring of images before integration tests are run. this is useful for developers only ... when testing specific integration tests where caching and restoring the images is not worth the benefit. Signed-off-by: baude <bbaude@redhat.com> Closes: #650 Approved by: rhatdan
* | Merge pull request #651 from mheon/bump_0_4_3Matthew Heon2018-04-20
|\ \ | | | | | | Bump to v0.4.3
| * | Bump gitvalidation epochMatthew Heon2018-04-20
| | | | | | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
| * | Bump to v0.4.4-devMatthew Heon2018-04-20
| | | | | | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
| * | Bump to v0.4.3v0.4.3Matthew Heon2018-04-20
|/ / | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
* | podman push without destination imagebaude2018-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | the destination image for podman push should be optional (if the destination has already been tagged in). the man page for podman push describes that it should work this way. Resolves: #645 Signed-off-by: baude <bbaude@redhat.com> Closes: #646 Approved by: mheon
* | Add make .git targetbaude2018-04-20
| | | | | | | | | | | | | | | | | | Runs gomfmt and gitvalidation Signed-off-by: baude <bbaude@redhat.com> Closes: #589 Approved by: mheon
* | Fix tests for podman run --attachMatthew Heon2018-04-19
| | | | | | | | | | | | | | | | | | | | When STDOUT and STDERR are not attached, we now print a container ID. Make the tests aware of this. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #638 Approved by: rhatdan
* | Print ctr ID if neither STDOUT and STDERR are attachedMatthew Heon2018-04-19
| | | | | | | | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #638 Approved by: rhatdan
* | Add one test case for check diff in container and committed imageYiqiao Pu2018-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | The test steps are: 1. Start a container and touch a file under /tmp 2. Use diff to check the container 3. commit the change into a new image 4. Use diff to check the image Signed-off-by: Yiqiao Pu <ypu@redhat.com> Closes: #643 Approved by: mheon
* | Vendor in latest containers/image and contaners/storageumohnani82018-04-19
| | | | | | | | | | | | | | | | | | Made necessary changes to functions to include contex.Context wherever needed Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #640 Approved by: baude
* | Fix a typoYiqiao Pu2018-04-19
|/ | | | | | | | | Update LineInOuputContains to LineInOutputContains. Signed-off-by: Yiqiao Pu <ypu@redhat.com> Closes: #642 Approved by: rhatdan
* It is OK to start an already running container (with no attach)baude2018-04-18
| | | | | | | Signed-off-by: baude <bbaude@redhat.com> Closes: #637 Approved by: rhatdan
* Refactor logic for forceSecure in pull for readabilityMatthew Heon2018-04-18
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #636 Approved by: rhatdan
* Small logic fix for podman pull with tls-verifyMatthew Heon2018-04-18
| | | | | | | | | | Ensure we don't force TLS verification when --tls-verify is set to false. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #636 Approved by: rhatdan
* Allow podman start to attach to a running containerbaude2018-04-18
| | | | | | | | | | If a container is already running, and a user asks to start it -a (attach), we should honor this and attach to the container. Signed-off-by: baude <bbaude@redhat.com> Closes: #634 Approved by: baude
* regression: tls verify should be set on registries.conf if insecurebaude2018-04-18
| | | | | | | | | | | In the case where podman needs to pull an image, if that registry that the image resides on is known to be insesure (as defined in /etc/containers/registries.conf), tls-verify should be altered on the fly. Signed-off-by: baude <bbaude@redhat.com> Closes: #626 Approved by: mheon
* ip validation game too strongNathan Williams2018-04-18
| | | | | | | Signed-off-by: Nathan Williams <nath.e.will@gmail.com> Closes: #635 Approved by: rhatdan
* - reverse host field order (ip goes first)Nathan Williams2018-04-18
| | | | | | | | | - fix host string split to permit IPv6 Signed-off-by: Nathan Williams <nath.e.will@gmail.com> Closes: #635 Approved by: rhatdan
* Allow podman to exit exit codes of removed containersMatthew Heon2018-04-17
| | | | | | | | | | | | | | | We can read the exit file created by conmon to get the exit code instead of querying libpod. Also, do not error on cleanup if the container is already gone, as a completely removed container is definitely cleaned up. Resolves: #527 Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #632 Approved by: rhatdan
* Modify diff and inspect docsumohnani82018-04-17
| | | | | | | | | | | | Format the examples in podman-diff.md better. The description for --type in the inspect docs was slightly different from that in the inline help. Also stated what values to use in the Go template for the --format flag. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #620 Approved by: mheon
* Merge pull request #566 from ypu/push_testDaniel J Walsh2018-04-17
|\ | | | | Add several podman push tests
| * Add a function for check if command existYiqiao Pu2018-04-16
| | | | | | | | | | | | | | Use this function to check if command exist before execute it in our test. Signed-off-by: Yiqiao Pu <ypu@redhat.com>
| * Add WaitContainerReady for wait for docker registry readyYiqiao Pu2018-04-16
| | | | | | | | | | | | | | | | | | | | Sometime podman push local registry still failed caused by the docker registry is not start yet after sleep 5s in the test. So add this function to check the container status by its output and skip the test when the docker registry can not start normally instead of failed the case. Signed-off-by: Yiqiao Pu <ypu@redhat.com>
| * Add several podman push testsYiqiao Pu2018-04-16
| | | | | | | | | | | | | | | | | | | | | | Add five tests for podman push tests: - push to docker with authorization - push to docker-archive - push to docker-daemon - push to oci-archive - push to ostree Signed-off-by: Yiqiao Pu <ypu@redhat.com>
* | Add oci-systemd-hook as a runtime dep to copr specbaude2018-04-16
| | | | | | | | | | | | | | Signed-off-by: baude <bbaude@redhat.com> Closes: #623 Approved by: rhatdan
* | validate dns-search values prior to creationbaude2018-04-16
| | | | | | | | | | | | | | Signed-off-by: baude <bbaude@redhat.com> Closes: #628 Approved by: baude
* | Change container.locked to batchedTomSweeneyRedHat2018-04-16
|/ | | | | | | Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Closes: #619 Approved by: mheon
* podman pull should always try to pullbaude2018-04-14
| | | | | | | | | | | | | | In the case where you have an image local, if the the user runs podman pull, we should always attempt to pull an updated image. Added a forceRemote bool to New (image) so we can differentiate between "pull" or run because the actions differ. Run does not need to pull the latest -- only run. Signed-off-by: baude <bbaude@redhat.com> Closes: #618 Approved by: baude
* Allow the use of -i/-a on any containerbaude2018-04-14
| | | | | | | | | | | | | We used to not allow the use of -a/-i on containers that were not started with -i or a tty. Given the improvements in our terminal handling, this should work now. This also fixes a systemic problem with the autotests. Signed-off-by: baude <bbaude@redhat.com> Closes: #617 Approved by: baude
* Fix secrets patchumohnani82018-04-13
| | | | | | | | | | | The secrets code was just tarring and copying the contents of the secrets directory on host as is. This meant it was not accounting for any symlinks inside the directory, leading up to the contents not being copied over. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #611 Approved by: mheon
* Remove demos.sh file from testumohnani82018-04-13
| | | | | | | | | I must have accidentally added this extra file in one of my older PRs. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #611 Approved by: mheon
* Merge pull request #616 from mheon/bump_0_4_2Matthew Heon2018-04-13
|\ | | | | Bump to v0.4.2
| * Bump gitvalidation epochMatthew Heon2018-04-13
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
| * Bump version to v0.4.3-devMatthew Heon2018-04-13
| | | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
| * Bump to v0.4.2v0.4.2Matthew Heon2018-04-13
|/ | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
* Fix podman run --attach testsMatthew Heon2018-04-13
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #608 Approved by: baude