Skip to content

Commit

Permalink
feat: refs #109849 setup ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoMaurice committed Jul 23, 2019
1 parent 1a14774 commit f138a1b
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

####
####
Expand All @@ -41,7 +26,7 @@ stages:
####

build:
extends: .back_job
extends: .base_job
stage: build
script:
- yarn install
Expand All @@ -53,7 +38,7 @@ build:
####

lint:
extends: .back_job
extends: .base_job
stage: test
script:
- yarn install
Expand All @@ -63,7 +48,7 @@ lint:
policy: pull

test:
extends: .back_job
extends: .base_job
stage: test
script:
- yarn install
Expand Down

0 comments on commit f138a1b

Please sign in to comment.