Skip to content

Commit

Permalink
Use a better replace due to gh not supporting env in params
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Dec 22, 2024
1 parent b93a7d0 commit 833c904
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
matrix:
# Run these tests against older clusters as well
k8s:
- "1.27" # MK8SV
- "v1.28" # MK8SV
- "latest"
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:

- uses: nolar/setup-k3d-k3s@v1
with:
version: "1.27" # MK8SV
version: "v1.28" # MK8SV
# k3d-kube
k3d-name: kube
# Used to avoid rate limits when fetching the releases from k3s repo.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
tool: [email protected]
- uses: nolar/setup-k3d-k3s@v1
with:
version: "v1.27" # MK8SV
version: "v1.28" # MK8SV
# k3d-kube
k3d-name: kube
# Used to avoid rate limits when fetching the releases from k3s repo.
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ bump-k8s:
min_feat="${earliest::-2}${earliest:3}"
min_dots="${min_feat/_/.}"
echo "Setting MK8SV to $min_dots using feature $min_feat"
# workflow pins for k3s
sd '^.+K3S_MIN\: .*$' " K3S_MIN: \"${min_dots}\"" .github/workflows/*.yml
# workflow pins for k3s (any line with key/array suffixed by # MK8SV)
sd "(.*)([\:\-]{1}) .* # MK8SV$" "\$1\$2 \"${min_dots}\" # MK8SV" .github/workflows/*.yml
# bump mk8sv badge
badge="[![Tested against Kubernetes ${min_dots} and above](https://img.shields.io/badge/MK8SV-${min_dots}-326ce5.svg)](https://kube.rs/kubernetes-version)"
sd "^.+badge/MK8SV.+$" "${badge}" README.md
Expand Down

0 comments on commit 833c904

Please sign in to comment.