Skip to content

Commit

Permalink
fix: correct aws aws role cred
Browse files Browse the repository at this point in the history
  • Loading branch information
tgunnoe committed Oct 16, 2024
1 parent 759d7c6 commit d9ff9b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
contents: read

runs-on: [self-hosted, eks]

if: github.event.pull_request.draft == false

env:
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Acquire AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
role-to-assume: ${{ secrets.AWS_ROLE_ARN_ }}
aws-region: "eu-central-1"

- name: checkout code
Expand All @@ -63,7 +63,7 @@ jobs:

- name: Set deployment_version as env variable
run: echo "DEPLOYMENT_VERSION=$(jq -r .deployment_version ./config/substrate/devnet_nodes.json)" >> $GITHUB_ENV

- name: Set XRay variables
run: |
if [ ! -z "${{ inputs.plan }}" ]; then
Expand All @@ -76,7 +76,7 @@ jobs:
- name: set report_to_xray env variable
run: |
echo "REPORT_TO_XRAY=$([[ '${{ github.event_name }}' == 'schedule' || -n '${{ github.event.inputs.plan }}' || -n '${{ github.event.inputs.execution }}' ]] && echo true || echo false )" >> $GITHUB_ENV
echo "REPORT_TO_XRAY=$([[ '${{ github.event_name }}' == 'schedule' || -n '${{ github.event.inputs.plan }}' || -n '${{ github.event.inputs.execution }}' ]] && echo true || echo false )" >> $GITHUB_ENV
- name: install earthly
uses: earthly/actions-setup@v1
Expand Down Expand Up @@ -143,11 +143,11 @@ jobs:
if: ${{ !cancelled() }}
with:
node-version: 'latest'

- name: Install Ctrf
if: ${{ !cancelled() }}
run: npm install github-actions-ctrf

- name: Generate Summary Report
if: ${{ !cancelled() }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Acquire AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
role-to-assume: ${{ secrets.AWS_ROLE_ARN_ }}
aws-region: "eu-central-1"

- name: checkout code
Expand All @@ -67,7 +67,7 @@ jobs:

- name: Set deployment_version as env variable
run: echo "DEPLOYMENT_VERSION=$(jq -r .deployment_version ./config/substrate/staging_nodes.json)" >> $GITHUB_ENV

- name: Set XRay variables
run: |
if [ ! -z "${{ inputs.plan }}" ]; then
Expand Down

0 comments on commit d9ff9b3

Please sign in to comment.