Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update go to 1.20 and ko to v0.15.0 #161

Merged
merged 3 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading