ci(buildkite): update hardcoded pipeline steps (#3711)

* ci(buildkite): update hardcoded pipeline steps

* fix: yamllint spacing
pull/3710/head^2
Amir Zarrinkafsh 2022-07-15 11:58:25 +10:00 committed by GitHub
parent c101a836be
commit 6164057578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -28,18 +28,18 @@ steps:
concurrency: 1 concurrency: 1
concurrency_group: "deployments" concurrency_group: "deployments"
depends_on: ~ depends_on: ~
if: build.branch == "master" if: build.branch == "master" && build.message !~ /^docs/
# Non-blocking deployment for all others (tagged commits/local branches). # Non-blocking deployment for all others (tagged commits/local branches).
- label: ":rocket: Setup Deployment" - label: ":rocket: Setup Deployment"
command: ".buildkite/deployment.sh | buildkite-agent pipeline upload" command: ".buildkite/deployment.sh | buildkite-agent pipeline upload"
depends_on: ~ depends_on: ~
if: build.branch != "master" && build.branch !~ /^(dependabot|renovate)\/.*/ && build.pull_request.repository.fork != true # yamllint disable-line rule:line-length if: build.branch != "master" && build.branch !~ /^(dependabot|renovate)\/.*/ && build.message !~ /^docs/ && build.pull_request.repository.fork != true # yamllint disable-line rule:line-length
# Removed dependency optimisation for forked PRs to enforce block step. # Removed dependency optimisation for forked PRs to enforce block step.
- label: ":rocket: Setup Deployment" - label: ":rocket: Setup Deployment"
command: ".buildkite/deployment.sh | buildkite-agent pipeline upload" command: ".buildkite/deployment.sh | buildkite-agent pipeline upload"
if: build.pull_request.repository.fork == true if: build.message !~ /^docs/ && build.pull_request.repository.fork == true
notify: notify:
- webhook: "<REDACTED WEBHOOK_URL>" - webhook: "<REDACTED WEBHOOK_URL>"