Skip to content

Commit

Permalink
Merge pull request #161 from adambkaplan/bump-go-1.20.8
Browse files Browse the repository at this point in the history
Update go to 1.20 and ko to v0.15.0
  • Loading branch information
openshift-ci[bot] committed Oct 27, 2023
2 parents 2560197 + 024eac1 commit 0e200fd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
cache: true
check-latest: true
- name: Build
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
cache: true
check-latest: true
- name: Verify fmt
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
cache: true
check-latest: true
- name: Install kubectl
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ KO ?= $(LOCALBIN)/ko

## Tool Versions

KO_VERSION ?= v0.11.2
KO_VERSION ?= v0.15.0

.PHONY: ko
ko: $(KO) ## Download ko locally if necessary
Expand Down
4 changes: 2 additions & 2 deletions docs/development/local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Prerequisites

* Ensure you have access to a Kubernetes cluster via `kubectl` with cluster admin permissions.
* Install Go version 1.18 or higher.
* Install [Go](https://go.dev/doc/install) version 1.20 or higher.

## Building locally

Expand All @@ -28,7 +28,7 @@ The following make options can be set:
* `VERSION` - defaults to the current version of Shipwright.
This must be a valid [semantic version](https://semver.org/), and will be used as the tag for the resulting image.

Refer to the [ko documentation](https://github.com/google/ko#local-publishing-options) for more information.
Refer to the [ko documentation](https://ko.build/) for more information.

## Deploy to Kubernetes

Expand Down
2 changes: 1 addition & 1 deletion docs/development/olm-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Additional steps need to be taken to ensure the operator can be deployed with OL
## Prerequisites

* Ensure you have access to a Kubernetes cluster via `kubectl` with cluster admin permissions.
* Install Go version 1.17 or higher.
* Install [Go](https://go.dev/doc/install) version 1.20 or higher.
* Install OLM on your cluster. This can be done using the `make install-olm` command.
* Ability to push to a container registry that is accessible inside your Kubernetes cluster.

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/shipwright-io/operator

go 1.19
go 1.20

require (
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
Expand Down
2 changes: 1 addition & 1 deletion hack/install-ko.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
set -e

DEST="${1:-bin/ko}"
KO_VERSION="${KO_VERSION:-0.11.2}"
KO_VERSION="${KO_VERSION:-0.15.0}"

OS="${OS:-linux}"
ARCH="${ARCH:-amd64}"
Expand Down

0 comments on commit 0e200fd

Please sign in to comment.