Commit e784a691
e784a6917c60Merged
Dmitriy Zhilyaev <[email protected]> · 5 years ago · 6 files · +3 added · ~3 modified
Description
Merge pull request #68 from zhilyaev/k8s_tests
Add workflow to run k8s tests
Details
- Commit
- e784a6917c60
- Parent
- 2db19cc9452f
- Merge parent
- 5c6f20d4618f
.github/workflows/k8s_tests.ymladdedView file
1+
name: Run tests against KinD cluster2+
3+
on: pull_request4+
5+
jobs:6+
create-cluster:7+
runs-on: ubuntu-latest8+
env:9+
HELM_DEBUG: "true"10+
steps:11+
- name: Create KinD cluster12+
uses: container-tools/kind-action@v113+
with:14+
registry: false15+
16+
- uses: actions/checkout@v217+
- uses: actions/setup-go@v218+
with:19+
go-version: 1.1620+
21+
- uses: actions/cache@v222+
with:23+
path: ~/go/pkg/mod24+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}25+
restore-keys: |26+
${{ runner.os }}-go-27+
28+
- name: Install go modules29+
run: go mod download30+
31+
- name: Set up Helm32+
uses: azure/setup-helm@v133+
with:34+
version: v3.4.035+
36+
- run: helm repo add bitnami https://charts.bitnami.com/bitnami37+
38+
- name: Run integration tests39+
run: go test -v ./tests/integration.gitignoremodifiedView file
Loading diff…
go.modmodifiedView file
Loading diff…
go.summodifiedView file
Loading diff…
tests/fixtures/helmwave.yml.tpladdedView file
Loading diff…
tests/integration/plan_test.goaddedView file
Loading diff…