You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2023/06/23 16:46:26 UTC
[solr-operator] branch main updated: Upgrade go-version to 1.20 (#578)
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-operator.git
The following commit(s) were added to refs/heads/main by this push:
new f2e46f8 Upgrade go-version to 1.20 (#578)
f2e46f8 is described below
commit f2e46f8616592d51d8860a23b8fb1feda9899f30
Author: Sujeet Hinge <su...@users.noreply.github.com>
AuthorDate: Fri Jun 23 22:16:20 2023 +0530
Upgrade go-version to 1.20 (#578)
Co-authored-by: Sujeet <su...@ubuntu.ubuntu-domain>
---
.github/workflows/check.yaml | 2 +-
.github/workflows/e2e-tests.yaml | 2 +-
.github/workflows/smoke-tests.yaml | 2 +-
Makefile | 2 +-
build/Dockerfile | 4 ++--
go.mod | 2 +-
hack/release/wizard/releaseWizard.yaml | 4 ++--
helm/solr-operator/Chart.yaml | 7 +++++++
8 files changed, 16 insertions(+), 9 deletions(-)
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 @@ jobs:
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 @@ jobs:
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 @@ jobs:
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 @@ TEST_PARALLELISM ?= 3
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/LICENSE workspace/NOTICE etc/licenses/
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 @@ groups:
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 @@ groups:
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 @@ annotations:
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