-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt at matrix testing pre-existing k3d clusters
Signed-off-by: catsby <[email protected]>
- Loading branch information
Showing
3 changed files
with
29 additions
and
6 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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
name: setup-k3d | ||
description: "Install k3d and create a cluster" | ||
|
||
inputs: | ||
create-clutser: | ||
description: "Boolean specifying if k3d should create a cluster after installation" | ||
required: true | ||
default: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- run: "curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash" | ||
shell: bash | ||
|
||
- run: k3d cluster delete && k3d cluster create | ||
shell: bash | ||
- if: ${{ inputs.create-cluster }} | ||
run: k3d cluster delete && k3d cluster create | ||
shell: bash |
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
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