diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4223a3c2..fdae7381 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 @@ -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 diff --git a/.gitignore b/.gitignore index 2d142ea5..c03c1843 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ node_modules/ lib/ dist/ **/tests/_temp/** -packages/k8s/tests/test-kind.yaml +packages/k8s/tests/kind.yaml diff --git a/packages/k8s/tests/test-kind.yaml b/packages/k8s/tests/kind-sample.yaml similarity index 91% rename from packages/k8s/tests/test-kind.yaml rename to packages/k8s/tests/kind-sample.yaml index a711d705..1616b0c1 100644 --- a/packages/k8s/tests/test-kind.yaml +++ b/packages/k8s/tests/kind-sample.yaml @@ -1,3 +1,4 @@ +# Copy this file to kind.yaml with your own customizations kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: