mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Make Buildkite wait blocks conditional
This is so they do not appear on the Buildkite interface when their subsequent steps will not be executed.
This commit is contained in:
parent
fd53bbef2d
commit
7f7a3af60c
|
@ -14,7 +14,8 @@ steps:
|
|||
command: ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload"
|
||||
key: "test"
|
||||
|
||||
- wait
|
||||
- wait:
|
||||
if: build.branch == "master" || build.branch =~ /^v/
|
||||
|
||||
- label: ":docker: Image Builds"
|
||||
command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload"
|
||||
|
@ -23,7 +24,8 @@ steps:
|
|||
- "build"
|
||||
key: "build-docker"
|
||||
|
||||
# - wait
|
||||
# - wait:
|
||||
# if: build.branch == "master" || build.branch =~ /^v/
|
||||
#
|
||||
# - label: ":docker: Image Deployments"
|
||||
# command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
||||
|
@ -32,7 +34,8 @@ steps:
|
|||
# - "test"
|
||||
# - "build-docker"
|
||||
#
|
||||
# - wait
|
||||
# - wait:
|
||||
# if: build.branch == "master" || build.branch =~ /^v/
|
||||
#
|
||||
# - label: ":docker: Deploy Manifests"
|
||||
# command: "authelia-scripts docker push-manifest"
|
||||
|
|
Loading…
Reference in New Issue
Block a user