Skip to content

Commit

Permalink
Renames kind config sample to ignore local kind customizations (actio…
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarpenter12 committed Mar 13, 2024
1 parent c77d5bc commit 162143d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup kind cluster yaml config
run: sed -i "s|{{PATHTOREPO}}|$(pwd)|" packages/k8s/tests/test-kind.yaml
run: sed "s|{{PATHTOREPO}}|$(pwd)|" packages/k8s/tests/kind-sample.yaml > packages/k8s/tests/kind.yaml
- uses: helm/kind-action@v1.2.0
with:
config: packages/k8s/tests/test-kind.yaml
config: packages/k8s/tests/kind.yaml
- name: Install dependencies
run: npm ci
- name: Build packages
Expand All @@ -25,6 +25,6 @@ jobs:
- name: Check linter
run: |
npm run lint
git diff --exit-code -- ':!packages/k8s/tests/test-kind.yaml'
git diff --exit-code
- name: Run tests
run: npm run test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ node_modules/
lib/
dist/
**/tests/_temp/**
packages/k8s/tests/test-kind.yaml
packages/k8s/tests/kind.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copy this file to kind.yaml with your own customizations
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
Expand Down

0 comments on commit 162143d

Please sign in to comment.