Skip to content

Commit

Permalink
Update 1.9.x go 1.17.13 (#16836)
Browse files Browse the repository at this point in the history
* Update go version to 1.17.13 for 1.9.x

* adding CL
  • Loading branch information
hghaf099 committed Aug 23, 2022
1 parent f788761 commit d651606
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 22 deletions.
20 changes: 10 additions & 10 deletions .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .circleci/config/commands/go_test.yml
Expand Up @@ -14,7 +14,7 @@ parameters:
default: false
go_image:
type: string
default: "docker.mirror.hashicorp.services/cimg/go:1.17.12"
default: "docker.mirror.hashicorp.services/cimg/go:1.17.13"
use_docker:
type: boolean
default: false
Expand Down
8 changes: 4 additions & 4 deletions .circleci/config/executors/@executors.yml
Expand Up @@ -4,7 +4,7 @@ go-machine:
shell: /usr/bin/env bash -euo pipefail -c
environment:
CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3)
GO_VERSION: 1.17.12 # Pin Go to patch version (ex: 1.2.3)
GO_VERSION: 1.17.13 # Pin Go to patch version (ex: 1.2.3)
GOTESTSUM_VERSION: 0.5.2 # Pin gotestsum to patch version (ex: 1.2.3)
GO_TAGS: ""
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
Expand All @@ -26,23 +26,23 @@ alpine:
docker-env-go-test-remote-docker:
resource_class: medium
docker:
- image: "docker.mirror.hashicorp.services/cimg/go:1.17.12"
- image: "docker.mirror.hashicorp.services/cimg/go:1.17.13"
environment:
CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3)
GO_TAGS: ""
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
docker-env-go-test:
resource_class: large
docker:
- image: "docker.mirror.hashicorp.services/cimg/go:1.17.12"
- image: "docker.mirror.hashicorp.services/cimg/go:1.17.13"
environment:
CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3)
GO_TAGS: ""
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
docker-env-go-test-race:
resource_class: xlarge
docker:
- image: "docker.mirror.hashicorp.services/cimg/go:1.17.12"
- image: "docker.mirror.hashicorp.services/cimg/go:1.17.13"
environment:
CIRCLECI_CLI_VERSION: 0.1.5546 # Pin CircleCI CLI to patch version (ex: 1.2.3)
GO_TAGS: ""
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -46,7 +46,7 @@ jobs:
matrix:
goos: [ freebsd, windows, netbsd, openbsd, solaris ]
goarch: [ "386", "amd64", "arm" ]
go: [ "1.17.12" ]
go: [ "1.17.13" ]
exclude:
- goos: solaris
goarch: 386
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
matrix:
goos: [linux]
goarch: ["arm", "arm64", "386", "amd64"]
go: ["1.17.12"]
go: ["1.17.13"]
fail-fast: true

name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
matrix:
goos: [ darwin ]
goarch: [ "amd64", "arm64" ]
go: [ "1.17.12" ]
go: [ "1.17.13" ]
fail-fast: true
name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build
steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -15,7 +15,7 @@ EXTERNAL_TOOLS=\
GOFMT_FILES?=$$(find . -name '*.go' | grep -v pb.go | grep -v vendor)


GO_VERSION_MIN=1.17.12
GO_VERSION_MIN=1.17.13
GO_CMD?=go
CGO_ENABLED?=0
ifneq ($(FDB_ENABLED), )
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -72,7 +72,7 @@ Developing Vault

If you wish to work on Vault itself or any of its built-in systems, you'll
first need [Go](https://www.golang.org) installed on your machine. Go version
1.17.12+ is *required*.
1.17.13+ is *required*.

For local dev first make sure Go is properly installed, including setting up a
[GOPATH](https://golang.org/doc/code.html#GOPATH). Ensure that `$GOPATH/bin` is in
Expand Down
3 changes: 3 additions & 0 deletions changelog/_go-ver-199.txt
@@ -0,0 +1,3 @@
```release-note:change
core: Bump Go version to 1.17.13.
```
2 changes: 1 addition & 1 deletion scripts/docker/Dockerfile
@@ -1,7 +1,7 @@
# Multi-stage builder to avoid polluting users environment with wrong
# architecture binaries. Since this binary is used in an alpine container,
# we're explicitly compiling for 'linux/amd64'
ARG VERSION=1.17.12
ARG VERSION=1.17.13

FROM golang:${VERSION} AS builder

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/Dockerfile.ui
Expand Up @@ -3,7 +3,7 @@
# we're explicitly compiling for 'linux/amd64'
FROM debian:buster AS builder

ARG VERSION=1.17.12
ARG VERSION=1.17.13
ARG CGO_ENABLED=0
ARG BUILD_TAGS
ENV JOBS=2
Expand Down

0 comments on commit d651606

Please sign in to comment.