From d762abe094a400b6754309e95bae87a8f969249e Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Thu, 13 Jun 2024 15:51:42 +0200 Subject: [PATCH] chore(gitlab-ci): add missing dependencies and caches --- .gitlab-ci.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47ea38332..65776b152 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,14 +64,20 @@ node modules: well-known: stage: setup 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 needs: - job: node modules artifacts: true + cache: + - &frontend-cache + key: default-frontend + paths: + - .well-known-cache artifacts: paths: - well-known/ + - .well-known-cache/ name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}" expire_in: "1 day" retry: 2 @@ -101,8 +107,10 @@ backend dependencies: frontend lint: stage: lint 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 + cache: + - *frontend-cache needs: - job: node modules artifacts: true @@ -128,12 +136,9 @@ backend lint: frontend build: stage: build cache: - - &frontend-cache - key: default-frontend - paths: - - .well-known-cache + - *frontend-cache 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 needs: - job: node modules