-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run integration test on gh action (#162)
* Run integration test on gh action * setup go 1.21
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: k3d integration test | ||
|
||
on: | ||
push: | ||
branches: [ "main", "release-*" ] | ||
workflow_dispatch: | ||
pull_request: | ||
|
||
jobs: | ||
k3d-integration-test: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Create Single Cluster | ||
uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 #v2.4.0 | ||
with: | ||
cluster-name: "k3dCluster" | ||
args: >- | ||
--agents 1 | ||
--port 80:80@loadbalancer | ||
--port 443:443@loadbalancer | ||
--wait | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.21' | ||
cache: true | ||
- name: run test | ||
run: make verify-on-cluster |
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