Skip to content

Commit

Permalink
Merge pull request #11996 from vector-im/t3chguy/buildkite
Browse files Browse the repository at this point in the history
BuildKite: Only deploy to /develop if everything else passed
  • Loading branch information
t3chguy authored Jan 22, 2020
2 parents 0f24950 + 5d95a3e commit 8d769da
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand All @@ -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"

0 comments on commit 8d769da

Please sign in to comment.