Skip to content

Commit 162143d

Browse files
Renames kind config sample to ignore local kind customizations (#146)
1 parent c77d5bc commit 162143d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/build.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Setup kind cluster yaml config
15-
run: sed -i "s|{{PATHTOREPO}}|$(pwd)|" packages/k8s/tests/test-kind.yaml
15+
run: sed "s|{{PATHTOREPO}}|$(pwd)|" packages/k8s/tests/kind-sample.yaml > packages/k8s/tests/kind.yaml
1616
- uses: helm/[email protected]
1717
with:
18-
config: packages/k8s/tests/test-kind.yaml
18+
config: packages/k8s/tests/kind.yaml
1919
- name: Install dependencies
2020
run: npm ci
2121
- name: Build packages
@@ -25,6 +25,6 @@ jobs:
2525
- name: Check linter
2626
run: |
2727
npm run lint
28-
git diff --exit-code -- ':!packages/k8s/tests/test-kind.yaml'
28+
git diff --exit-code
2929
- name: Run tests
3030
run: npm run test

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ node_modules/
33
lib/
44
dist/
55
**/tests/_temp/**
6-
packages/k8s/tests/test-kind.yaml
6+
packages/k8s/tests/kind.yaml

packages/k8s/tests/test-kind.yaml renamed to packages/k8s/tests/kind-sample.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copy this file to kind.yaml with your own customizations
12
kind: Cluster
23
apiVersion: kind.x-k8s.io/v1alpha4
34
nodes:

0 commit comments

Comments
 (0)