From 5d95a3ef7e1ad99861afbbf9c8df26857b001bbb Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 22 Jan 2020 15:04:31 +0000 Subject: [PATCH] Only deploy to /develop if everything else passed --- .buildkite/pipeline.yaml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 6f383d8b26..573a2877b0 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -52,19 +52,6 @@ steps: - docker#v3.0.1: image: "node:10" - - label: ":hammer: Package" - command: - - "echo '--- Fetching Dependencies'" - - "./scripts/fetch-develop.deps.sh --depth 1" - - "yarn install" - - "echo '+++ Packaging'" - - "./scripts/ci_package.sh" - branches: "develop" - artifact_paths: "dist/riot-*.tar.gz" - plugins: - - docker#v3.0.1: - image: "node:10" - - label: "🌐 i18n" command: - "echo '--- Fetching Dependencies'" @@ -75,3 +62,19 @@ steps: plugins: - docker#v3.0.1: image: "node:10" + + - wait: ~ # this wait is to perform deploy to /develop only if all other steps passed + continue_on_failure: false + + - label: ":hammer: Package" + command: + - "echo '--- Fetching Dependencies'" + - "./scripts/fetch-develop.deps.sh --depth 1" + - "yarn install" + - "echo '+++ Packaging'" + - "./scripts/ci_package.sh" + branches: "develop" + artifact_paths: "dist/riot-*.tar.gz" + plugins: + - docker#v3.0.1: + image: "node:10"