Upgrade go-version to 1.20 (#578)
Co-authored-by: Sujeet <sujeet@ubuntu.ubuntu-domain>
diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml
index fe5a04a..77981ca 100644
--- a/.github/workflows/check.yaml
+++ b/.github/workflows/check.yaml
@@ -29,7 +29,7 @@
strategy:
matrix:
- go: [ '1.19' ]
+ go: [ '1.20' ]
steps:
# Setup
diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml
index 016a230..244b608 100644
--- a/.github/workflows/e2e-tests.yaml
+++ b/.github/workflows/e2e-tests.yaml
@@ -47,7 +47,7 @@
strategy:
matrix:
- go-version: [ '1.19' ]
+ go-version: [ '1.20' ]
kube-version: [ 'v1.21.14' ]
solr-version: [ '9' ] # [ '8', '9' ]
diff --git a/.github/workflows/smoke-tests.yaml b/.github/workflows/smoke-tests.yaml
index 8d41dbc..9f8261a 100644
--- a/.github/workflows/smoke-tests.yaml
+++ b/.github/workflows/smoke-tests.yaml
@@ -47,7 +47,7 @@
strategy:
matrix:
- go: [ '1.19' ]
+ go: [ '1.20' ]
steps:
# Setup
diff --git a/Makefile b/Makefile
index 8c76497..628f19d 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@
KUSTOMIZE_VERSION=v4.5.2
CONTROLLER_GEN_VERSION=v0.10.0
-GO_LICENSES_VERSION=v1.5.0
+GO_LICENSES_VERSION=v1.6.0
GINKGO_VERSION = $(shell cat go.mod | grep 'github.com/onsi/ginkgo' | sed 's/.*\(v.*\)$$/\1/g')
KIND_VERSION=v0.17.0
YQ_VERSION=v4.33.3
diff --git a/build/Dockerfile b/build/Dockerfile
index bc916c5..7178ae7 100644
--- a/build/Dockerfile
+++ b/build/Dockerfile
@@ -11,7 +11,7 @@
# limitations under the License.
# Build the manager binary
-FROM golang:1.19 as builder
+FROM golang:1.20 as builder
WORKDIR /workspace
ARG GO111MODULE=on
@@ -64,4 +64,4 @@
COPY --from=builder workspace/licenses etc/licenses/dependencies
USER 65532:65532
-ENTRYPOINT ["/solr-operator"]
\ No newline at end of file
+ENTRYPOINT ["/solr-operator"]
diff --git a/go.mod b/go.mod
index fb342b7..3b823b5 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/apache/solr-operator
-go 1.19
+go 1.20
require (
github.com/fsnotify/fsnotify v1.6.0
diff --git a/hack/release/wizard/releaseWizard.yaml b/hack/release/wizard/releaseWizard.yaml
index 6b8a269..efe2b6d 100644
--- a/hack/release/wizard/releaseWizard.yaml
+++ b/hack/release/wizard/releaseWizard.yaml
@@ -223,7 +223,7 @@
You will need these tools:
* Python v3.4 or later, with dependencies listed in requirements.txt
- * Go 1.19
+ * Go 1.20
* gpg
* git
* svn
@@ -910,7 +910,7 @@
Make sure you have the following installed before running the smoke test:
- Docker (Give it enough memory and CPU to run ~12 containers, 3 of which are Solr nodes)
More information on required resources can be found here: https://kind.sigs.k8s.io/docs/user/quick-start/#settings-for-docker-desktop
- - Go 1.19
+ - Go 1.20
- Kubectl
- GnuPG
- Helm v3.4.0+
diff --git a/helm/solr-operator/Chart.yaml b/helm/solr-operator/Chart.yaml
index 35893b5..b7932e3 100644
--- a/helm/solr-operator/Chart.yaml
+++ b/helm/solr-operator/Chart.yaml
@@ -68,6 +68,13 @@
url: https://github.com/apache/solr-operator/pull/561
- name: Documentation
url: https://apache.github.io/solr-operator/docs/solr-cloud/autoscaling.html
+ - kind: changed
+ description: The Solr Operator is now built with Go 1.20
+ links:
+ - name: Github Issue
+ url: https://github.com/apache/solr-operator/issues/570
+ - name: Github PR
+ url: https://github.com/apache/solr-operator/pull/578
artifacthub.io/images: |
- name: solr-operator
image: apache/solr-operator:v0.8.0-prerelease