aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/docker.scm
AgeCommit message (Collapse)Author
2019-06-07pack: Add '--entry-point'.Ludovic Courtès
* guix/scripts/pack.scm (self-contained-tarball): Add #:entry-point and warn when it's true. (squashfs-image): Add #:entry-point and honor it. (docker-image): Add #:entry-point and honor it. (%options, show-help): Add '--entry-point'. (guix-pack): Honor '--entry-point' and pass #:entry-point to BUILD-IMAGE. * gnu/tests/docker.scm (run-docker-test): Test 'docker run' with the default entry point. (build-tarball&run-docker-test): Pass #:entry-point to 'docker-image'. * doc/guix.texi (Invoking guix pack): Document it. * gnu/tests/singularity.scm (run-singularity-test)["singularity run"]: New test. (build-tarball&run-singularity-test): Pass #:entry-point to 'squashfs-image'.
2019-05-15vm: 'system-docker-image' provides an entry point.Ludovic Courtès
This simplifies use of images created with 'guix system docker-image'. * gnu/system/vm.scm (system-docker-image)[boot-program]: New variable. [os]: Add it to the GC roots. [build]: Pass #:entry-point to 'build-docker-image'. * gnu/tests/docker.scm (run-docker-system-test): New procedure. (%test-docker-system): New variable. * doc/guix.texi (Invoking guix system): Remove GUIX_NEW_SYSTEM hack and '--entrypoint' from the example. Mention 'docker create', 'docker start', and 'docker exec'.
2019-01-18tests: docker: Use "package" instead of "dummy-package".Danny Milosavljevic
* gnu/tests/docker.scm (build-tarball&run-docker-test): Use "package" instead of "dummy-package".
2019-01-15tests: docker: Run a guest guile inside the docker container.Danny Milosavljevic
* gnu/tests/docker.scm (run-docker-test): Add parameters. Load and run docker container. Check response of guest guile. (build-tarball&run-docker-test): New procedure. (%test-docker): Use it. [description]: Modify.
2019-01-11tests: Nitpick on Docker test.Ludovic Courtès
This is a followup to 7d8a4eeacc534c8742e0b22d855aa73e5ab66b7f. * gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/tests/docker.scm. * gnu/tests/docker.scm: Update copyright line.
2019-01-10tests: docker: Fix test.Danny Milosavljevic
* gnu/tests/docker.scm (run-docker-test): Set memory and disk size. (%docker-os): Add elogind service.
2019-01-10tests: Add Docker system test.Danny Milosavljevic
* gnu/tests/docker.scm: New file.