Skip to content

Commit

Permalink
all: update go versions to 1.16.3 and 1.15.11 (#3538)
Browse files Browse the repository at this point in the history
Update Go versions used in tests and CI to 1.16.3 and 1.15.11.

They were released on Apr 1st.
  • Loading branch information
leighmcculloch authored Apr 20, 2021
1 parent 641d0e6 commit dcfb699
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ commands:
name: Download and install golang
command: |
sudo rm -rf /usr/local/go
wget https://dl.google.com/go/go1.16.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
wget https://dl.google.com/go/go1.16.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.3.linux-amd64.tar.gz
# install_go_deps installs the go dependencies of the project.
install_go_deps:
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
test_code_1_15:
working_directory: /go/src/github.com/stellar/go
docker:
- image: golang:1.15.10
- image: golang:1.15.11
environment:
GO111MODULE: "on"
PGHOST: localhost
Expand All @@ -268,7 +268,7 @@ jobs:
test_code_1_15_postgres10:
working_directory: /go/src/github.com/stellar/go
docker:
- image: golang:1.15.10
- image: golang:1.15.11
environment:
GO111MODULE: "on"
PGHOST: localhost
Expand All @@ -290,7 +290,7 @@ jobs:
test_code_1_16:
working_directory: /go/src/github.com/stellar/go
docker:
- image: golang:1.16.2
- image: golang:1.16.3
environment:
GO111MODULE: "on"
PGHOST: localhost
Expand All @@ -310,7 +310,7 @@ jobs:
test_code_1_16_postgres10:
working_directory: /go/src/github.com/stellar/go
docker:
- image: golang:1.16.2
- image: golang:1.16.3
environment:
GO111MODULE: "on"
PGHOST: localhost
Expand All @@ -334,7 +334,7 @@ jobs:
publish_artifacts:
working_directory: /go/src/github.com/stellar/go
docker:
- image: golang:1.16.2
- image: golang:1.16.3
steps:
- check_deprecations
- install_go_deps
Expand Down
2 changes: 1 addition & 1 deletion exp/services/recoverysigner/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16.2 as build
FROM golang:1.16.3 as build

ADD . /src/recoverysigner
WORKDIR /src/recoverysigner
Expand Down
2 changes: 1 addition & 1 deletion exp/services/webauth/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16.2 as build
FROM golang:1.16.3 as build

ADD . /src/webauth
WORKDIR /src/webauth
Expand Down
2 changes: 1 addition & 1 deletion exp/tools/dump-ledger-state/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN echo "host all all all trust" > /etc/postgresql/9.6/main/pg_hba.conf
# And add `listen_addresses` to `/etc/postgresql/9.6/main/postgresql.conf`
RUN echo "listen_addresses='*'" >> /etc/postgresql/9.6/main/postgresql.conf

RUN curl -sL https://storage.googleapis.com/golang/go1.16.2.linux-amd64.tar.gz | tar -C /usr/local -xz
RUN curl -sL https://storage.googleapis.com/golang/go1.16.3.linux-amd64.tar.gz | tar -C /usr/local -xz
RUN ln -s /usr/local/go/bin/go /usr/local/bin/go
WORKDIR /go/src/github.com/stellar/go
COPY go.mod go.sum ./
Expand Down
2 changes: 1 addition & 1 deletion services/friendbot/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16.2 as build
FROM golang:1.16.3 as build

ADD . /src/friendbot
WORKDIR /src/friendbot
Expand Down
2 changes: 1 addition & 1 deletion services/horizon/docker/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16.2 AS builder
FROM golang:1.16.3 AS builder

WORKDIR /go/src/github.com/stellar/go
COPY go.mod go.sum ./
Expand Down
4 changes: 2 additions & 2 deletions services/horizon/docker/verify-range/dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ echo "deb https://apt.stellar.org/public stable/" | tee -a /etc/apt/sources.list
apt-get update
apt-get install -y stellar-core

wget https://dl.google.com/go/go1.16.2.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
wget https://dl.google.com/go/go1.16.3.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.16.3.linux-amd64.tar.gz

# configure postgres
service postgresql start
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Change to Go version used in CI or rebuild with --build-arg.
ARG GO_IMAGE=golang:1.16.2
ARG GO_IMAGE=golang:1.16.3
FROM $GO_IMAGE

WORKDIR /go/src/github.com/stellar/go
Expand Down
2 changes: 1 addition & 1 deletion services/keystore/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16.2 as build
FROM golang:1.16.3 as build

ADD . /src/keystore
WORKDIR /src/keystore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16.2 as build
FROM golang:1.16.3 as build

ADD . /src/regulated-assets-approval-server
WORKDIR /src/regulated-assets-approval-server
Expand Down
2 changes: 1 addition & 1 deletion services/ticker/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16.2 as build
FROM golang:1.16.3 as build

ADD . /src/ticker
WORKDIR /src/ticker
Expand Down
2 changes: 1 addition & 1 deletion services/ticker/docker/Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16.2-stretch as build
FROM golang:1.16.3-stretch as build

LABEL maintainer="Alex Cordeiro <[email protected]>"

Expand Down

0 comments on commit dcfb699

Please sign in to comment.