Skip to content

Commit

Permalink
chore(ci): renamed master.yaml to master.yml.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Feb 20, 2024
1 parent d4fea04 commit 4c3d9f9
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/master.yml
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

0 comments on commit 4c3d9f9

Please sign in to comment.