Skip to content

Commit

Permalink
test that I have permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Sep 19, 2024
1 parent 45119b1 commit f6abe3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ jobs:
id-token: write # This is required for requesting the JWT
steps:
# We can't use the `uses: docker://image` version yet, GitHub lacks authentication for actions -> packages
- name: tests
run: |
aws sts get-caller-identity
aws --region us-east-1 secretsmanager get-secret-value --secret-id unit-test/endpoint
- name: configure AWS credentials (containers)
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down Expand Up @@ -305,7 +309,7 @@ jobs:
version: ${{ matrix.version }}
cpu_count: 4
shell: bash
environment_variables: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_REGION AWS_REGION
environment_variables: AWS_REGION
run: |
sudo pkg_add awscli py3-pip py3-urllib3
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz', 'builder')"
Expand Down

0 comments on commit f6abe3d

Please sign in to comment.