From f138a1bc1aa355128d7c66a4b2fc2d5058a87634 Mon Sep 17 00:00:00 2001 From: M0Bruno Date: Thu, 18 Jul 2019 15:03:08 +0200 Subject: [PATCH] feat: refs #109849 setup ci config --- .gitlab-ci.yml | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ab2771..8981fd4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,24 +15,9 @@ stages: #### #### -.back_job: - except: - - schedules +.base_job: tags: - k8s - only: - refs: - - merge_requests - - master - - tags - changes: - - src/**/* - - .kubernetes/**/* - - package.json - - .gitlab-ci.yml - - .dockerignore - variables: - GIT_STRATEGY: none #### #### @@ -41,7 +26,7 @@ stages: #### build: - extends: .back_job + extends: .base_job stage: build script: - yarn install @@ -53,7 +38,7 @@ build: #### lint: - extends: .back_job + extends: .base_job stage: test script: - yarn install @@ -63,7 +48,7 @@ lint: policy: pull test: - extends: .back_job + extends: .base_job stage: test script: - yarn install