100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Added tests artifacts. skip-build and skip-deploy
Michal Rutka1b6e11d963d1
diff --git a/.gitlab-ci.yml b/.gitlab-ci.ymlindex e10d26127..5360da686 100644--- a/.gitlab-ci.yml+++ b/.gitlab-ci.yml@@ -118,6 +118,10 @@ test-master:- if: $CI_COMMIT_BRANCH == "master"if: $CI_COMMIT_MESSAGE !~ /skip-test/when: on_success+ artifacts:+ paths:+ - /or/test/build/reports/tests/test/index.html+ expire_in: 2 monthsemail failed tests:stage: tests_fail@@ -138,9 +142,10 @@ deploy-master:- aws cloudformation wait stack-create-complete --stack-name $AWS_STACK_NAME- aws cloudformation describe-stacks --stack-name $AWS_STACK_NAMEallow_failure: true # set when:manual optional and not blocking- when: manual- only:- - master+ rules:+ - if: $CI_COMMIT_BRANCH == "master"+ if: $CI_COMMIT_MESSAGE !~ /skip-deploy/+ when: manualauto delete aws cloudformation stack after 8 hours:image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest@@ -151,6 +156,7 @@ auto delete aws cloudformation stack after 8 hours:allow_failure: true # set when:manual optional and not blockingrules:- if: $CI_COMMIT_BRANCH == "master"+ if: $CI_COMMIT_MESSAGE !~ /skip-deploy/when: delayedstart_in: '8 hours'@@ -179,4 +185,5 @@ manual delete aws cloudformation stack:allow_failure: true # set when:manual optional and not blockingrules:- if: $CI_COMMIT_BRANCH == "master"+ if: $CI_COMMIT_MESSAGE !~ /skip-deploy/when: manual