-
Notifications
You must be signed in to change notification settings - Fork 27
38 lines (38 loc) · 1.04 KB
/
integration-test.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
38
name: integration
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
integration-test:
name: Run Integration Test
runs-on: ubuntu-latest
environment: Integration Test
permissions:
id-token: write
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-session-name: IntegrationTestSession
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19
- name: Set up env
run: source ~/.bashrc
- name: Start clean
run: make kind-integration-cleanup
- name: Set up cluster
run: make kind-integration-setup
- name: Run tests
run: make kind-integration-run
- name: Clean up clusters
run: make kind-integration-cleanup