File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -513,12 +513,17 @@ jobs:
513513 name : Generate cache key
514514 # This will refresh cache on Sundays, nightly build should generate new cache.
515515 command : echo "$(date +"%Y-%U")" > .circleci-weekly
516+ - restore_cache :
517+
518+ keys :
519+ - env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
520+
516521 - run :
517522 name : Setup
518523 command : docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
519524 - save_cache :
520525
521- key : env-v2 -linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
526+ key : env-v3 -linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
522527
523528 paths :
524529 - conda
@@ -587,6 +592,11 @@ jobs:
587592 name : Generate cache key
588593 # This will refresh cache on Sundays, nightly build should generate new cache.
589594 command : echo "$(date +"%Y-%U")" > .circleci-weekly
595+ - restore_cache :
596+
597+ keys :
598+ - env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
599+
590600 - run :
591601 name : Setup
592602 command : .circleci/unittest/windows/scripts/setup_env.sh
Original file line number Diff line number Diff line change @@ -513,12 +513,17 @@ jobs:
513513 name: Generate cache key
514514 # This will refresh cache on Sundays, nightly build should generate new cache.
515515 command: echo "$(date +"%Y-%U")" > .circleci-weekly
516+ - restore_cache:
517+ {% raw %}
518+ keys:
519+ - env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
520+ {% endraw %}
516521 - run:
517522 name: Setup
518523 command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
519524 - save_cache:
520525 {% raw %}
521- key: env-v2 -linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
526+ key: env-v3 -linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
522527 {% endraw %}
523528 paths:
524529 - conda
@@ -587,6 +592,11 @@ jobs:
587592 name: Generate cache key
588593 # This will refresh cache on Sundays, nightly build should generate new cache.
589594 command: echo "$(date +"%Y-%U")" > .circleci-weekly
595+ - restore_cache:
596+ {% raw %}
597+ keys:
598+ - env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
599+ {% endraw %}
590600 - run:
591601 name: Setup
592602 command: .circleci/unittest/windows/scripts/setup_env.sh
You can’t perform that action at this time.
0 commit comments