chore(gitlab-ci): add missing dependencies and caches
This commit is contained in:
parent
f5d02a4b22
commit
d762abe094
@ -64,14 +64,20 @@ node modules:
|
|||||||
well-known:
|
well-known:
|
||||||
stage: setup
|
stage: setup
|
||||||
script:
|
script:
|
||||||
- "nix shell .#gnumake .#nodejs-14_x --command make well-known"
|
- "nix shell .#gnumake .#nodejs-14_x .#exiftool --command make well-known"
|
||||||
before_script: *nix-before
|
before_script: *nix-before
|
||||||
needs:
|
needs:
|
||||||
- job: node modules
|
- job: node modules
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
cache:
|
||||||
|
- &frontend-cache
|
||||||
|
key: default-frontend
|
||||||
|
paths:
|
||||||
|
- .well-known-cache
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- well-known/
|
- well-known/
|
||||||
|
- .well-known-cache/
|
||||||
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
|
||||||
@ -101,8 +107,10 @@ backend dependencies:
|
|||||||
frontend lint:
|
frontend lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
script:
|
script:
|
||||||
- "nix shell .#gnumake .#gup .#nodejs-14_x --command make frontend-lint"
|
- "nix shell .#gnumake .#nodejs-14_x --command make frontend-lint"
|
||||||
before_script: *nix-before
|
before_script: *nix-before
|
||||||
|
cache:
|
||||||
|
- *frontend-cache
|
||||||
needs:
|
needs:
|
||||||
- job: node modules
|
- job: node modules
|
||||||
artifacts: true
|
artifacts: true
|
||||||
@ -128,12 +136,9 @@ backend lint:
|
|||||||
frontend build:
|
frontend build:
|
||||||
stage: build
|
stage: build
|
||||||
cache:
|
cache:
|
||||||
- &frontend-cache
|
- *frontend-cache
|
||||||
key: default-frontend
|
|
||||||
paths:
|
|
||||||
- .well-known-cache
|
|
||||||
script:
|
script:
|
||||||
- "nix shell .#gnumake .#gup .#nodejs-14_x --command make frontend-build"
|
- "nix shell .#gnumake .#nodejs-14_x --command make frontend-build"
|
||||||
before_script: *nix-before
|
before_script: *nix-before
|
||||||
needs:
|
needs:
|
||||||
- job: node modules
|
- job: node modules
|
||||||
|
|||||||
Reference in New Issue
Block a user