Skip to content

Commit

Permalink
Use endpoint to share artifacts (Tiger bot) (influxdata#9012)
Browse files Browse the repository at this point in the history
* Diagnose issue

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml
  • Loading branch information
ivorybilled authored Mar 18, 2021
1 parent 4dcc3c0 commit 56c92d9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 56c92d9

Please sign in to comment.