File tree Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -96,11 +96,5 @@ steps:
9696 branches :
9797 - master
9898 agents :
99- queue : " deploy"
100- plugins :
101- - ecr#v2.0.0:
102- login : true
103- account-ids : " 032379705303"
104- - docker#v3.5.0:
105- image : " 032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2020.03"
106- propagate-environment : true
99+ queue : " on-demand"
100+ task-definition : github-publish-buildkite-elastic-stack-releaser
Original file line number Diff line number Diff line change 1212 exit 1
1313fi
1414
15- echo ' --- Getting credentials from SSM'
16- export GITHUB_RELEASE_ACCESS_TOKEN=$( aws ssm get-parameter --name /pipelines/elastic-ci-stack-s3-secrets-hooks/GITHUB_RELEASE_ACCESS_TOKEN --with-decryption --output text --query Parameter.Value --region us-east-1)
17-
18- if [ -z " ${GITHUB_RELEASE_ACCESS_TOKEN} " ]
19- then
20- echo " Error: Missing \$ GITHUB_RELEASE_ACCESS_TOKEN, set AWS SSM /pipelines/elastic-ci-stack-s3-secrets-hooks/GITHUB_RELEASE_ACCESS_TOKEN in us-east-1 before invoking this step"
21- exit 1
22- fi
23-
2415echo ' --- Downloading releases'
2516
2617rm -rf pkg
@@ -29,6 +20,4 @@ buildkite-agent artifact download "pkg/*"
2920
3021echo ' --- Creating GitHub Release'
3122
32- export GITHUB_RELEASE_REPOSITORY=" buildkite/elastic-ci-stack-s3-secrets-hooks"
33-
34- github-release " ${VERSION} " pkg/* --commit " $( git rev-parse HEAD) "
23+ github-release " ${VERSION} " pkg/* --commit " $( git rev-parse HEAD) " --github-repository " buildkite/elastic-ci-stack-s3-secrets-hooks"
You can’t perform that action at this time.
0 commit comments