Use k3s rather than kind for tests
@@ -52,12 +52,15 @@ jobs:
runs-on: ubuntu-latest
needs: compile-preflight
steps:
+ - uses: replicatedhq/action-k3s@main
+ id: k3s
+ with:
+ version: v1.23.6-k3s1
- name: Download preflight binary
uses: actions/download-artifact@v1
with:
name: preflight
path: bin/
- - uses: engineerd/setup-kind@v0.5.0
- run: chmod +x bin/preflight
- run: |
./bin/preflight --interactive=false --format=json https://preflight.replicated.com > result.json
@@ -91,12 +94,15 @@ jobs:
needs: compile-preflight
steps:
- uses: actions/checkout@master
+ - uses: replicatedhq/action-k3s@main
+ id: k3s
+ with:
+ version: v1.23.6-k3s1
- name: Download preflight binary
uses: actions/download-artifact@v1
with:
name: preflight
path: bin/
- - uses: engineerd/setup-kind@v0.5.0
- run: chmod +x bin/preflight
- run: |
./bin/preflight --interactive=false --format=json examples/preflight/e2e.yaml > result.json
@@ -148,12 +154,15 @@ jobs:
needs: compile-supportbundle
steps:
- uses: actions/checkout@v1
+ - uses: replicatedhq/action-k3s@main
+ id: k3s
+ with:
+ version: v1.23.6-k3s1
- name: Download support-bundle binary
uses: actions/download-artifact@v1
with:
name: support-bundle
path: bin/
- - uses: engineerd/setup-kind@v0.5.0
- run: chmod +x bin/support-bundle
- run: ./bin/support-bundle ./examples/support-bundle/sample-collectors.yaml
- run: ./bin/support-bundle ./examples/support-bundle/sample-supportbundle.yaml
