Skip to content
Snippets Groups Projects
Commit 6ff87498 authored by Alan Nelson's avatar Alan Nelson
Browse files

Use DAG in build pipeline

parent c6ec1020
No related branches found
No related tags found
2 merge requests!54Develop,!52Updates
Make All Images:
stage: build
tags:
- linux
- dockerd
script:
- make
only:
variables:
- $BUILD_ALL == "true"
Make PHP Lint: Make PHP Lint:
stage: build stage: build
tags: tags:
......
...@@ -12,16 +12,11 @@ ...@@ -12,16 +12,11 @@
script: script:
- make publish - make publish
Publish All Images:
<<: *push_to_registry
only:
variables:
- $PUBLISH_ALL == "true"
Publish PHP Lint: Publish PHP Lint:
<<: *push_to_registry <<: *push_to_registry
variables: variables:
IMG_NAME: "php-lint" IMG_NAME: "php-lint"
needs: ["Make PHP Lint"]
only: only:
refs: refs:
- master - master
...@@ -33,6 +28,7 @@ Publish PHP Unit Test: ...@@ -33,6 +28,7 @@ Publish PHP Unit Test:
<<: *push_to_registry <<: *push_to_registry
variables: variables:
IMG_NAME: "php-unit-test" IMG_NAME: "php-unit-test"
needs: ["Make PHP Unit Test"]
only: only:
refs: refs:
- master - master
...@@ -44,6 +40,7 @@ Publish Android Build: ...@@ -44,6 +40,7 @@ Publish Android Build:
<<: *push_to_registry <<: *push_to_registry
variables: variables:
IMG_NAME: "android-build-server" IMG_NAME: "android-build-server"
needs: ["Make Android Build"]
only: only:
refs: refs:
- master - master
...@@ -55,6 +52,7 @@ Publish Static Code Analysis: ...@@ -55,6 +52,7 @@ Publish Static Code Analysis:
<<: *push_to_registry <<: *push_to_registry
variables: variables:
IMG_NAME: "static-code-analysis" IMG_NAME: "static-code-analysis"
needs: ["Make Static Code Analysis"]
only: only:
refs: refs:
- master - master
...@@ -66,6 +64,7 @@ Publish Alpine SSH Client: ...@@ -66,6 +64,7 @@ Publish Alpine SSH Client:
<<: *push_to_registry <<: *push_to_registry
variables: variables:
IMG_NAME: "alpine-ssh-client" IMG_NAME: "alpine-ssh-client"
needs: ["Make Alpine SSH Client"]
only: only:
refs: refs:
- master - master
...@@ -77,6 +76,7 @@ Publish Merge Check: ...@@ -77,6 +76,7 @@ Publish Merge Check:
<<: *push_to_registry <<: *push_to_registry
variables: variables:
IMG_NAME: "merge-request-check" IMG_NAME: "merge-request-check"
needs: ["Make Merge Request Check"]
only: only:
refs: refs:
- master - master
...@@ -88,6 +88,7 @@ Publish XML Lint: ...@@ -88,6 +88,7 @@ Publish XML Lint:
<<: *push_to_registry <<: *push_to_registry
variables: variables:
IMG_NAME: "xml-lint" IMG_NAME: "xml-lint"
needs: ["Make XML Lint"]
only: only:
refs: refs:
- master - master
...@@ -99,6 +100,7 @@ Publish Dependency Check: ...@@ -99,6 +100,7 @@ Publish Dependency Check:
<<: *push_to_registry <<: *push_to_registry
variables: variables:
IMG_NAME: "dependency-check" IMG_NAME: "dependency-check"
needs: ["Make Dependency Check"]
only: only:
refs: refs:
- master - master
...@@ -110,6 +112,7 @@ Publish Detect Secrets: ...@@ -110,6 +112,7 @@ Publish Detect Secrets:
<<: *push_to_registry <<: *push_to_registry
variables: variables:
IMG_NAME: "detect-secrets" IMG_NAME: "detect-secrets"
needs: ["Make Detect Secrets"]
only: only:
refs: refs:
- master - master
......
...@@ -3,6 +3,7 @@ Test Container Versions: ...@@ -3,6 +3,7 @@ Test Container Versions:
tags: tags:
- linux - linux
- dockerd - dockerd
needs: ["Make Static Code Analysis", "Make Detect Secrets", "Make Dependency Check"]
only: only:
- develop - develop
script: script:
...@@ -15,6 +16,7 @@ Test PHP Lint: ...@@ -15,6 +16,7 @@ Test PHP Lint:
tags: tags:
- linux - linux
- dockerd - dockerd
needs: ["Make PHP Lint"]
only: only:
- develop - develop
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment