Skip to content

Commit

Permalink
Revert "go 1.21.1 (#10125)"
Browse files Browse the repository at this point in the history
This reverts commit 175d70c. upgrade to
go 1.21.1 due to an issue introduced in go 1.21.1
  • Loading branch information
mohamed-mehany committed Sep 28, 2023
1 parent 678b2c9 commit b06670a
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 326 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
golang 1.21.1
golang 1.20.4
mockery 2.28.1
nodejs 16.16.0
postgres 13.3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ regarding Chainlink social accounts, news, and networking.

## Build Chainlink

1. [Install Go 1.21.1](https://golang.org/doc/install), and add your GOPATH's [bin directory to your PATH](https://golang.org/doc/code.html#GOPATH)
1. [Install Go 1.20](https://golang.org/doc/install), and add your GOPATH's [bin directory to your PATH](https://golang.org/doc/code.html#GOPATH)
- Example Path for macOS `export PATH=$GOPATH/bin:$PATH` & `export GOPATH=/Users/$USER/go`
2. Install [NodeJS v16](https://nodejs.org/en/download/package-manager/) & [pnpm via npm](https://pnpm.io/installation#using-npm).
- It might be easier long term to use [nvm](https://nodejs.org/en/download/package-manager/#nvm) to switch between node versions for different projects. For example, assuming $NODE_VERSION was set to a valid version of NodeJS, you could run: `nvm install $NODE_VERSION && nvm use $NODE_VERSION`
Expand Down
2 changes: 1 addition & 1 deletion core/chainlink.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build image: Chainlink binary
FROM golang:1.21-bullseye as buildgo
FROM golang:1.20-buster as buildgo
RUN go version
WORKDIR /chainlink

Expand Down
4 changes: 2 additions & 2 deletions core/chainlink.devspace.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build image: Chainlink binary
FROM golang:1.21-bullseye as buildgo
FROM golang:1.20-buster as buildgo
RUN go version
WORKDIR /chainlink

Expand All @@ -18,7 +18,7 @@ COPY . .
RUN make install-chainlink

# Final image: ubuntu with chainlink binary
FROM golang:1.21-bullseye
FROM golang:1.20-buster

ARG CHAINLINK_USER=root
ENV DEBIAN_FRONTEND noninteractive
Expand Down
2 changes: 1 addition & 1 deletion core/scripts/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/smartcontractkit/chainlink/core/scripts

go 1.21
go 1.20

// Make sure we're working with the latest chainlink libs
replace github.com/smartcontractkit/chainlink/v2 => ../../
Expand Down
97 changes: 0 additions & 97 deletions core/scripts/go.sum

Large diffs are not rendered by default.

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/smartcontractkit/chainlink/v2

go 1.21
go 1.20

require (
github.com/CosmWasm/wasmd v0.40.1
Expand Down
100 changes: 0 additions & 100 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion integration-tests/.tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
golang 1.21.1
golang 1.21.0
k3d 5.4.6
kubectl 1.25.5
nodejs 18.13.0
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/smartcontractkit/chainlink/integration-tests

go 1.21
go 1.20

// Make sure we're working with the latest chainlink libs
replace github.com/smartcontractkit/chainlink/v2 => ../
Expand Down
118 changes: 0 additions & 118 deletions integration-tests/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugins/chainlink.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build image: Chainlink binary
FROM golang:1.21-bullseye as buildgo
FROM golang:1.20-buster as buildgo
RUN go version
WORKDIR /chainlink

Expand Down
2 changes: 1 addition & 1 deletion tools/docker/cldev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-bullseye
FROM golang:1.17-buster

ARG SRCROOT=/usr/local/src/chainlink
WORKDIR ${SRCROOT}
Expand Down

0 comments on commit b06670a

Please sign in to comment.