From f910dc9a330be82a68bbbc443ff173b233f9a2ff Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Thu, 13 Jun 2024 02:09:20 +0200 Subject: [PATCH] chore(gitlab-ci): work on well-known and backend-dependencies --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d572f37ed..5c4f1c155 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ stages: - prepare release - release +# TODO: rename to "frontend dependencies" node modules: stage: setup cache: @@ -89,9 +90,12 @@ backend dependencies: paths: - ${HOME}/.stack/ - .stack-work/ + name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}" + expire_in: "1 day" retry: 2 interruptible: true + frontend lint: stage: lint script: @@ -100,6 +104,8 @@ frontend lint: needs: - job: node modules artifacts: true + - job: well-known + artifacts: true retry: 2 interruptible: true @@ -116,12 +122,13 @@ frontend build: needs: - job: node modules artifacts: true + - job: well-known + artifacts: true - job: frontend lint # pipeline performance artifacts: false artifacts: paths: - static/ - - well-known/ - config/webpack.yml name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}" expire_in: "1 day"