-
Notifications
You must be signed in to change notification settings - Fork 108
37 lines (31 loc) · 987 Bytes
/
master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Master CI - deploys terraform and prow
on:
push:
branches: [master]
concurrency:
group: master-CI
cancel-in-progress: false
jobs:
deploy-terraform-prow:
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
- 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