From cadac85803f909c079b78338d8b2537384394844 Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Sat, 19 Dec 2020 16:45:02 -0600 Subject: [PATCH] fix: Switch CI to DAG --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2394a08b..6ae5893b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,7 @@ +stages: + - test + - deploy + cache: paths: - _build @@ -12,6 +16,7 @@ variables: DOCKER_HOST: tcp://docker:2376 test: + stage: test needs: [] image: "elixir:1.10" services: @@ -19,6 +24,7 @@ test: script: script/cibuild deploy_to_tags: + stage: deploy needs: ['test'] image: "node:15.0" script: @@ -26,6 +32,7 @@ deploy_to_tags: - npx semantic-release deploy_to_registry: + stage: deploy needs: ['test'] image: "docker:19.03.12" services: