aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-13 13:19:49 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-13 13:19:49 +0100
commit91f3e8e359e4092fc26715a810fedc2c41307862 (patch)
tree26b2947361e9fd875643b3c85e7c4ea8e1b52e2d /.gitlab-ci.yml
parentAdd JavaScript linting (diff)
Build CI container on the CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 595cbbdf..69625120 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,9 +5,33 @@ variables:
RETHINKDB_HOST: rethinkdb
stages:
+ - build
- test
- deploy
+build:
+ before_script:
+ - docker info
+
+ image: docker:stable
+
+ only:
+ - master
+
+ services:
+ - docker:dind
+
+ stage: build
+
+ script:
+ - sh scripts/deploy-ci.sh
+
+ tags:
+ - docker
+
+ variables:
+ DOCKER_DRIVER: overlay2
+
test:
tags:
- docker