ci - integration tests need to generate scss cache key

feature/default_network_editable
kumavis 7 years ago
parent 6c3706f3e8
commit dab47e5bfa
  1. 10
      .circleci/config.yml

@ -49,7 +49,7 @@ jobs:
- restore_cache: - restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }} key: dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Get Cache key name: Get Scss Cache key
# this allows us to checksum against a whole directory # this allows us to checksum against a whole directory
command: ls -laR ui/app/css/ > scss_checksum command: ls -laR ui/app/css/ > scss_checksum
- restore_cache: - restore_cache:
@ -91,6 +91,10 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }} key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Get Scss Cache key
# this allows us to checksum against a whole directory
command: ls -laR ui/app/css/ > scss_checksum
- restore_cache: - restore_cache:
key: scss-cache-{{ checksum "scss_checksum" }} key: scss-cache-{{ checksum "scss_checksum" }}
- run: - run:
@ -104,6 +108,10 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }} key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Get Scss Cache key
# this allows us to checksum against a whole directory
command: ls -laR ui/app/css/ > scss_checksum
- restore_cache: - restore_cache:
key: scss-cache-{{ checksum "scss_checksum" }} key: scss-cache-{{ checksum "scss_checksum" }}
- run: - run:

Loading…
Cancel
Save