aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
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