From 56c92d99e0b477734ee66ec1cc6555284c504a2b Mon Sep 17 00:00:00 2001 From: David Bennett <71459415+Jagularr@users.noreply.github.com> Date: Thu, 18 Mar 2021 17:31:31 -0400 Subject: [PATCH] Use endpoint to share artifacts (Tiger bot) (#9012) * Diagnose issue * Updated config.yml * Updated config.yml * Updated config.yml * Updated config.yml * Updated config.yml * Updated config.yml * Updated config.yml --- .circleci/config.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8ce079a379ed7..f14fa48e0a074 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -183,17 +183,12 @@ jobs: share-artifacts: executor: aws-cli/default steps: - - aws-cli/setup: - profile-name: TIGER - aws-access-key-id: TIGER_AWS_ACCESS_KEY_ID - aws-secret-access-key: TIGER_AWS_SECRET_ACCESS_KEY - aws-region: TIGER_AWS_DEFAULT_REGION - run: command: | PR=${CIRCLE_PULL_REQUEST##*/} printf -v payload '{ "pullRequestNumber": "%s" }' "$PR" - aws lambda invoke --function-name telegraf-tiger-prod-share_artifacts --profile TIGER --cli-binary-format raw-in-base64-out --payload "$payload" output.json - + curl -X POST "https://182c7jdgog.execute-api.us-east-1.amazonaws.com/prod/shareArtifacts" --data "$payload" + workflows: version: 2 check: