ci(gitlab-ci): Use gitlab container runner instead of podman in docker (frontend part)
This commit is contained in:
parent
858d2d3386
commit
8b4801111d
@ -51,10 +51,11 @@ compile:
|
|||||||
needs:
|
needs:
|
||||||
- job: container
|
- job: container
|
||||||
optional: true
|
optional: true
|
||||||
image: &frontend-image ${CI_REGISTRY_IMAGE}/frontend/${CI_COMMIT_REF_SLUG}:${FRONTEND_IMAGE_VERSION}
|
# image: &frontend-image ${CI_REGISTRY_IMAGE}/frontend/${CI_COMMIT_REF_SLUG}:${FRONTEND_IMAGE_VERSION}
|
||||||
script:
|
script:
|
||||||
- &load-frontend-image zcat docker/frontend/image.tar.gz | podman image load
|
# - &load-frontend-image zcat docker/frontend/image.tar.gz | podman image load
|
||||||
- make -- --docker-run-frontend-build FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
# - make -- --docker-run-frontend-build FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||||
|
- make -- frontend-build FRADRIVE_SERVICE=frontend
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- /fradrive/node_modules
|
- /fradrive/node_modules
|
||||||
@ -71,10 +72,11 @@ lint:
|
|||||||
needs:
|
needs:
|
||||||
- job: container
|
- job: container
|
||||||
optional: true
|
optional: true
|
||||||
image: *frontend-image
|
# image: *frontend-image
|
||||||
script:
|
script:
|
||||||
- *load-frontend-image
|
# - *load-frontend-image
|
||||||
- make -- --docker-run-frontend-lint FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
# - make -- --docker-run-frontend-lint FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||||
|
- make -- frontend-lint FRADRIVE_SERVICE=frontend
|
||||||
cache: *frontend-cache
|
cache: *frontend-cache
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@ -83,9 +85,10 @@ test:
|
|||||||
- job: container
|
- job: container
|
||||||
optional: true
|
optional: true
|
||||||
- compile
|
- compile
|
||||||
image: *frontend-image
|
# image: *frontend-image
|
||||||
script:
|
script:
|
||||||
- *load-frontend-image
|
# - *load-frontend-image
|
||||||
- make -- --docker-run-frontend-test FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
# - make -- --docker-run-frontend-test FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||||
|
- make -- frontend-test FRADRIVE_SERVICE=frontend
|
||||||
|
|
||||||
cache: *frontend-cache
|
cache: *frontend-cache
|
||||||
|
|||||||
Reference in New Issue
Block a user