1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-26 21:09:44 +01:00

Update outer_launch_tests.sh to support new internal CI (#173)

This commit is contained in:
fkm3 2018-01-16 16:16:41 -05:00 committed by GitHub
parent e4b4c344ab
commit bc15709cb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,10 +2,13 @@
# Builds a test image and runs the tests inside. # Builds a test image and runs the tests inside.
set -eu -o pipefail set -eux -o pipefail
IMAGE_NAME=tensorflow/haskell/ci_build:lts8 IMAGE_NAME=tensorflow/haskell/ci_build:lts8
git submodule update # Make sure we are in the root directory of the repositiory.
cd "$( dirname "$0" )"/..
git submodule update --init --recursive
docker build -t $IMAGE_NAME -f ci_build/Dockerfile . docker build -t $IMAGE_NAME -f ci_build/Dockerfile .
docker run $IMAGE_NAME stack build --pedantic --test docker run $IMAGE_NAME stack build --pedantic --test