summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Allow removing pods with running containers if --force is givenMatthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Address style issues in in_memory_stateMatthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Fix gofmt and lintMatthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Finish unit tests for podsMatthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Fix bugs identified by unit testsMatthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* HACK: monkey-patch gosqlite3 to rollback unconditionally after tx errorMatthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Rework state tests to avoid boilerplate. Begin adding pod tests.Matthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Unify Pod and Container ID and Name registries for in-memory stateMatthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Remove read-only from DB, it's in the specMatthew Heon2018-02-09
| | | | | | | | | Don't need to store it separately Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Add pod removal codeMatthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Implement pod operations in SQL stateMatthew Heon2018-02-09
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Tear out pod containers map. Instead rely on stateMatthew Heon2018-02-09
| | | | | | | | | | This ensures that there is only one canonical place where containers in a pod are stored, in the state itself. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #268 Approved by: rhatdan
* Update pause tests per QE suggestions and move to gingkoTomSweeneyRedHat2018-02-08
| | | | | | | Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Closes: #285 Approved by: mheon
* Add some global options to buildTomSweeneyRedHat2018-02-08
| | | | | | | Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Closes: #312 Approved by: mheon
* Merge pull request #316 from baude/copr3Brent Baude2018-02-08
|\ | | | | Spec file changes for COPR
| * Spec file changes for COPRbaude2018-02-08
|/ | | | | | COPR needed slight tweaks to our spec file. Signed-off-by: baude <bbaude@redhat.com>
* Merge pull request #315 from baude/copr2Brent Baude2018-02-08
|\ | | | | COPR setup
| * COPR setupbaude2018-02-08
| | | | | | | | | | | | | | Changing the spec file location and adding a COPR Makefile so the package can get a dynamic name. Signed-off-by: baude <bbaude@redhat.com>
* | Merge pull request #314 from baude/ginkgo_lastMatthew Heon2018-02-08
|\ \ | |/ |/| Final ginkgo migration
| * Final ginkgo migrationbaude2018-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Completion of the migration from bats to ginkgo. This includes: * load * mount * pause * port * run_networking * search Note: build will be done within a different PR Signed-off-by: baude <bbaude@redhat.com>
* | Merge pull request #302 from rhatdan/cleanupMatthew Heon2018-02-08
|\ \ | | | | | | cleanup network stack as well as storage when container shuts down.
| * | cleanup network stack as well as storage when container shuts down.Daniel J Walsh2018-02-08
| |/ | | | | | | | | | | This patch will cleanup the network stack when the container exits Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | Merge pull request #311 from baude/updateTutorialMatthew Heon2018-02-08
|\ \ | |/ |/| docs/tutorials/podman_tutorial.md
| * docs/tutorials/podman_tutorial.mdbaude2018-02-07
| | | | | | | | | | | | | | Update now that more of the podman commands are working correctly, esp top and friends. Signed-off-by: baude <bbaude@redhat.com>
* | remove shebang from bash completionLokesh Mandvekar2018-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shebang presence causes rpmlint error: "non-executable-script /usr/share/bash-completion/completions/podman 644 /bin/bash" completions aren't executable in themselves so there's no need for a shebang there. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org> Closes: #313 Approved by: rhatdan
* | Merge pull request #293 from rhatdan/sd_notifyMatthew Heon2018-02-07
|\ \ | | | | | | Need to add LISTEN_PID environment variable to conmon command
| * | Need to add LISTEN_PID environment variable to conmon commandDaniel J Walsh2018-02-05
| | | | | | | | | | | | | | | | | | | | | Without this field then conmon will not pass the proper data down to the OCI Runtime. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* | | Merge pull request #290 from umohnani8/templatesDaniel J Walsh2018-02-07
|\ \ \ | | | | | | | | Fix when the --format flag prints a new line at the end
| * | | Fix when the --format flag prints a new line at the endumohnani82018-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the output is to a terminal, return a new line at the end of the output so that the output is visually appealing. If the output is being piped, or saved to a file, basically not being outputted to a terminal, do not print a new line at the end of the output. This ensures any further data manipulation with the results happens smoothly without requiring to remember the '/n' at the end of the output. Signed-off-by: umohnani8 <umohnani@redhat.com>
* | | | Merge pull request #300 from baude/ginkgo_versionDaniel J Walsh2018-02-07
|\ \ \ \ | | | | | | | | | | More ginkgo migration
| * | | | More ginkgo migrationbaude2018-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * attach * run_exit * save * tag * version * run_privileged -> privileged Signed-off-by: baude <bbaude@redhat.com>
* | | | | Merge pull request #310 from baude/coprBrent Baude2018-02-07
|\ \ \ \ \ | | | | | | | | | | | | Add the spec file to podman
| * | | | | Add the spec file to podmanbaude2018-02-07
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Taking the fedora spec file and adding it to the git repo for copr Signed-off-by: baude <bbaude@redhat.com>
* | | | | Merge pull request #309 from mheon/pause_state_errorDaniel J Walsh2018-02-07
|\ \ \ \ \ | |/ / / / |/| | | | Change pause so only running containers are valid
| * | | | Change pause so only running containers are validMatthew Heon2018-02-07
| | |/ / | |/| | | | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com>
* | | | Merge pull request #289 from TomSweeneyRedHat/dev/tsweeney/usernameDaniel J Walsh2018-02-07
|\ \ \ \ | | | | | | | | | | Change un/pwd handling to match Buildah's
| * | | | Change un/pwd handling to match Buildah'sTomSweeneyRedHat2018-02-06
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
* | | | | Merge pull request #303 from umohnani8/certsDaniel J Walsh2018-02-07
|\ \ \ \ \ | |_|/ / / |/| | | | Change default certs dir to /etc/containers/certs.d
| * | | | Change default certs dir to /etc/containers/certs.dumohnani82018-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated man pages to reflect the change Signed-off-by: umohnani8 <umohnani@redhat.com>
| * | | | Vendor in latest containers/imageumohnani82018-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the default certs directory to /etc/containers/certs.d Signed-off-by: umohnani8 <umohnani@redhat.com>
* | | | | Merge pull request #307 from rhatdan/sudoDaniel J Walsh2018-02-07
|\ \ \ \ \ | | | | | | | | | | | | Change sudo examples to use $ instead of $
| * | | | | Change sudo examples to use $ instead of $Daniel J Walsh2018-02-07
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sudo is not required when running as root, and # indicates that you are already root. $ indicates you are not root. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* / / / / Error on attempting to restart containerMatthew Heon2018-02-07
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #304 Approved by: baude
* | | | Match podman inspect output to docker inspectumohnani82018-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made a change to make sure that the output paths of podman inspect matches that of docker inspect. For example to get the stop signal you should be able to do podman inspect ctr --format {{.Config.StopSignal}} and the same thing in docker will give the same results. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #292 Approved by: rhatdan
* | | | Touchup podman kill manpageMatthew Heon2018-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #299 Approved by: rhatdan
* | | | Change stop signal default to SIGTERMMatthew Heon2018-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #299 Approved by: rhatdan
* | | | Add podman search commandumohnani82018-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | podman search queries a registry for a matching image and prints the output. I added a new flag called "registry" giving the user the option to search a specific registry if they don't want to search all their default registries. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #241 Approved by: rhatdan
* | | | Vendor in latest containers/imageumohnani82018-02-06
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Latest containers/image has support for searching registries. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #241 Approved by: rhatdan
* | | avoid period character at the beginning of newlineLokesh Mandvekar2018-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise causes rpmlint error for manpage Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org> Closes: #296 Approved by: baude
* | | Migrate more tests to ginkgobaude2018-02-06
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate the following to the ginkgo integration tests: * images * import * inspect * logs * run_dns Signed-off-by: baude <bbaude@redhat.com> Closes: #295 Approved by: mheon