Skip to content

Commit 82604ba

Browse files
committed
Update to Go 1.16
Fixes build failing due to goconvey dependency change
1 parent 47d06d4 commit 82604ba

7 files changed

Lines changed: 14 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
### Changed
10+
- The project Golang version is updated from the end-of-life v1.15 to version v1.16.
11+
[cyberark/secretless-broker#1434](https://github.com/cyberark/secretless-broker/pull/1434/)
12+
913
### Fixed
1014
- Request-signing on the AWS connector was updated to address a bug that was
1115
causing failed integrity checks, where the request-signing by Secretless was

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15-buster as secretless-builder
1+
FROM golang:1.16-buster as secretless-builder
22
MAINTAINER CyberArk Software Ltd.
33
LABEL builder="secretless-builder"
44

@@ -23,6 +23,7 @@ ENV GOOS=linux \
2323
COPY go.mod go.sum /secretless/
2424
COPY third_party/ /secretless/third_party
2525

26+
RUN go env -w GOFLAGS=-mod=mod
2627
RUN go mod download
2728

2829
# secretless source files

Dockerfile.debug

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15-buster as secretless-builder
1+
FROM golang:1.16-buster as secretless-builder
22
MAINTAINER CyberArk Software Ltd.
33
LABEL builder="secretless-builder"
44

@@ -23,6 +23,7 @@ ENV GOOS=linux \
2323
COPY go.mod go.sum /secretless/
2424
COPY third_party/ /secretless/third_party
2525

26+
RUN go env -w GOFLAGS=-mod=mod
2627
RUN go mod download
2728

2829
# Compile Delve (for debugging)

Dockerfile.dev

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15-buster
1+
FROM golang:1.16-buster
22
MAINTAINER CyberArk Software Ltd.
33

44
# On CyberArk dev laptops, golang module dependencies are downloaded with a
@@ -53,6 +53,7 @@ RUN go get -u github.com/jstemmer/go-junit-report && \
5353
COPY go.mod go.sum /secretless/
5454
COPY third_party/ /secretless/third_party
5555

56+
RUN go env -w GOFLAGS=-mod=mod
5657
RUN go mod download
5758

5859
# TODO: all the stuff below this line is not needed

Dockerfile.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15-alpine
1+
FROM golang:1.16-alpine
22
MAINTAINER CyberArk Software Ltd.
33
LABEL id="secretless-test-runner"
44

@@ -24,6 +24,7 @@ RUN apk add -u curl \
2424
COPY go.mod go.sum /secretless/
2525
COPY third_party/ /secretless/third_party
2626

27+
RUN go env -w GOFLAGS=-mod=mod
2728
RUN go mod download
2829

2930
# go-junit-report => Convert go test output to junit xml

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ replace github.com/denisenkom/go-mssqldb => ./third_party/go-mssqldb
6060
// This is our fix:
6161
replace honnef.co/go/tools => github.com/dominikh/go-tools v0.0.1-2019.2.3
6262

63-
go 1.15
63+
go 1.16

0 commit comments

Comments
 (0)