Skip to content

Commit

Permalink
chore: CI times out due to ipget issues
Browse files Browse the repository at this point in the history
Instead of using `paramfetch`, which is using `ipget`, get the file
via HTTP. This should solve problems with the CI job timing out.
  • Loading branch information
vmx committed Mar 25, 2022
1 parent 27f15df commit 3676e5b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ jobs:
commands:
ensure_filecoin_parameters:
steps:
- run:
name: Create parameters directory
command: mkdir -p ${FIL_PROOFS_PARAMETER_CACHE}
- run:
name: Build paramcache if it doesn't already exist
command: |
Expand All @@ -326,8 +329,11 @@ commands:
- run:
name: Obtain filecoin ipp parameter file
command: |
cargo run --release --bin paramfetch -- -a -j srs-inner-product.json
no_output_timeout: 60m
# paramfetch is using `ipget` which currently always times out on
# CI, hence get this file via HTTP instead.
#cargo run --release --bin paramfetch -- -a -j srs-inner-product.json
# `--insecure` is needed due to an outdated base systems.
curl --insecure https://proofs.filecoin.io/v28-fil-inner-product-v1.srs --output ${FIL_PROOFS_PARAMETER_CACHE}v28-fil-inner-product-v1.srs
- run:
name: Make the parameters world readable
command: chmod -R 755 ${FIL_PROOFS_PARAMETER_CACHE}
Expand Down

0 comments on commit 3676e5b

Please sign in to comment.