Moved ui and docker jobs to their own stage

For artifact tranismission
This commit is contained in:
Joe Bellus 2022-02-08 23:52:46 -05:00
parent 4615c92ab1
commit cd233eaa7d
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
stages: stages:
- test - test
- ui
- build - build
- build-docker
- deploy - deploy
- release - release
@ -16,7 +18,7 @@ test:
- cargo test - cargo test
build-ui: build-ui:
stage: build stage: ui
image: node:16.13-slim image: node:16.13-slim
script: script:
- apt-get update - apt-get update
@ -29,7 +31,7 @@ build-ui:
build-bin: build-bin:
dependencies: dependencies:
- build-ui - ui
variables: variables:
RUSTC_WRAPPER: /usr/local/bin/sccache RUSTC_WRAPPER: /usr/local/bin/sccache
SCCACHE_BUCKET: $SCCACHE_BUCKET SCCACHE_BUCKET: $SCCACHE_BUCKET
@ -59,7 +61,7 @@ build-docker:
image: docker:19.03.12 image: docker:19.03.12
services: services:
- docker:19.03.12-dind - docker:19.03.12-dind
stage: build stage: docker
script: script:
- cd target/release - cd target/release
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY