[Buildkite] Optimise deployment dependencies (#668)

* Update all dependencies to allow more parallel jobs.
* Remove concurrency limit for non-master deployments to prevent pipeline blocking.
This commit is contained in:
Amir Zarrinkafsh 2020-03-01 01:31:10 +11:00 committed by GitHub
parent ac313ac89b
commit b007953580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,11 @@ steps:
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload" command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
concurrency: 1 concurrency: 1
concurrency_group: "deployments" concurrency_group: "deployments"
if: build.branch == "master"
- label: ":docker: Image Deployments"
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
if: build.branch != "master"
- wait - wait
@ -12,9 +17,17 @@ steps:
concurrency_group: "deployments" concurrency_group: "deployments"
env: env:
DOCKER_CLI_EXPERIMENTAL: "enabled" DOCKER_CLI_EXPERIMENTAL: "enabled"
if: build.branch == "master"
- label: ":docker: Deploy Manifests"
command: "authelia-scripts docker push-manifest"
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
if: build.branch != "master"
- label: ":github: Deploy Artifacts" - label: ":github: Deploy Artifacts"
command: "ghartifacts.sh" command: "ghartifacts.sh"
depends_on: ~
retry: retry:
automatic: true automatic: true
agents: agents:
@ -24,10 +37,12 @@ steps:
- label: ":linux: Deploy AUR" - label: ":linux: Deploy AUR"
command: ".buildkite/steps/aurpackages.sh | buildkite-agent pipeline upload" command: ".buildkite/steps/aurpackages.sh | buildkite-agent pipeline upload"
depends_on: ~
if: build.tag != null || build.branch == "master" if: build.tag != null || build.branch == "master"
- label: ":book: Deploy Documentation" - label: ":book: Deploy Documentation"
command: "syncdoc.sh" command: "syncdoc.sh"
depends_on: ~
agents: agents:
upload: "fast" upload: "fast"
if: build.branch == "master" if: build.branch == "master"