Skip to content

Commit 1f95309

Browse files
committed
chore: add integration test main workflow
1 parent 060bce5 commit 1f95309

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Integration Test Pull Main Update
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest-8core
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
18+
with:
19+
submodules: recursive
20+
21+
- name: Set up Go
22+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
23+
with:
24+
go-version-file: go.mod
25+
26+
- name: make revendor
27+
run: make revendor
28+
29+
- name: make build
30+
run: make build
31+
32+
- name: run integration test
33+
env:
34+
GARDENER_KUBECONFIG: ${{ secrets.GARDENER_LAAS_SERVICE_ACCOUNT }}
35+
run: |
36+
VERSION="$("./hack/get-version.sh")"
37+
PR_ID=1
38+
"./hack/integration-test-runner.sh" "$GARDENER_KUBECONFIG" "garden-laas" "$VERSION" "$PR_ID"
39+

0 commit comments

Comments
 (0)