Skip to content

Commit 383dd6b

Browse files
authored
pin dependencies to versions for go 1.21 and remove update flag (#101)
* pin dependencies to versions for go 1.21 and remove update flag Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> * bump controller-gen to 0.14.0 Signed-off-by: Jordan Dubrick <jdubrick@redhat.com> --------- Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
1 parent c318134 commit 383dd6b

9 files changed

+12
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
fi
5151
- name: Check format
5252
run: |
53-
go get -u github.com/google/addlicense@dc31ac9ffcca99c9457226366135701794b128c0
54-
go install github.com/google/addlicense@dc31ac9ffcca99c9457226366135701794b128c0
55-
go get -u golang.org/x/tools/cmd/goimports@0cc407e63f5fdd71499c32afa4c54382c5b48d71
56-
go install golang.org/x/tools/cmd/goimports@0cc407e63f5fdd71499c32afa4c54382c5b48d71
53+
go get github.com/google/addlicense@v1.1.1
54+
go install github.com/google/addlicense@v1.1.1
55+
go get golang.org/x/tools/cmd/goimports@v0.24.0
56+
go install golang.org/x/tools/cmd/goimports@v0.24.0
5757
git reset HEAD --hard
5858
5959
make fmt

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ENVTEST_VERSION=v0.0.0-20240405143037-c25fe2f5ca0f
3737
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
3838
ENVTEST_K8S_VERSION = 1.26
3939
# Controller tools version number
40-
CONTROLLER_TOOLS_VERSION ?= v0.9.2
40+
CONTROLLER_TOOLS_VERSION ?= v0.14.0
4141
# Kustomize version number
4242
KUSTOMIZE_VERSION ?= v3.8.7
4343

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The repository contains a Makefile; building and deploying can be configured via
8787
| `BUNDLE_CHANNELS` | Sets the list channel(s) include bundle build under | `alpha` |
8888
| `BUNDLE_DEFAULT_CHANNEL` | Sets the default channel to use when installing the bundle | |
8989
| `ENVTEST_K8S_VERSION` | Version of k8s to use for the test environment | `1.26` (current) |
90-
| `CONTROLLER_TOOLS_VERSION` | Version of the controller tools | `v0.9.2` |
90+
| `CONTROLLER_TOOLS_VERSION` | Version of the controller tools | `v0.14.0` |
9191
| `KUSTOMIZE_VERSION` | Version of kustomize | `v3.8.7` |
9292
| `GOBIN` | Path to install Go binaries to | `${GOPATH}/bin` |
9393
| `K8S_CLI` | Path to CLI tool to use with the target cluster environment, `kubectl` or `oc` | Either `oc` or `kubectl` if installed in that order |

bundle/manifests/registry.devfile.io_clusterdevfileregistrieslists.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CustomResourceDefinition
33
metadata:
44
annotations:
55
cert-manager.io/inject-ca-from: registry-operator-system/registry-operator-serving-cert
6-
controller-gen.kubebuilder.io/version: v0.9.2
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
creationTimestamp: null
88
name: clusterdevfileregistrieslists.registry.devfile.io
99
spec:

bundle/manifests/registry.devfile.io_devfileregistries.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.9.2
5+
controller-gen.kubebuilder.io/version: v0.14.0
66
creationTimestamp: null
77
name: devfileregistries.registry.devfile.io
88
spec:

bundle/manifests/registry.devfile.io_devfileregistrieslists.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: CustomResourceDefinition
33
metadata:
44
annotations:
55
cert-manager.io/inject-ca-from: registry-operator-system/registry-operator-serving-cert
6-
controller-gen.kubebuilder.io/version: v0.9.2
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
creationTimestamp: null
88
name: devfileregistrieslists.registry.devfile.io
99
spec:

config/crd/bases/registry.devfile.io_clusterdevfileregistrieslists.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
creationTimestamp: null
88
name: clusterdevfileregistrieslists.registry.devfile.io
99
spec:

config/crd/bases/registry.devfile.io_devfileregistries.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
creationTimestamp: null
88
name: devfileregistries.registry.devfile.io
99
spec:

config/crd/bases/registry.devfile.io_devfileregistrieslists.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
creationTimestamp: null
88
name: devfileregistrieslists.registry.devfile.io
99
spec:

0 commit comments

Comments
 (0)