diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index 0f0607982908b9697ae7953a57e0878cb6003b68..ea8a2d7a084d56bc6120104e122168f0ba75b945 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -1,14 +1,3 @@ -Make All Images: - stage: build - tags: - - linux - - dockerd - script: - - make - only: - variables: - - $BUILD_ALL == "true" - Make PHP Lint: stage: build tags: diff --git a/.gitlab/ci/publish.yml b/.gitlab/ci/publish.yml index 6df320246bfc31189c72399f10b8706a1e063cf1..0e1d2d94b1c3b59e4168896f8a54566d42a33969 100644 --- a/.gitlab/ci/publish.yml +++ b/.gitlab/ci/publish.yml @@ -12,16 +12,11 @@ script: - make publish -Publish All Images: - <<: *push_to_registry - only: - variables: - - $PUBLISH_ALL == "true" - Publish PHP Lint: <<: *push_to_registry variables: IMG_NAME: "php-lint" + needs: ["Make PHP Lint"] only: refs: - master @@ -33,6 +28,7 @@ Publish PHP Unit Test: <<: *push_to_registry variables: IMG_NAME: "php-unit-test" + needs: ["Make PHP Unit Test"] only: refs: - master @@ -44,6 +40,7 @@ Publish Android Build: <<: *push_to_registry variables: IMG_NAME: "android-build-server" + needs: ["Make Android Build"] only: refs: - master @@ -55,6 +52,7 @@ Publish Static Code Analysis: <<: *push_to_registry variables: IMG_NAME: "static-code-analysis" + needs: ["Make Static Code Analysis"] only: refs: - master @@ -66,6 +64,7 @@ Publish Alpine SSH Client: <<: *push_to_registry variables: IMG_NAME: "alpine-ssh-client" + needs: ["Make Alpine SSH Client"] only: refs: - master @@ -77,6 +76,7 @@ Publish Merge Check: <<: *push_to_registry variables: IMG_NAME: "merge-request-check" + needs: ["Make Merge Request Check"] only: refs: - master @@ -88,6 +88,7 @@ Publish XML Lint: <<: *push_to_registry variables: IMG_NAME: "xml-lint" + needs: ["Make XML Lint"] only: refs: - master @@ -99,6 +100,7 @@ Publish Dependency Check: <<: *push_to_registry variables: IMG_NAME: "dependency-check" + needs: ["Make Dependency Check"] only: refs: - master @@ -110,6 +112,7 @@ Publish Detect Secrets: <<: *push_to_registry variables: IMG_NAME: "detect-secrets" + needs: ["Make Detect Secrets"] only: refs: - master diff --git a/.gitlab/ci/test.yml b/.gitlab/ci/test.yml index 7ee5f63cf29a7aaabc63a438ff08f73c9cda2eb7..0242098884cca185722024837b37b4470eec80e5 100644 --- a/.gitlab/ci/test.yml +++ b/.gitlab/ci/test.yml @@ -3,6 +3,7 @@ Test Container Versions: tags: - linux - dockerd + needs: ["Make Static Code Analysis", "Make Detect Secrets", "Make Dependency Check"] only: - develop script: @@ -15,6 +16,7 @@ Test PHP Lint: tags: - linux - dockerd + needs: ["Make PHP Lint"] only: - develop script: