Skip to content

armgit / core

Public Imported from GitHub
0

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

Remove redundant pipeline steps

Michal Rutka91bd9903e2e9
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3a4f6a16f..2c647b9eb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -95,8 +95,7 @@ build-deployment-manager-swarm:
- docker buildx build --push --platform $PLATFORM -t openremote/deployment:latest deployment
- docker buildx build --push --platform $PLATFORM -t openremote/manager-swarm:latest -f manager/build/install/manager/swarm.Dockerfile manager/build/install/manager
rules:
- - if: $RUN_TESTS == "true"
- when: never
+ - when: never
- if: $CI_COMMIT_MESSAGE !~ /skip-build/
when: manual
retry:
@@ -123,8 +122,7 @@ build-keycloak-postgresql-proxy:
- docker buildx build --push --platform linux/amd64 -t openremote/keycloak:latest keycloak
- docker buildx build --push --platform $PLATFORM -t openremote/postgresql:latest postgresql
rules:
- - if: $RUN_TESTS == "true"
- when: never
+ - when: never
- if: $CI_COMMIT_MESSAGE =~ /skip-build/
when: never
- changes:
@@ -228,8 +226,7 @@ email failed build:
stage: build_fail
<<: *notify_email
rules:
- - if: $RUN_TESTS == "true"
- when: never
+ - when: never
- if: $CI_COMMIT_MESSAGE =~ /deploy-demo/
when: on_failure
- if: $CI_COMMIT_MESSAGE =~ /skip-build/
@@ -240,8 +237,7 @@ build FAILED:
stage: build_fail
<<: *notify_whatsapp
rules:
- - if: $RUN_TESTS == "true"
- when: never
+ - when: never
- if: $CI_COMMIT_MESSAGE =~ /deploy-demo/
when: on_failure
- if: $CI_COMMIT_MESSAGE =~ /skip-build/
@@ -261,6 +257,7 @@ test-master:
- docker run --network host -v $(pwd):/or "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
/bin/sh -c "./gradlew clean test"
rules:
+ - when: never
- if: $RUN_TESTS == "true"
when: never
- if: $CI_COMMIT_MESSAGE !~ /skip-test/
@@ -315,6 +312,7 @@ email failed tests:
- export STAGE='tests'
<<: *notify_email
rules:
+ - when: never
- if: $RUN_TESTS == "true"
when: never
- if: $CI_COMMIT_MESSAGE !~ /skip-test/
@@ -325,6 +323,7 @@ test FAILED:
needs: ["test-master"]
<<: *notify_whatsapp
rules:
+ - when: never
- if: $RUN_TESTS == "true"
when: never
- if: $CI_COMMIT_MESSAGE !~ /skip-test/