From a0b79c61d2f02476a27d946b2bed6e1e1fe7acce Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Sat, 18 Jan 2020 10:58:58 +1100 Subject: [PATCH] Group docker deployment steps to prevent race conditions/conflicts --- .buildkite/pipeline.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index e32f5c41..02300e65 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -23,6 +23,8 @@ steps: - label: ":docker: Image Deployments" command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload" branches: "master v*" + concurrency: 1 + concurrency_group: "deployments" - wait: if: build.branch == "master" || build.branch =~ /^v/ @@ -30,6 +32,8 @@ steps: - label: ":docker: Deploy Manifests" command: "authelia-scripts docker push-manifest" branches: "master v*" + concurrency: 1 + concurrency_group: "deployments" env: DOCKER_CLI_EXPERIMENTAL: "enabled"