Moved ui and docker jobs to their own stage
For artifact tranismission
This commit is contained in:
parent
4615c92ab1
commit
cd233eaa7d
|
@ -1,6 +1,8 @@
|
|||
stages:
|
||||
- test
|
||||
- ui
|
||||
- build
|
||||
- build-docker
|
||||
- deploy
|
||||
- release
|
||||
|
||||
|
@ -16,7 +18,7 @@ test:
|
|||
- cargo test
|
||||
|
||||
build-ui:
|
||||
stage: build
|
||||
stage: ui
|
||||
image: node:16.13-slim
|
||||
script:
|
||||
- apt-get update
|
||||
|
@ -29,7 +31,7 @@ build-ui:
|
|||
|
||||
build-bin:
|
||||
dependencies:
|
||||
- build-ui
|
||||
- ui
|
||||
variables:
|
||||
RUSTC_WRAPPER: /usr/local/bin/sccache
|
||||
SCCACHE_BUCKET: $SCCACHE_BUCKET
|
||||
|
@ -59,7 +61,7 @@ build-docker:
|
|||
image: docker:19.03.12
|
||||
services:
|
||||
- docker:19.03.12-dind
|
||||
stage: build
|
||||
stage: docker
|
||||
script:
|
||||
- cd target/release
|
||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||
|
|
Loading…
Reference in New Issue