Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Remove other branches from CI

Michal Rutkafe3534c172fe
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4dd4781fb..8eb8a3f71 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,12 +23,12 @@ docker-build-master:
only:
- master
-docker-build:
- # Official docker image.
- image: docker:latest
+docker-build-no-master:
stage: build
script:
- echo No CI for other branches
+ - exit 1
+ allow_faliure: true
except:
- master
@@ -55,4 +55,6 @@ test-master:
deploy:
stage: deploy
script:
- - echo Continous deploy TODO
\ No newline at end of file
+ - echo Continous deploy TODO
+ only:
+ - master
\ No newline at end of file