From 8b64c9aad5971199a9e0ace6ae90165a84b43b42 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Sun, 22 Mar 2020 11:03:36 +1100 Subject: [PATCH] [Buildkite] Optimise pipeline for tagged deployments (#766) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Buildkite] Optimise pipeline for tagged deployments Ensure Unit and Integration testing is bypassed for tagged builds. * Apply suggestions from code review Co-Authored-By: Clément Michaud --- .buildkite/pipeline.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.sh b/.buildkite/pipeline.sh index aaa74767..01ed23e3 100755 --- a/.buildkite/pipeline.sh +++ b/.buildkite/pipeline.sh @@ -28,7 +28,7 @@ env: steps: - label: ":hammer_and_wrench: Unit Test" command: "authelia-scripts --log-level debug ci" - if: build.branch != "master" && build.env("CI_DOCS_BYPASS") != "true" + if: (build.branch != "master" || build.tag !~ /^v.*/) && build.env("CI_DOCS_BYPASS") != "true" - wait: if: build.env("CI_DOCS_BYPASS") != "true" @@ -45,5 +45,5 @@ steps: command: ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload" depends_on: - "build-docker-amd64" - if: build.branch != "master" && build.env("CI_DOCS_BYPASS") != "true" -EOF \ No newline at end of file + if: (build.branch != "master" || build.tag !~ /^v.*/) && build.env("CI_DOCS_BYPASS") != "true" +EOF