[Buildkite] Adjust pipeline for dependabot (#707)

Minor tweak to skip the whole deployment pipeline rather than individual steps.
This commit is contained in:
Amir Zarrinkafsh 2020-03-15 14:48:18 +11:00 committed by GitHub
parent cd561ef094
commit 7a3d43a12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,10 +20,10 @@ steps:
- label: ":docker: Image Deployments"
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
if: build.branch != "master" && build.branch !~ /^dependabot\/.*/ && build.env("CI_DOCS_BYPASS") != "true"
if: build.branch != "master" && build.env("CI_DOCS_BYPASS") != "true"
- wait:
if: build.branch !~ /^dependabot\/.*/ && build.env("CI_DOCS_BYPASS") != "true"
if: build.env("CI_DOCS_BYPASS") != "true"
- label: ":docker: Deploy Manifests"
command: "authelia-scripts docker push-manifest"
@ -37,7 +37,7 @@ steps:
command: "authelia-scripts docker push-manifest"
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
if: build.branch != "master" && build.branch !~ /^dependabot\/.*/ && build.env("CI_DOCS_BYPASS") != "true"
if: build.branch != "master" && build.env("CI_DOCS_BYPASS") != "true"
- label: ":github: Deploy Artifacts"
command: "ghartifacts.sh"