Skip to content

armgit / core

Public Imported from GitHub
0

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

Make tests optional till they work

Michal Rutka9c9c401b222f
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 65ed866a1..f59ad42ba 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -105,8 +105,9 @@ test-master:
/bin/sh -c "./gradlew clean build installDist"
# Still has 3 errors, therefore allow it to fail
allow_failure: true
- only:
- - master
+ rules:
+ - if: $CI_COMMIT_BRANCH == "master"
+ when: manual
deploy-master:
image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest
@@ -148,4 +149,5 @@ delete aws cloudformation stack:
- if: $CI_COMMIT_BRANCH == "master"
when: delayed
start_in: '8 hours'
- - when: manual
+ - if: $CI_COMMIT_BRANCH == "master"
+ when: manual