Skip to content

Commit

Permalink
Merge pull request #199 from 3scale/go-1.19
Browse files Browse the repository at this point in the history
THREESCALE-9985: go1.19
  • Loading branch information
eguzki authored Jul 24, 2023
2 parents 04bc406 + 06a5b68 commit e48aedd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ commands:
jobs:
install-operator:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.19
steps:
- setup_remote_docker:
docker_layer_caching: true
Expand All @@ -54,7 +54,7 @@ jobs:
- image: circleci/ruby:2.5
steps:
- go/install:
version: 1.18.10
version: 1.19.10
- checkout
- run: sudo gem install license_finder --version 5.7.1
- run: make licenses-check
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
run-unit-test:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.19
steps:
- checkout
- run:
Expand All @@ -122,7 +122,7 @@ jobs:
docker_layer_caching: true
steps:
- go/install:
version: 1.18.10
version: 1.19.10
- checkout
- run:
name: Install KinD
Expand All @@ -139,7 +139,7 @@ jobs:
no_output_timeout: 30m
lint:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.19
steps:
- checkout
- run:
Expand All @@ -149,7 +149,7 @@ jobs:
bundle-validate:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.19
steps:
- checkout
- run: make bundle
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.18 as builder
FROM golang:1.19 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand All @@ -18,7 +18,7 @@ COPY pkg/ pkg/
COPY version/ version/

# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=`go env GOARCH` GO111MODULE=on go build -a -o manager main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=`go env GOARCH` go build -a -o manager main.go

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
Expand Down
2 changes: 1 addition & 1 deletion doc/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* [operator-sdk] version v1.2.0
* [docker] version 17.03+
* [git][git_tool]
* [go] version 1.18
* [go] version 1.19
* [kubernetes] version v1.22.1+
* [kubectl] version v1.22.0+
* Access to a Kubernetes v1.21.0+ 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/3scale/apicast-operator

go 1.18
go 1.19

require (
github.com/RHsyseng/operator-utils v1.4.9
Expand Down

0 comments on commit e48aedd

Please sign in to comment.