[commit: ghc] wip/docker-ghcci: circleci: Use Docker images from ghcci (698678c)

git at git.haskell.org git at git.haskell.org
Wed Feb 21 02:27:09 UTC 2018


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

On branch  : wip/docker-ghcci
Link       : http://ghc.haskell.org/trac/ghc/changeset/698678c2c14e4706343e52911d918a7adf718727/ghc

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

commit 698678c2c14e4706343e52911d918a7adf718727
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Tue Feb 20 21:24:14 2018 -0500

    circleci: Use Docker images from ghcci
    
    Summary:
    The new Docker images create an unprivileged user to run the testsuite under.
    Not only does this seem far more sane from a security standpoint, but it avoids
    the spurious test failure noted in #14706.
    
    Test Plan: Test on CircleCI
    
    Subscribers: dfeuer, rwbarton, thomie, carter
    
    GHC Trac Issues: #14706
    
    Differential Revision: https://phabricator.haskell.org/D4360


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

698678c2c14e4706343e52911d918a7adf718727
 .circleci/config.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 80bccd7..1a542b1 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -98,7 +98,7 @@ jobs:
   "validate-x86_64-linux":
     resource_class: xlarge
     docker:
-      - image: haskell:8.2
+      - image: ghcci:x86_64-linux
     environment:
       <<: *buildenv
     steps:
@@ -117,7 +117,7 @@ jobs:
   "validate-x86_64-freebsd":
     resource_class: xlarge
     docker:
-      - image: tweag/toolchain-x86_64-freebsd
+      - image: ghcci:x86_64-freebsd
     environment:
       TARGET: FreeBSD
       <<: *buildenv
@@ -158,7 +158,7 @@ jobs:
   "validate-hadrian-x86_64-linux":
     resource_class: xlarge
     docker:
-      - image: haskell:8.2
+      - image: ghcci:x86_64-linux
     environment:
       <<: *buildenv
     steps:
@@ -174,7 +174,7 @@ jobs:
   "validate-x86_64-linux-unreg":
     resource_class: xlarge
     docker:
-      - image: haskell:8.2
+      - image: ghcci:x86_64-linux
     environment:
       <<: *buildenv
     steps:
@@ -190,7 +190,7 @@ jobs:
   "validate-x86_64-linux-llvm":
     resource_class: xlarge
     docker:
-      - image: haskell:8.2
+      - image: ghcci:x86_64-linux
     environment:
       <<: *buildenv
       BUILD_FLAVOUR: perf-llvm



More information about the ghc-commits mailing list