chore(gitlab-ci): restructure based on stages
This commit is contained in:
parent
6a46f91cc0
commit
7a34641e42
@ -109,6 +109,20 @@ frontend lint:
|
|||||||
retry: 2
|
retry: 2
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
|
backend lint:
|
||||||
|
stage: lint
|
||||||
|
cache:
|
||||||
|
- *stack-cache
|
||||||
|
script:
|
||||||
|
- "nix shell .#gnumake .#stack --command make CI=1 backend-lint"
|
||||||
|
before_script: *nix-before
|
||||||
|
needs:
|
||||||
|
- job: backend dependencies
|
||||||
|
artifacts: true
|
||||||
|
retry: 2
|
||||||
|
interruptible: true
|
||||||
|
|
||||||
|
|
||||||
frontend build:
|
frontend build:
|
||||||
stage: build
|
stage: build
|
||||||
cache:
|
cache:
|
||||||
@ -135,19 +149,6 @@ frontend build:
|
|||||||
retry: 2
|
retry: 2
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
backend lint:
|
|
||||||
stage: lint
|
|
||||||
cache:
|
|
||||||
- *stack-cache
|
|
||||||
script:
|
|
||||||
- "nix shell .#gnumake .#stack --command make CI=1 backend-lint"
|
|
||||||
before_script: *nix-before
|
|
||||||
needs:
|
|
||||||
- job: backend dependencies
|
|
||||||
artifacts: true
|
|
||||||
retry: 2
|
|
||||||
interruptible: true
|
|
||||||
|
|
||||||
backend build:
|
backend build:
|
||||||
stage: build
|
stage: build
|
||||||
cache:
|
cache:
|
||||||
|
|||||||
Reference in New Issue
Block a user