Skip to content

Commit

Permalink
increase OIDC token to 3 hours for long running jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodobolero committed Aug 8, 2024
1 parent 5d3b446 commit b0637a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/benchmarking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
with:
aws-region: us-east-2
role-to-assume: ${{ vars.DEV_AWS_OIDC_ROLE_ARN }}

Check failure on line 98 in .github/workflows/benchmarking.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/benchmarking.yml#L98

undefined configuration variable "dev_aws_oidc_role_arn". defined configuration variables in actionlint.yaml are "BENCHMARK_PROJECT_ID_PUB", "BENCHMARK_PROJECT_ID_SUB", "REMOTE_STORAGE_AZURE_CONTAINER", "REMOTE_STORAGE_AZURE_REGION", "SLACK_UPCOMING_RELEASE_CHANNEL_ID" [expression]
Raw output
.github/workflows/benchmarking.yml:98:29: undefined configuration variable "dev_aws_oidc_role_arn". defined configuration variables in actionlint.yaml are "BENCHMARK_PROJECT_ID_PUB", "BENCHMARK_PROJECT_ID_SUB", "REMOTE_STORAGE_AZURE_CONTAINER", "REMOTE_STORAGE_AZURE_REGION", "SLACK_UPCOMING_RELEASE_CHANNEL_ID" [expression]
# role-duration-seconds: 10800 # 3 hours
role-duration-seconds: 10800 # 3 hours

- name: Download Neon artifact
uses: ./.github/actions/download
Expand Down Expand Up @@ -357,7 +357,7 @@ jobs:
with:
aws-region: us-east-2
role-to-assume: ${{ vars.DEV_AWS_OIDC_ROLE_ARN }}

Check failure on line 359 in .github/workflows/benchmarking.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/benchmarking.yml#L359

undefined configuration variable "dev_aws_oidc_role_arn". defined configuration variables in actionlint.yaml are "BENCHMARK_PROJECT_ID_PUB", "BENCHMARK_PROJECT_ID_SUB", "REMOTE_STORAGE_AZURE_CONTAINER", "REMOTE_STORAGE_AZURE_REGION", "SLACK_UPCOMING_RELEASE_CHANNEL_ID" [expression]
Raw output
.github/workflows/benchmarking.yml:359:29: undefined configuration variable "dev_aws_oidc_role_arn". defined configuration variables in actionlint.yaml are "BENCHMARK_PROJECT_ID_PUB", "BENCHMARK_PROJECT_ID_SUB", "REMOTE_STORAGE_AZURE_CONTAINER", "REMOTE_STORAGE_AZURE_REGION", "SLACK_UPCOMING_RELEASE_CHANNEL_ID" [expression]
# role-duration-seconds: 10800 # 3 hours
role-duration-seconds: 10800 # 3 hours

- name: Download Neon artifact
uses: ./.github/actions/download
Expand Down Expand Up @@ -568,6 +568,7 @@ jobs:
with:
aws-region: us-east-2
role-to-assume: ${{ vars.DEV_AWS_OIDC_ROLE_ARN }}

Check failure on line 570 in .github/workflows/benchmarking.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/benchmarking.yml#L570

undefined configuration variable "dev_aws_oidc_role_arn". defined configuration variables in actionlint.yaml are "BENCHMARK_PROJECT_ID_PUB", "BENCHMARK_PROJECT_ID_SUB", "REMOTE_STORAGE_AZURE_CONTAINER", "REMOTE_STORAGE_AZURE_REGION", "SLACK_UPCOMING_RELEASE_CHANNEL_ID" [expression]
Raw output
.github/workflows/benchmarking.yml:570:29: undefined configuration variable "dev_aws_oidc_role_arn". defined configuration variables in actionlint.yaml are "BENCHMARK_PROJECT_ID_PUB", "BENCHMARK_PROJECT_ID_SUB", "REMOTE_STORAGE_AZURE_CONTAINER", "REMOTE_STORAGE_AZURE_REGION", "SLACK_UPCOMING_RELEASE_CHANNEL_ID" [expression]

- name: Create Allure report
if: ${{ !cancelled() }}
uses: ./.github/actions/allure-report-generate
Expand Down

0 comments on commit b0637a9

Please sign in to comment.