chore(gitlab-ci): make image needs optional
This commit is contained in:
parent
303a6ca3f6
commit
6f5c74f1ca
@ -76,7 +76,7 @@ frontend build:
|
||||
stage: compile
|
||||
needs:
|
||||
- job: frontend image
|
||||
artifacts: true
|
||||
optional: true
|
||||
script:
|
||||
- &load-frontend-image zcat docker/frontend/image.tar.gz | podman image load
|
||||
- make -- --docker-run-frontend-build FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
@ -95,7 +95,7 @@ frontend lint:
|
||||
stage: lint
|
||||
needs:
|
||||
- job: frontend image
|
||||
artifacts: true
|
||||
optional: true
|
||||
script:
|
||||
- *load-frontend-image
|
||||
- make -- --docker-run-frontend-lint FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
@ -105,7 +105,7 @@ frontend test:
|
||||
stage: test
|
||||
needs:
|
||||
- job: frontend image
|
||||
artifacts: true
|
||||
optional: true
|
||||
- job: frontend build
|
||||
artifacts: true
|
||||
script:
|
||||
@ -118,7 +118,7 @@ backend build:
|
||||
stage: compile
|
||||
needs:
|
||||
- job: backend image
|
||||
artifacts: true
|
||||
optional: true
|
||||
- job: frontend build
|
||||
artifacts: true
|
||||
script:
|
||||
@ -134,7 +134,7 @@ backend lint:
|
||||
stage: lint
|
||||
needs:
|
||||
- job: backend image
|
||||
artifacts: true
|
||||
optional: true
|
||||
script:
|
||||
- *load-backend-image
|
||||
- make -- --docker-run-backend-lint FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
|
||||
@ -144,7 +144,7 @@ backend test:
|
||||
stage: test
|
||||
needs:
|
||||
- job: backend image
|
||||
artifacts: true
|
||||
optional: true
|
||||
- job: backend build
|
||||
artifacts: true
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user