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:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Go 1.19
|
||||
- name: Set up Go 1.21.10
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19.13
|
||||
go-version: 1.21.10
|
||||
- name: Run unit tests
|
||||
run: make test
|
||||
- name: Build Codecov report
|
||||
|
|
|
|||
|
|
@ -18,10 +18,10 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Go 1.19
|
||||
- name: Set up Go 1.21.10
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19.13
|
||||
go-version: 1.21.10
|
||||
- name: Run unit tests
|
||||
run: make test
|
||||
image-build:
|
||||
|
|
@ -51,10 +51,10 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Go 1.19
|
||||
- name: Set up Go 1.21.10
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19.13
|
||||
go-version: 1.21.10
|
||||
- name: Cache go modules
|
||||
id: cache-mod
|
||||
uses: actions/cache@v3
|
||||
|
|
|
|||
|
|
@ -67,10 +67,10 @@ jobs:
|
|||
sudo chmod +x /usr/local/bin/base32
|
||||
#remove base32 from current directory to avoid it being commited during release
|
||||
rm $(pwd)/base32
|
||||
- name: Set up Go 1.19
|
||||
- name: Set up Go 1.21.10
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19.13
|
||||
go-version: 1.21.10
|
||||
- name: Release operator
|
||||
env:
|
||||
IMAGE_REGISTRY_HOST: quay.io
|
||||
|
|
|
|||
|
|
@ -23,10 +23,10 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: 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
|
||||
with:
|
||||
go-version: 1.19.13
|
||||
go-version: 1.21.10
|
||||
- name: Validate operator resources
|
||||
run: |
|
||||
go install golang.org/x/tools/cmd/goimports@latest
|
||||
|
|
@ -38,9 +38,9 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: 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
|
||||
with:
|
||||
go-version: 1.19.13
|
||||
go-version: 1.21.10
|
||||
- name: Validate OLM bundle version
|
||||
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
|
||||
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
|
||||
download-kustomize: ## Download kustomize tool
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build !ignore_autogenerated
|
||||
// +build !ignore_autogenerated
|
||||
|
||||
//
|
||||
// Copyright (c) 2019-2024 Red Hat, Inc.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//go:build !ignore_autogenerated
|
||||
// +build !ignore_autogenerated
|
||||
|
||||
//
|
||||
// Copyright (c) 2019-2024 Red Hat, Inc.
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ metadata:
|
|||
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
|
||||
repository: https://github.com/eclipse-che/che-operator
|
||||
support: Eclipse Foundation
|
||||
name: eclipse-che.v7.87.0-871.next
|
||||
name: eclipse-che.v7.87.0-872.next
|
||||
namespace: placeholder
|
||||
spec:
|
||||
apiservicedefinitions: {}
|
||||
|
|
@ -1036,7 +1036,7 @@ spec:
|
|||
minKubeVersion: 1.19.0
|
||||
provider:
|
||||
name: Eclipse Foundation
|
||||
version: 7.87.0-871.next
|
||||
version: 7.87.0-872.next
|
||||
webhookdefinitions:
|
||||
- admissionReviewVersions:
|
||||
- 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