From 4588599ebe2e0b1a81ac8651e82f492deeef2a04 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Thu, 14 Nov 2019 19:53:39 +0100 Subject: [PATCH 1/2] Include build/paramfetch.go in circle params checksum License: MIT Signed-off-by: Jakub Sztandera --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1bd574724..0b0b8d3fb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,14 +25,15 @@ commands: - restore_cache: name: Restore parameters cache keys: - - 'v15-lotus-params-{{ checksum "build/proof-params/parameters.json" }}' + - 'v15-lotus-params-{{ checksum "build/proof-params/parameters.json" }}-{{ checksum "build/paramfetch.go" }}' + - 'v15-lotus-params-{{ checksum "build/proof-params/parameters.json" }}-' - 'v15-lotus-params-' paths: - /var/tmp/filecoin-proof-parameters/ - run: ./lotus fetch-params --include-test-params - save_cache: name: Save parameters cache - key: 'v15-lotus-params-{{ checksum "build/proof-params/parameters.json" }}' + key: 'v15-lotus-params-{{ checksum "build/proof-params/parameters.json" }}-{{ checksum "build/paramfetch.go" }}' paths: - /var/tmp/filecoin-proof-parameters/ From c8f5bade0d3e881a15685b8e639ec5980419fc0a Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Thu, 14 Nov 2019 19:55:31 +0100 Subject: [PATCH 2/2] Don't fallback to older parameters if parameters.json changes License: MIT Signed-off-by: Jakub Sztandera --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0b0b8d3fb..10f5cd782 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,6 @@ commands: keys: - 'v15-lotus-params-{{ checksum "build/proof-params/parameters.json" }}-{{ checksum "build/paramfetch.go" }}' - 'v15-lotus-params-{{ checksum "build/proof-params/parameters.json" }}-' - - 'v15-lotus-params-' paths: - /var/tmp/filecoin-proof-parameters/ - run: ./lotus fetch-params --include-test-params