-
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.
update(ci): added proper iam role to master CI.
Renamed postsubmit to master. Fixes to PR ci. Signed-off-by: Federico Di Pierro <[email protected]>
- Loading branch information
Showing
3 changed files
with
38 additions
and
53 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
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,38 @@ | ||
name: Master CI - deploys terraform and prow | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
deploy-terraform: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout test-infra ⤵️ | ||
uses: actions/checkout@v3 | ||
|
||
- 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@v3 | ||
|
||
- name: Install deps ⛓️ | ||
run: | | ||
sudo apt update && sudo apt install -y which | ||
- name: Deploy prow | ||
run: | | ||
./tools/deploy_prow.sh |
This file was deleted.
Oops, something went wrong.