[commit: packages/binary] master: Add instructions how to launch tests with docker-compose. (1cd855a)

git at git.haskell.org git at git.haskell.org
Sun Oct 7 22:34:58 UTC 2018


Repository : ssh://git@git.haskell.org/binary

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/1cd855a60cb885fb2d28ed3ae3581987ffe33e50

>---------------------------------------------------------------

commit 1cd855a60cb885fb2d28ed3ae3581987ffe33e50
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date:   Wed Aug 8 12:47:22 2018 +0000

    Add instructions how to launch tests with docker-compose.


>---------------------------------------------------------------

1cd855a60cb885fb2d28ed3ae3581987ffe33e50
 docker-compose.yml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/docker-compose.yml b/docker-compose.yml
index 1931631..1d95b1a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,3 +1,25 @@
+# Run tests on multiple ghc versions.
+#
+# Dependencies are cached between runs in the cabal-store-cache volume.
+#
+# To launch tests:
+#
+#  $ docker-compose up -d
+#
+# To check on their status:
+#
+#  $ docker-compose ps
+#
+# To read logs from a build:
+#
+#  $ docker-compose logs binary_binary_ghc842
+#
+# To cancel or clean up when finished:
+#  
+#  $ docker-compose down
+#  $ docker volume rm cabal-store-cache
+#
+
 version: '3'
 services:
   binary_ghc843:



More information about the ghc-commits mailing list