From d2e79d8734faca98e8d6e22afedba032b83a8273 Mon Sep 17 00:00:00 2001 From: Ben Moskovitz Date: Wed, 8 Jun 2022 15:44:39 +1200 Subject: [PATCH] Perform releases from agents on the default queue, rather than from on-demand agents --- .buildkite/pipeline-sar.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.buildkite/pipeline-sar.yml b/.buildkite/pipeline-sar.yml index 1971f58..3cfceaa 100644 --- a/.buildkite/pipeline-sar.yml +++ b/.buildkite/pipeline-sar.yml @@ -20,10 +20,6 @@ steps: - sam package --region us-east-1 --s3-bucket buildkite-serverless-apps-us-east-1 --s3-prefix elastic-ci/agent-scaler --output-template-file packaged.yml - buildkite-agent artifact upload 'packaged.yml' - echo "--- Template"; echo "$(< packaged.yml)" - agents: - queue: on-demand - image: 172840064832.dkr.ecr.us-east-1.amazonaws.com/agent/sam - task-role: PublishBuildkiteAgentScalerServerlessRepo depends_on: - test - build @@ -38,9 +34,5 @@ steps: command: - buildkite-agent artifact download 'packaged.yml' . - aws serverlessrepo create-application-version --application-id arn:aws:serverlessrepo:us-east-1:172840064832:applications/buildkite-agent-scaler --template-body file://packaged.yml --semantic-version "$(buildkite-agent meta-data get version)" --source-code-url "https://github.com/buildkite/buildkite-agent-scaler/tree/$(git rev-parse HEAD)/" - agents: - queue: on-demand - image: 172840064832.dkr.ecr.us-east-1.amazonaws.com/agent/sam - task-role: PublishBuildkiteAgentScalerServerlessRepo depends_on: - release