Skip to content

Commit

Permalink
fix update-codegen script
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Fernandez <[email protected]>
  • Loading branch information
hectorj2f committed Nov 27, 2023
1 parent b0939ce commit 63c6dd1
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 9,975 deletions.
8 changes: 3 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,13 @@ require (
golang.org/x/net v0.18.0
golang.org/x/sys v0.14.0 // indirect
golang.org/x/time v0.4.0
google.golang.org/grpc v1.59.0
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.31.0
gopkg.in/square/go-jose.v2 v2.6.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.28.3
k8s.io/apimachinery v0.28.3
k8s.io/client-go v0.28.3
k8s.io/code-generator v0.27.6
k8s.io/code-generator v0.28.3
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00
knative.dev/hack v0.0.0-20231016131700-2c938d4918da
knative.dev/hack/schema v0.0.0-20221024013916-9d2ae47c16b2
Expand All @@ -67,6 +66,7 @@ require (
github.com/sigstore/sigstore/pkg/signature/kms/gcp v1.7.5
github.com/sigstore/sigstore/pkg/signature/kms/hashivault v1.7.5
github.com/spf13/viper v1.17.0
gopkg.in/go-jose/go-jose.v2 v2.6.1
)

require (
Expand Down Expand Up @@ -178,7 +178,6 @@ require (
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/certificate-transparency-go v1.1.7 // indirect
github.com/google/gnostic v0.6.9 // indirect
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
github.com/google/go-github/v55 v55.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
Expand Down Expand Up @@ -269,7 +268,6 @@ require (
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b // indirect
gopkg.in/go-jose/go-jose.v2 v2.6.1 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
29 changes: 2 additions & 27 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ group "Kubernetes Codegen"
# --output-base because this script should also be able to run inside the vendor dir of
# k8s.io/kubernetes. The output-base is needed for the generators to output into the vendor dir
# instead of the $GOPATH directly. For normal projects this can be dropped.
${CODEGEN_PKG}/generate-groups.sh "deepcopy,client,informer,lister" \
bash "${CODEGEN_PKG}/kube_codegen.sh" "deepcopy,client,informer,lister" \
github.com/sigstore/policy-controller/pkg/client github.com/sigstore/policy-controller/pkg/apis \
"policy:v1alpha1 policy:v1beta1" \
--go-header-file ${REPO_ROOT_DIR}/hack/boilerplate/boilerplate.go.txt

group "ducks"
${CODEGEN_PKG}/generate-groups.sh "deepcopy" \
bash "${CODEGEN_PKG}/kube_codegen.sh" "deepcopy" \
github.com/sigstore/policy-controller/pkg/client github.com/sigstore/policy-controller/pkg/apis \
"duck:v1beta1" \
--go-header-file ${REPO_ROOT_DIR}/hack/boilerplate/boilerplate.go.txt
Expand Down
Loading

0 comments on commit 63c6dd1

Please sign in to comment.