chore(gitlab-ci): use STACK_ROOT for cache
This commit is contained in:
parent
305c16c217
commit
6d305f90d0
@ -28,6 +28,8 @@ variables:
|
|||||||
extra-substituters = https://cache.iog.io
|
extra-substituters = https://cache.iog.io
|
||||||
extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
|
extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
|
||||||
|
|
||||||
|
STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- setup
|
- setup
|
||||||
- lint
|
- lint
|
||||||
@ -98,15 +100,14 @@ backend dependencies:
|
|||||||
- &stack-cache
|
- &stack-cache
|
||||||
key: default-stack
|
key: default-stack
|
||||||
paths:
|
paths:
|
||||||
- ${HOME}/.stack
|
- .stack
|
||||||
- .stack-work
|
|
||||||
script:
|
script:
|
||||||
- echo ${LC_ALL} ${LANG}
|
- echo ${LC_ALL} ${LANG}
|
||||||
- make backend-dependencies-prod
|
- make backend-dependencies-prod
|
||||||
before_script: *nix-before
|
before_script: *nix-before
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- ${HOME}/.stack
|
- .stack
|
||||||
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
|
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
|
||||||
expire_in: "1 day"
|
expire_in: "1 day"
|
||||||
retry: 2
|
retry: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user