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:
|
||||
- job: container
|
||||
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:
|
||||
- &load-frontend-image zcat docker/frontend/image.tar.gz | podman image load
|
||||
- make -- --docker-run-frontend-build FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
# - &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 -- frontend-build FRADRIVE_SERVICE=frontend
|
||||
artifacts:
|
||||
paths:
|
||||
- /fradrive/node_modules
|
||||
@ -71,10 +72,11 @@ lint:
|
||||
needs:
|
||||
- job: container
|
||||
optional: true
|
||||
image: *frontend-image
|
||||
# image: *frontend-image
|
||||
script:
|
||||
- *load-frontend-image
|
||||
- make -- --docker-run-frontend-lint FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
# - *load-frontend-image
|
||||
# - make -- --docker-run-frontend-lint FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
- make -- frontend-lint FRADRIVE_SERVICE=frontend
|
||||
cache: *frontend-cache
|
||||
|
||||
test:
|
||||
@ -83,9 +85,10 @@ test:
|
||||
- job: container
|
||||
optional: true
|
||||
- compile
|
||||
image: *frontend-image
|
||||
# image: *frontend-image
|
||||
script:
|
||||
- *load-frontend-image
|
||||
- make -- --docker-run-frontend-test FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
# - *load-frontend-image
|
||||
# - make -- --docker-run-frontend-test FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
- make -- frontend-test FRADRIVE_SERVICE=frontend
|
||||
|
||||
cache: *frontend-cache
|
||||
|
||||
Reference in New Issue
Block a user