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
Fix testing in the pipeline
Michal Rutkadcd143d0f7f1
diff --git a/gitlab-ci/gitlab-ci-submodule.yml b/gitlab-ci/gitlab-ci-submodule.ymlindex 94416067d..2b51e08f4 100644--- a/gitlab-ci/gitlab-ci-submodule.yml+++ b/gitlab-ci/gitlab-ci-submodule.yml@@ -146,15 +146,16 @@ build FAILED:test-master:stage: test+ allow_failure: truebefore_script:- docker run -v $(pwd):/or- -v /var/run/docker.sock:/var/run/docker.sock "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"+ -v /var/run/docker.sock:/var/run/docker.sock registry.gitlab.com/openremote/openremote:master/bin/sh -c "docker-compose -f profile/dev-testing.yml pull"- docker run -v $(pwd):/or- -v /var/run/docker.sock:/var/run/docker.sock "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"+ -v /var/run/docker.sock:/var/run/docker.sock registry.gitlab.com/openremote/openremote:master/bin/sh -c "docker-compose -f profile/dev-testing.yml up --no-build -d"script:- - docker run --network host -v $(pwd):/or "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"+ - docker run --network host -v $(pwd):/or registry.gitlab.com/openremote/openremote:master/bin/sh -c "./gradlew clean test"rules:- if: $CI_COMMIT_MESSAGE !~ /skip-test/