chore: Update controller-gen tool version to 0.14.0 (#1847)
* chore: Update controller-gen tool version to 0.14.0 Signed-off-by: Anatolii Bazko <abazko@redhat.com>pull/1827/merge
parent
618ad1f1a9
commit
36750ae52d
|
|
@ -24,10 +24,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.21.10
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19.13
|
go-version: 1.21.10
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: make test
|
run: make test
|
||||||
- name: Build Codecov report
|
- name: Build Codecov report
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.21.10
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19.13
|
go-version: 1.21.10
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: make test
|
run: make test
|
||||||
image-build:
|
image-build:
|
||||||
|
|
@ -51,10 +51,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.21.10
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19.13
|
go-version: 1.21.10
|
||||||
- name: Cache go modules
|
- name: Cache go modules
|
||||||
id: cache-mod
|
id: cache-mod
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
|
||||||
|
|
@ -67,10 +67,10 @@ jobs:
|
||||||
sudo chmod +x /usr/local/bin/base32
|
sudo chmod +x /usr/local/bin/base32
|
||||||
#remove base32 from current directory to avoid it being commited during release
|
#remove base32 from current directory to avoid it being commited during release
|
||||||
rm $(pwd)/base32
|
rm $(pwd)/base32
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.21.10
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19.13
|
go-version: 1.21.10
|
||||||
- name: Release operator
|
- name: Release operator
|
||||||
env:
|
env:
|
||||||
IMAGE_REGISTRY_HOST: quay.io
|
IMAGE_REGISTRY_HOST: quay.io
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,10 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install yq
|
- name: Install yq
|
||||||
run: sudo pip install yq
|
run: sudo pip install yq
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.21.10
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19.13
|
go-version: 1.21.10
|
||||||
- name: Validate operator resources
|
- name: Validate operator resources
|
||||||
run: |
|
run: |
|
||||||
go install golang.org/x/tools/cmd/goimports@latest
|
go install golang.org/x/tools/cmd/goimports@latest
|
||||||
|
|
@ -38,9 +38,9 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install yq
|
- name: Install yq
|
||||||
run: sudo pip install yq
|
run: sudo pip install yq
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.21.10
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19.13
|
go-version: 1.21.10
|
||||||
- name: Validate OLM bundle version
|
- name: Validate OLM bundle version
|
||||||
run: ${GITHUB_WORKSPACE}/build/scripts/check-bundle-version.sh
|
run: ${GITHUB_WORKSPACE}/build/scripts/check-bundle-version.sh
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -566,7 +566,7 @@ download-opm: ## Download opm tool
|
||||||
|
|
||||||
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
|
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
|
||||||
download-controller-gen: ## Download controller-gen tool
|
download-controller-gen: ## Download controller-gen tool
|
||||||
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.7.0)
|
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0)
|
||||||
|
|
||||||
KUSTOMIZE = $(shell pwd)/bin/kustomize
|
KUSTOMIZE = $(shell pwd)/bin/kustomize
|
||||||
download-kustomize: ## Download kustomize tool
|
download-kustomize: ## Download kustomize tool
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
//go:build !ignore_autogenerated
|
//go:build !ignore_autogenerated
|
||||||
// +build !ignore_autogenerated
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Copyright (c) 2019-2024 Red Hat, Inc.
|
// Copyright (c) 2019-2024 Red Hat, Inc.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
//go:build !ignore_autogenerated
|
//go:build !ignore_autogenerated
|
||||||
// +build !ignore_autogenerated
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Copyright (c) 2019-2024 Red Hat, Inc.
|
// Copyright (c) 2019-2024 Red Hat, Inc.
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ metadata:
|
||||||
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
|
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
|
||||||
repository: https://github.com/eclipse-che/che-operator
|
repository: https://github.com/eclipse-che/che-operator
|
||||||
support: Eclipse Foundation
|
support: Eclipse Foundation
|
||||||
name: eclipse-che.v7.87.0-871.next
|
name: eclipse-che.v7.87.0-872.next
|
||||||
namespace: placeholder
|
namespace: placeholder
|
||||||
spec:
|
spec:
|
||||||
apiservicedefinitions: {}
|
apiservicedefinitions: {}
|
||||||
|
|
@ -1036,7 +1036,7 @@ spec:
|
||||||
minKubeVersion: 1.19.0
|
minKubeVersion: 1.19.0
|
||||||
provider:
|
provider:
|
||||||
name: Eclipse Foundation
|
name: Eclipse Foundation
|
||||||
version: 7.87.0-871.next
|
version: 7.87.0-872.next
|
||||||
webhookdefinitions:
|
webhookdefinitions:
|
||||||
- admissionReviewVersions:
|
- admissionReviewVersions:
|
||||||
- v1
|
- v1
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue