Skip to content

Commit

Permalink
Upgrade to go 1.20 (#459)
Browse files Browse the repository at this point in the history
This upgrades go to version 1.20. This is needed to be compatible with a
future change to the vclusterOps library.
  • Loading branch information
spilchen authored Jul 19, 2023
1 parent 4379d56 commit 8ce96cc
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-go/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ runs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.6
go-version-file: go.mod
2 changes: 1 addition & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This guide explains how to set up an environment to develop and test the Vertica
Prior to developing, the following software needs to be installed manually. There is other software that needed, but it is downloaded through make targets in the repo's bin directory.

- [docker](https://docs.docker.com/get-docker/) (version 23.0)
- [go](https://golang.org/doc/install) (version 1.19.6)
- [go](https://golang.org/doc/install) (version 1.20)
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) (version 1.20.1)
- [helm](https://helm.sh/docs/intro/install/) (version 3.5.0)
- [kubectx](https://github.com/ahmetb/kubectx/releases/download/v0.9.1/kubectx) (version 0.9.1)
Expand Down
2 changes: 1 addition & 1 deletion docker-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.19 as builder
FROM golang:1.20 as builder
ARG TARGETOS
ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vertica/vertica-kubernetes

go 1.19
go 1.20

require (
github.com/DATA-DOG/go-sqlmock v1.5.0
Expand Down
1 change: 0 additions & 1 deletion scripts/setup-olm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ if ! $SCRIPT_DIR/is-openshift.sh
then
if ! kubectl get -n $OLM_NS deployment olm-operator
then
# When changing the olm version, update the image in tests/external-images-build.txt
$OPERATOR_SDK olm install --version 0.19.1

# Delete the default catalog that OLM ships with to avoid a lot of duplicates entries.
Expand Down
17 changes: 0 additions & 17 deletions tests/external-images-build.txt

This file was deleted.

0 comments on commit 8ce96cc

Please sign in to comment.