chore(gitlab-ci): work on well-known and backend-dependencies
This commit is contained in:
parent
a4e2f3edc6
commit
f910dc9a33
@ -33,6 +33,7 @@ stages:
|
|||||||
- prepare release
|
- prepare release
|
||||||
- release
|
- release
|
||||||
|
|
||||||
|
# TODO: rename to "frontend dependencies"
|
||||||
node modules:
|
node modules:
|
||||||
stage: setup
|
stage: setup
|
||||||
cache:
|
cache:
|
||||||
@ -89,9 +90,12 @@ backend dependencies:
|
|||||||
paths:
|
paths:
|
||||||
- ${HOME}/.stack/
|
- ${HOME}/.stack/
|
||||||
- .stack-work/
|
- .stack-work/
|
||||||
|
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
|
||||||
|
expire_in: "1 day"
|
||||||
retry: 2
|
retry: 2
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
|
|
||||||
frontend lint:
|
frontend lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
script:
|
script:
|
||||||
@ -100,6 +104,8 @@ frontend lint:
|
|||||||
needs:
|
needs:
|
||||||
- job: node modules
|
- job: node modules
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
- job: well-known
|
||||||
|
artifacts: true
|
||||||
retry: 2
|
retry: 2
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
@ -116,12 +122,13 @@ frontend build:
|
|||||||
needs:
|
needs:
|
||||||
- job: node modules
|
- job: node modules
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
- job: well-known
|
||||||
|
artifacts: true
|
||||||
- job: frontend lint # pipeline performance
|
- job: frontend lint # pipeline performance
|
||||||
artifacts: false
|
artifacts: false
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- static/
|
- static/
|
||||||
- well-known/
|
|
||||||
- config/webpack.yml
|
- config/webpack.yml
|
||||||
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
|
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
|
||||||
expire_in: "1 day"
|
expire_in: "1 day"
|
||||||
|
|||||||
Reference in New Issue
Block a user