Skip to content

Commit de918c7

Browse files
committed
downgrade from Go 1.18 to Go 1.17
1 parent 53a2dfc commit de918c7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.circleci/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ default_environment: &default_environment
3636
executors:
3737
golang:
3838
docker:
39-
- image: cimg/go:1.18
39+
- image: cimg/go:1.17.8
4040
working_directory: ~/ipfs/go-ipfs
4141
environment:
4242
<<: *default_environment
@@ -61,7 +61,7 @@ executors:
6161
E2E_IPFSD_TYPE: go
6262
dockerizer:
6363
docker:
64-
- image: cimg/go:1.18
64+
- image: cimg/go:1.17.8
6565
environment:
6666
IMAGE_NAME: ipfs/go-ipfs
6767
WIP_IMAGE_TAG: wip
@@ -161,8 +161,8 @@ jobs:
161161
- run: sudo apt update
162162
- run: |
163163
mkdir ~/localgo && cd ~/localgo
164-
wget https://golang.org/dl/go1.18.linux-amd64.tar.gz
165-
tar xfz go1.18.linux-amd64.tar.gz
164+
wget https://golang.org/dl/go1.17.8.linux-amd64.tar.gz
165+
tar xfz go1.17.8.linux-amd64.tar.gz
166166
echo "export PATH=$(pwd)/go/bin:\$PATH" >> ~/.bashrc
167167
- run: go version
168168
- run: sudo apt install socat net-tools
@@ -228,7 +228,7 @@ jobs:
228228
- *store_gomod
229229
interop:
230230
docker:
231-
- image: cimg/go:1.18-node
231+
- image: cimg/go:1.17.8-node
232232
parallelism: 4
233233
resource_class: large
234234
steps:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Note: when updating the go minor version here, also update the go-channel in snap/snapcraft.yml
2-
FROM golang:1.18-buster
2+
FROM golang:1.17.8-buster
33
LABEL maintainer="Steven Allen <[email protected]>"
44

55
# Install deps

snap/snapcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ parts:
2929
source-tag: master
3030
plugin: go
3131
# keep me up to date with the go version that go-ipfs expects to be built with.
32-
go-channel: 1.18/stable
32+
go-channel: 1.17/stable
3333
go-importpath: github.com/ipfs/go-ipfs
3434
build-packages:
3535
- build-essential

0 commit comments

Comments
 (0)