forked from actions/runner-container-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renames kind config sample to ignore local kind customizations (actio…
- Loading branch information
1 parent
99a6440
commit 3d619d8
Showing
3 changed files
with
5 additions
and
4 deletions.
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 |
---|---|---|
|
@@ -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/[email protected] | ||
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 |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ node_modules/ | |
lib/ | ||
dist/ | ||
**/tests/_temp/** | ||
packages/k8s/tests/test-kind.yaml | ||
packages/k8s/tests/kind.yaml |
1 change: 1 addition & 0 deletions
1
packages/k8s/tests/test-kind.yaml → packages/k8s/tests/kind-sample.yaml
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