From a9fdf26eeb94ef6d548aeb6dabb04ddce86df6ec Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Fri, 20 Jan 2023 22:40:49 +0100 Subject: [PATCH] fix(ci): work around bifrost-infra/issues/2300 https://github.com/protocol/bifrost-infra/issues/2300#issuecomment-1398946009 --- .circleci/main.yml | 4 ++++ .github/workflows/build.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.circleci/main.yml b/.circleci/main.yml index 6406c6655..9bf48ebea 100644 --- a/.circleci/main.yml +++ b/.circleci/main.yml @@ -228,6 +228,8 @@ jobs: - image: cimg/go:1.19.1-node parallelism: 4 resource_class: 2xlarge+ + environment: + GO_IPFS_DIST_URL: https://dist-ipfs-tech.ipns.cf-ipfs.com # TODO remove this line when https://github.com/protocol/bifrost-infra/issues/2300 is closed steps: - *make_out_dirs - attach_workspace: @@ -328,6 +330,8 @@ jobs: ipfs-webui: executor: node-browsers resource_class: 2xlarge+ + environment: + GO_IPFS_DIST_URL: https://dist-ipfs-tech.ipns.cf-ipfs.com # TODO remove this line when https://github.com/protocol/bifrost-infra/issues/2300 is closed steps: - *make_out_dirs - attach_workspace: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0b4194b7..997067ad8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,6 +78,7 @@ jobs: LIBP2P_TCP_REUSEPORT: false LIBP2P_ALLOW_WEAK_RSA_KEYS: 1 IPFS_GO_EXEC: ${{ github.workspace }}/cmd/ipfs/ipfs + GO_IPFS_DIST_URL: https://dist-ipfs-tech.ipns.cf-ipfs.com # TODO: remove this line when https://github.com/protocol/bifrost-infra/issues/2300 is closed working-directory: interop go-ipfs-api: needs: [prepare] @@ -161,6 +162,7 @@ jobs: TRAVIS: 1 GIT_PAGER: cat IPFS_CHECK_RCMGR_DEFAULTS: 1 + GO_IPFS_DIST_URL: https://dist-ipfs-tech.ipns.cf-ipfs.com # TODO: remove this line when https://github.com/protocol/bifrost-infra/issues/2300 is closed defaults: run: shell: bash