From b00795358057df0ec0006cc4a46258be96bcec88 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Sun, 1 Mar 2020 01:31:10 +1100 Subject: [PATCH] [Buildkite] Optimise deployment dependencies (#668) * Update all dependencies to allow more parallel jobs. * Remove concurrency limit for non-master deployments to prevent pipeline blocking. --- .buildkite/deployment.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.buildkite/deployment.yml b/.buildkite/deployment.yml index ad54f8cf1..1f15b6fec 100644 --- a/.buildkite/deployment.yml +++ b/.buildkite/deployment.yml @@ -3,6 +3,11 @@ steps: command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload" concurrency: 1 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 @@ -12,9 +17,17 @@ steps: concurrency_group: "deployments" env: 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" command: "ghartifacts.sh" + depends_on: ~ retry: automatic: true agents: @@ -24,10 +37,12 @@ steps: - label: ":linux: Deploy AUR" command: ".buildkite/steps/aurpackages.sh | buildkite-agent pipeline upload" + depends_on: ~ if: build.tag != null || build.branch == "master" - label: ":book: Deploy Documentation" command: "syncdoc.sh" + depends_on: ~ agents: upload: "fast" if: build.branch == "master"