Skip to content

Commit 66a3b9e

Browse files
committed
Update cue v0.12.0 -> v0.13.2
Update cue version and switch to the curated model for k8s. Signed-off-by: Brad Beck <bradley.beck@gmail.com>
1 parent db8e1aa commit 66a3b9e

8 files changed

Lines changed: 12 additions & 223 deletions

File tree

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,5 +204,4 @@ cue.mod:
204204
rm -rf cue.mod/gen
205205
cue get go github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1
206206
cue get go github.com/tektoncd/triggers/pkg/apis/triggers/v1beta1
207-
cue get go k8s.io/api/core/v1
208-
cue get go k8s.io/api/rbac/v1
207+
cue mod tidy

cue.mod/gen/k8s.io/api/rbac/v1/register_go_gen.cue

Lines changed: 0 additions & 7 deletions
This file was deleted.

cue.mod/gen/k8s.io/api/rbac/v1/types_go_gen.cue

Lines changed: 0 additions & 207 deletions
This file was deleted.

cue.mod/module.cue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
module: "github.com/buildsec/frsca@v0"
22
language: {
3-
version: "v0.12.0"
3+
version: "v0.13.2"
4+
}
5+
deps: {
6+
"cue.dev/x/k8s.io@v0": {
7+
v: "v0.5.0"
8+
default: true
9+
}
410
}

dependencies.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@ package frsca
44
import (
55
_ "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
66
_ "github.com/tektoncd/triggers/pkg/apis/triggers/v1beta1"
7-
_ "k8s.io/api/core/v1"
8-
_ "k8s.io/api/rbac/v1"
97
)

frsca.cue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package frsca
22

33
import (
4-
k8sCoreV1 "k8s.io/api/core/v1"
5-
k8sRbacV1 "k8s.io/api/rbac/v1"
4+
k8sCoreV1 "cue.dev/x/k8s.io/api/core/v1"
5+
k8sRbacV1 "cue.dev/x/k8s.io/api/rbac/v1"
66
pipelineV1Beta1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
77
triggersV1Beta1 "github.com/tektoncd/triggers/pkg/apis/triggers/v1beta1"
88
)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.24.1
55
require (
66
github.com/tektoncd/pipeline v0.68.0
77
github.com/tektoncd/triggers v0.31.0
8-
k8s.io/api v0.29.13
98
)
109

1110
require (
@@ -72,6 +71,7 @@ require (
7271
gopkg.in/inf.v0 v0.9.1 // indirect
7372
gopkg.in/yaml.v2 v2.4.0 // indirect
7473
gopkg.in/yaml.v3 v3.0.1 // indirect
74+
k8s.io/api v0.29.13 // indirect
7575
k8s.io/apiextensions-apiserver v0.29.13 // indirect
7676
k8s.io/apimachinery v0.29.13 // indirect
7777
k8s.io/client-go v0.29.13 // indirect

platform/00-kubernetes-minikube-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ COSIGN_RELEASE_URL="https://github.com/sigstore/cosign/releases/download/${COSIG
3333
COSIGN_CHECKSUMS="cosign_checksums.txt"
3434
COSIGN_ASSET="${COSIGN_BIN}-${COSIGN_OS}-${COSIGN_ARCH}"
3535

36-
CUE_VERSION=v0.12.0
36+
CUE_VERSION=v0.13.2
3737
CUE_FILE_NAME=cue_${CUE_VERSION}_linux_amd64.tar.gz
3838
CUE_URL=https://github.com/cue-lang/cue/releases/download/${CUE_VERSION}
3939
CUE_CHECKSUMS=checksums.txt

0 commit comments

Comments
 (0)