-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #732 from k0sproject/revert-720
Revert kubeconfig modification functionality changes
- Loading branch information
Showing
6 changed files
with
319 additions
and
182 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Smoke test cache steps | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
check-latest: true | ||
|
||
- name: Download compiled binary artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: k0sctl | ||
path: . | ||
|
||
- name: k0sctl cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: k0sctl-cache | ||
path: | | ||
/var/cache/k0sctl/k0s | ||
~/.cache/k0sctl/k0s | ||
- name: kubectl cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
smoke-test/kubectl | ||
key: "kubectl-${{ hashFiles('smoke-test/smoke.common.sh') }}" | ||
|
||
- name: Make binaries executable | ||
shell: bash | ||
run: | | ||
chmod +x k0sctl || true | ||
chmod +x smoke-test/kubectl || true |
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
Oops, something went wrong.