Skip to content

Commit

Permalink
setup role
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Dec 19, 2023
1 parent 0a83a98 commit 1678196
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cross-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
- name: Cross script
env:
PLATFORM: ${{matrix.platform}}
AWS_ACCESS_KEY_ID: ${{secrets.TRACT_CI_AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.TRACT_CI_AWS_SECRET_ACCESS_KEY}}
AWS_EC2_METADATA_DISABLED: true
run: .travis/cross.sh

Expand All @@ -74,6 +72,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ARN: arn:aws:iam::567805100031:role/github-runner-tract-ci
aws-region: us-east-2

- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ARN: arn:aws:iam::567805100031:role/github-runner-tract-ci
aws-region: us-east-2

- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -64,8 +70,6 @@ jobs:
# run: .travis/setup-sccache.sh
- name: Full test
env:
AWS_ACCESS_KEY_ID: ${{secrets.TRACT_CI_AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.TRACT_CI_AWS_SECRET_ACCESS_KEY}}
AWS_EC2_METADATA_DISABLED: true
run: .travis/cli-tests.sh

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ARN: arn:aws:iam::567805100031:role/github-runner-tract-ci
aws-region: us-east-2

- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 1678196

Please sign in to comment.