Skip to content

Commit

Permalink
downgrade from Go 1.18 to Go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann committed Mar 22, 2022
1 parent fc6e45f commit 2ecb298
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .circleci/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ default_environment: &default_environment
executors:
golang:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.17.8
working_directory: ~/ipfs/go-ipfs
environment:
<<: *default_environment
Expand All @@ -61,7 +61,7 @@ executors:
E2E_IPFSD_TYPE: go
dockerizer:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.17.8
environment:
IMAGE_NAME: ipfs/go-ipfs
WIP_IMAGE_TAG: wip
Expand Down Expand Up @@ -161,8 +161,8 @@ jobs:
- run: sudo apt update
- run: |
mkdir ~/localgo && cd ~/localgo
wget https://golang.org/dl/go1.18.linux-amd64.tar.gz
tar xfz go1.18.linux-amd64.tar.gz
wget https://golang.org/dl/go1.17.8.linux-amd64.tar.gz
tar xfz go1.17.8.linux-amd64.tar.gz
echo "export PATH=$(pwd)/go/bin:\$PATH" >> ~/.bashrc
- run: go version
- run: sudo apt install socat net-tools
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
- *store_gomod
interop:
docker:
- image: cimg/go:1.18-node
- image: cimg/go:1.17.8-node
parallelism: 4
resource_class: large
steps:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Note: when updating the go minor version here, also update the go-channel in snap/snapcraft.yml
FROM golang:1.18-buster
FROM golang:1.17.8-buster
LABEL maintainer="Steven Allen <steven@stebalien.com>"

# Install deps
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ parts:
source-tag: master
plugin: go
# keep me up to date with the go version that go-ipfs expects to be built with.
go-channel: 1.18/stable
go-channel: 1.17/stable
go-importpath: github.com/ipfs/go-ipfs
build-packages:
- build-essential
Expand Down

0 comments on commit 2ecb298

Please sign in to comment.