Commit a3c9d279 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

added 'only'

parent 4af3be7b
...@@ -30,6 +30,9 @@ cBioDb build: ...@@ -30,6 +30,9 @@ cBioDb build:
script: script:
*docker-build-db *docker-build-db
when: manual when: manual
only:
refs:
- master
cBioJob build: cBioJob build:
stage: build stage: build
...@@ -38,7 +41,9 @@ cBioJob build: ...@@ -38,7 +41,9 @@ cBioJob build:
script: script:
*docker-build-job *docker-build-job
when: manual when: manual
only:
refs:
- master
deploy to k8s: deploy to k8s:
stage: deploy stage: deploy
...@@ -52,7 +57,9 @@ deploy to k8s: ...@@ -52,7 +57,9 @@ deploy to k8s:
- kubectl apply -f ./yaml - kubectl apply -f ./yaml
when: when:
manual manual
only:
refs:
- master
#BETA #BETA
cBioDb build: cBioDb build:
...@@ -62,7 +69,9 @@ cBioDb build: ...@@ -62,7 +69,9 @@ cBioDb build:
script: script:
*docker-build-db *docker-build-db
when: manual when: manual
only:
refs:
- beta
cBioJob build: cBioJob build:
stage: build stage: build
<<: *docker-login <<: *docker-login
...@@ -70,7 +79,9 @@ cBioJob build: ...@@ -70,7 +79,9 @@ cBioJob build:
script: script:
*docker-build-job *docker-build-job
when: manual when: manual
only:
refs:
- beta
deploy to k8s: deploy to k8s:
stage: deploy stage: deploy
...@@ -82,7 +93,9 @@ deploy to k8s: ...@@ -82,7 +93,9 @@ deploy to k8s:
- ./yaml/bash.sh - ./yaml/bash.sh
- kubectl version - kubectl version
- kubectl apply -f ./yaml - kubectl apply -f ./yaml
only:
refs:
- beta
#DEV #DEV
cBioDb build: cBioDb build:
stage: build stage: build
...@@ -91,6 +104,9 @@ cBioDb build: ...@@ -91,6 +104,9 @@ cBioDb build:
script: script:
*docker-build-db *docker-build-db
when: manual when: manual
only:
refs:
- dev
cBioJob build: cBioJob build:
stage: build stage: build
...@@ -99,7 +115,9 @@ cBioJob build: ...@@ -99,7 +115,9 @@ cBioJob build:
script: script:
*docker-build-job *docker-build-job
when: manual when: manual
only:
refs:
- dev
deploy to k8s: deploy to k8s:
stage: deploy stage: deploy
...@@ -111,3 +129,6 @@ deploy to k8s: ...@@ -111,3 +129,6 @@ deploy to k8s:
- ./yaml/bash.sh - ./yaml/bash.sh
- kubectl version - kubectl version
- kubectl apply -f ./yaml - kubectl apply -f ./yaml
only:
refs:
- dev
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment