From 426ddf7f2f249a84e5e60eedf14820d77d8a8694 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 23 Jan 2021 00:27:08 +0200 Subject: [PATCH] Common CI config. --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f92da7b..0017ecc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,3 +2,23 @@ include: - project: shore/ci-templates file: templates/pre-commit.yml + - project: shore/ci-templates + file: templates/docker.yml + +stages: + - test + - build + - deploy + +build: + extends: .compose-build + tags: ["${CI_COMMIT_BRANCH}.shore.co.il"] + except: + - master + + +run: + extends: .compose-run + tags: ["${CI_COMMIT_BRANCH}.shore.co.il"] + except: + - master -- GitLab