-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): renamed master.yaml to master.yml.
Signed-off-by: Federico Di Pierro <[email protected]>
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Master CI - deploys terraform and prow | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
|
||
concurrency: | ||
group: master-CI | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
deploy-terraform: | ||
permissions: | ||
id-token: write | ||
contents: read | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout test-infra ⤵️ | ||
uses: actions/checkout@v4 | ||
|
||
- name: Configure AWS credentials 🔧⚙️ | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
role-to-assume: "arn:aws:iam::292999226676:role/github_actions-test-infra-cluster" | ||
aws-region: eu-west-1 | ||
|
||
- name: Deploy terraform | ||
run: | | ||
./tools/deploy_terraform.sh | ||
deploy-prow: | ||
runs-on: ubuntu-22.04 | ||
needs: deploy-terraform | ||
steps: | ||
- name: Checkout test-infra ⤵️ | ||
uses: actions/checkout@v4 | ||
|
||
- name: Deploy prow | ||
env: | ||
PROW_HMAC_TOKEN: ${{ secrets.PROW_HMAC_TOKEN }} | ||
PROW_OAUTH_TOKEN: ${{ secrets.PROW_OAUTH_TOKEN }} | ||
PROW_SERVICE_ACCOUNT_JSON: ${{ secrets.PROW_SERVICE_ACCOUNT_JSON }} | ||
run: | | ||
./tools/deploy_prow.sh |