Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize GitHub actions #339

Merged
merged 26 commits into from
Jan 17, 2024
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fb0b3dc
Optimize GitHub Actions workflow
bnusunny Jan 15, 2024
2e7c3f4
Update the pipeline.yaml
bnusunny Jan 15, 2024
caccd69
Update the pipeline.yaml
bnusunny Jan 15, 2024
f6f73ee
Update the pipeline.yaml
bnusunny Jan 15, 2024
591117d
Update the pipeline.yaml
bnusunny Jan 15, 2024
26ed312
Update the pipeline.yaml
bnusunny Jan 15, 2024
ff36f32
Run to e2e for pull requests
bnusunny Jan 15, 2024
278a78a
Merge branch 'main' into optimize-github-actions
bnusunny Jan 15, 2024
e62b82c
Update aws-actions/configure-aws-credentials to v4
bnusunny Jan 15, 2024
d59d2ea
Merge remote-tracking branch 'origin/optimize-github-actions' into op…
bnusunny Jan 15, 2024
cb64c70
Update aws-actions/configure-aws-credentials to v4
bnusunny Jan 15, 2024
218703b
Use GitHub OIDC provider for auth
bnusunny Jan 15, 2024
e0dd7d3
Use GitHub OIDC provider for auth
bnusunny Jan 15, 2024
dcf0ac0
Use GitHub OIDC provider for auth
bnusunny Jan 15, 2024
00c9132
Use GitHub OIDC provider for auth
bnusunny Jan 15, 2024
5bafeac
Use GitHub OIDC provider for auth
bnusunny Jan 15, 2024
a4a4ead
Use GitHub OIDC provider for auth
bnusunny Jan 15, 2024
cc4c7eb
Use GitHub OIDC provider for auth
bnusunny Jan 16, 2024
b934c42
Use GitHub OIDC provider for auth
bnusunny Jan 16, 2024
8e90351
Use GitHub OIDC provider for auth
bnusunny Jan 16, 2024
609f6b6
Use GitHub OIDC provider for auth
bnusunny Jan 16, 2024
be6af7f
Only run test and build jobs on a new pull request
bnusunny Jan 16, 2024
de5081e
Correct the regions for assume roles
bnusunny Jan 17, 2024
448bf9d
Merge branch 'main' into optimize-github-actions
bnusunny Jan 17, 2024
38206c4
Correct the audience for China regions
bnusunny Jan 17, 2024
8c01c3b
Merge branch 'main' into optimize-github-actions
bnusunny Jan 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ jobs:
with:
aws-region: ${{ matrix.region }}
role-to-assume: ${{ env.GITHUB_RUNNER_CHINA_ROLE }}
audience: sts.amazonaws.com.cn

- name: Assume the china pipeline user role
uses: aws-actions/configure-aws-credentials@v4
Expand Down Expand Up @@ -723,6 +724,7 @@ jobs:
with:
aws-region: ${{ matrix.region }}
role-to-assume: ${{ env.GITHUB_RUNNER_CHINA_ROLE }}
audience: sts.amazonaws.com.cn

- name: Assume the china pipeline user role
uses: aws-actions/configure-aws-credentials@v4
Expand Down Expand Up @@ -965,6 +967,7 @@ jobs:
with:
aws-region: ${{ matrix.region }}
role-to-assume: ${{ env.GITHUB_RUNNER_CHINA_ROLE }}
audience: sts.amazonaws.com.cn

- name: Assume the china pipeline user role
uses: aws-actions/configure-aws-credentials@v4
Expand Down Expand Up @@ -1045,6 +1048,7 @@ jobs:
with:
aws-region: ${{ matrix.region }}
role-to-assume: ${{ env.GITHUB_RUNNER_CHINA_ROLE }}
audience: sts.amazonaws.com.cn

- name: Assume the china pipeline user role
uses: aws-actions/configure-aws-credentials@v4
Expand Down