Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump kcl go version to v0.10.0-alpha.3 #1258

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ build-local-darwin: ## Build kusion tool chain for macOS
# Build kusion
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 \
go build -o ./_build/bundles/kusion-darwin/bin/kusion \
-ldflags="-s -w" .
-ldflags="-s -w" -tags rpc .

build-local-darwin-all: build-local-darwin ## Build kusion for macOS
# Copy docs
Expand All @@ -100,7 +100,7 @@ build-local-darwin-arm64: ## Build kusion tool chain for macOS arm64
# Build kusion
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 \
go build -o ./_build/bundles/kusion-darwin-arm64/bin/kusion \
-ldflags="-s -w" .
-ldflags="-s -w" -tags rpc .

build-local-darwin-arm64-all: build-local-darwin-arm64 ## Build kusion for macOS arm64
# Copy docs
Expand Down Expand Up @@ -130,7 +130,7 @@ build-local-linux: ## Build kusion tool chain for linux
# Build kusion
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
go build -o ./_build/bundles/kusion-linux/bin/kusion \
-ldflags="-s -w" .
-ldflags="-s -w" -tags rpc .

build-local-linux-all: build-local-linux ## Build kusion for linux
# Copy docs
Expand All @@ -156,7 +156,7 @@ build-local-windows: ## Build kusion tool chain for windows
# Build kusion
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 \
go build -o ./_build/bundles/kusion-windows/bin/kusion.exe \
-ldflags="-s -w" .
-ldflags="-s -w" -tags rpc .

build-local-windows-all: build-local-windows ## Build kusion for windows
# Copy docs
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ require (
github.com/go-git/go-git/v5 v5.12.0
github.com/go-sql-driver/mysql v1.7.0
github.com/go-test/deep v1.0.8
github.com/goccy/go-yaml v1.11.3
github.com/goccy/go-yaml v1.12.0
github.com/gonvenience/bunt v1.1.1
github.com/gonvenience/neat v1.3.0
github.com/gonvenience/term v1.0.0
Expand Down Expand Up @@ -80,7 +80,7 @@ require (
k8s.io/component-base v0.30.3
k8s.io/kubectl v0.30.3
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
kcl-lang.io/kcl-go v0.9.2
kcl-lang.io/kcl-go v0.10.0-alpha.3
kcl-lang.io/kcl-plugin v0.5.0
kcl-lang.io/kpm v0.9.5
kusionstack.io/kube-api v0.3.1
Expand Down Expand Up @@ -192,7 +192,7 @@ require (
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/spec v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/gofrs/flock v0.12.0 // indirect
github.com/gofrs/flock v0.12.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
Expand Down Expand Up @@ -325,7 +325,7 @@ require (
gopkg.in/warnings.v0 v0.1.2 // indirect
k8s.io/klog/v2 v2.120.1
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
kcl-lang.io/lib v0.9.2 // indirect
kcl-lang.io/lib v0.10.0-alpha.3 // indirect
oras.land/oras-go v1.2.5 // indirect
oras.land/oras-go/v2 v2.5.0 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,10 @@ github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1v
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
github.com/go-test/deep v1.0.8 h1:TDsG77qcSprGbC6vTN8OuXp5g+J+b5Pcguhf7Zt61VM=
github.com/go-test/deep v1.0.8/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE=
github.com/goccy/go-yaml v1.11.3 h1:B3W9IdWbvrUu2OYQGwvU1nZtvMQJPBKgBUuweJjLj6I=
github.com/goccy/go-yaml v1.11.3/go.mod h1:wKnAMd44+9JAAnGQpWVEgBzGt3YuTaQ4uXoHvE4m7WU=
github.com/gofrs/flock v0.12.0 h1:xHW8t8GPAiGtqz7KxiSqfOEXwpOaqhpYZrTE2MQBgXY=
github.com/gofrs/flock v0.12.0/go.mod h1:FirDy1Ing0mI2+kB6wk+vyyAH+e6xiE+EYA0jnzV9jc=
github.com/goccy/go-yaml v1.12.0 h1:/1WHjnMsI1dlIBQutrvSMGZRQufVO3asrHfTwfACoPM=
github.com/goccy/go-yaml v1.12.0/go.mod h1:wKnAMd44+9JAAnGQpWVEgBzGt3YuTaQ4uXoHvE4m7WU=
github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E=
github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0=
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
Expand Down Expand Up @@ -1771,14 +1771,14 @@ k8s.io/kubectl v0.30.3 h1:YIBBvMdTW0xcDpmrOBzcpUVsn+zOgjMYIu7kAq+yqiI=
k8s.io/kubectl v0.30.3/go.mod h1:IcR0I9RN2+zzTRUa1BzZCm4oM0NLOawE6RzlDvd1Fpo=
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A=
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
kcl-lang.io/kcl-go v0.9.2 h1:Mgb/+ha3D+vkCO8ttEbIoZitb+cKsjDsX0zeONseTc0=
kcl-lang.io/kcl-go v0.9.2/go.mod h1:mTlLNhhk76+CLMRKkA//wROCs/XOVl+yv6qai/Nl3+A=
kcl-lang.io/kcl-go v0.10.0-alpha.3 h1:01grUuyy/XfBZDRoMqUesU6OdzVPk0WF9WDOvuY70ZI=
kcl-lang.io/kcl-go v0.10.0-alpha.3/go.mod h1:kfHDBqsLNT+9T6VorS/EVbriZzix1rjIq0w6WCJ7GbA=
kcl-lang.io/kcl-plugin v0.5.0 h1:eoh6y4l81rwA8yhJXU4hN7YmJeTUNB1nfYCP9OffSxc=
kcl-lang.io/kcl-plugin v0.5.0/go.mod h1:QnZ5OLcyBw5nOnHpChRHtvBq8wvjwiHu/ZZ8j1dfz48=
kcl-lang.io/kpm v0.9.5 h1:BvSVj1U2mqWJIpciCK7Wg1mV1hhkeE5xPqcBaOxURh4=
kcl-lang.io/kpm v0.9.5/go.mod h1:4HTbPhB4DVtkamnIv5lrRcHtCVwzp4Pf/b+d3TN4nzs=
kcl-lang.io/lib v0.9.2 h1:fTYAQYBFQDqEUxpxcfG2Twrm4tYLBe4ZfecLWXeXe9I=
kcl-lang.io/lib v0.9.2/go.mod h1:tu+tzwGgHLzYZSIxUG/ntipStrxZd6OvutWYPTxS7cs=
kcl-lang.io/lib v0.10.0-alpha.3 h1:tZ7du+9/wv5ZHyPmPxljZQ33DdTYw++d9joH0LMC3q8=
kcl-lang.io/lib v0.10.0-alpha.3/go.mod h1:tu+tzwGgHLzYZSIxUG/ntipStrxZd6OvutWYPTxS7cs=
kusionstack.io/kube-api v0.3.1 h1:MqU41B0i2cofm2M5KQIkuTsWQ81p0Ueq93zbdUaOuCM=
kusionstack.io/kube-api v0.3.1/go.mod h1:atpgBn0kdjGbYQrSt1H7jtfXybBmT0XL/GBuZQ8FVpU=
oras.land/oras-go v1.2.5 h1:XpYuAwAb0DfQsunIyMfeET92emK8km3W4yEzZvUbsTo=
Expand Down
Loading