Skip to content

Commit

Permalink
Merge pull request #15437 from joshrwolf/k3s-122
Browse files Browse the repository at this point in the history
workaround/remove runtime version check
  • Loading branch information
joshrwolf committed Mar 19, 2024
2 parents df1d3a5 + 523e197 commit 1f31a6c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion k3s.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: k3s
version: 1.29.2
epoch: 3
epoch: 4
description:
copyright:
- license: Apache-2.0
Expand Down Expand Up @@ -108,6 +108,11 @@ pipeline:
go mod tidy
# Override the go version check at runtime to always match the go version at build time
# Ref: https://github.com/k3s-io/k3s/pull/9054
GOVERSION=$(go env GOVERSION)
sed -i "s/\${VERSION_GOLANG}/$GOVERSION/g" scripts/build
./scripts/build
# k3s embedds a lot of useful components (containerd, kubectl, etc...) in a
# very efficient manner that can't be replicated with external runtime
Expand Down Expand Up @@ -209,3 +214,13 @@ update:
identifier: k3s-io/k3s
strip-prefix: v
strip-suffix: "+k3s1" # NOTE: Update k3s# if upstream ships a >k3s1 revision

test:
environment:
contents:
packages:
- busybox
pipeline:
- name: Basic version smoketest
runs: |
k3s --version

0 comments on commit 1f31a6c

Please sign in to comment.