ci(gitlab-ci): cleanup dynamic frontend and backend downstream pipelines
This commit is contained in:
parent
6df013e4c0
commit
a430bf3827
@ -38,11 +38,8 @@ compile:
|
|||||||
needs:
|
needs:
|
||||||
- job: container
|
- job: container
|
||||||
optional: true
|
optional: true
|
||||||
# image: &backend-image ${CI_REGISTRY_IMAGE}/backend/${CI_COMMIT_REF_SLUG}:${BACKEND_IMAGE_VERSION}
|
|
||||||
script:
|
script:
|
||||||
# - &load-backend-image zcat docker/backend/image.tar.gz | podman image load
|
- make -- backend-build
|
||||||
# - make -- --docker-run-backend-build FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
|
|
||||||
- make -- run-backend-build FRADRIVE_SERVICE=backend
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- /fradrive/.stack/
|
- /fradrive/.stack/
|
||||||
@ -54,11 +51,8 @@ lint:
|
|||||||
needs:
|
needs:
|
||||||
- job: container
|
- job: container
|
||||||
optional: true
|
optional: true
|
||||||
# image: *backend-image
|
|
||||||
script:
|
script:
|
||||||
# - *load-backend-image
|
- make -- backend-lint
|
||||||
# - make -- --docker-run-backend-lint FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
|
|
||||||
- make -- backend-lint FRADRIVE_SERVICE=backend
|
|
||||||
cache: *backend-cache
|
cache: *backend-cache
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@ -67,9 +61,6 @@ test:
|
|||||||
- job: container
|
- job: container
|
||||||
optional: true
|
optional: true
|
||||||
- compile
|
- compile
|
||||||
# image: *backend-image
|
|
||||||
script:
|
script:
|
||||||
# - *load-backend-image
|
- make -- backend-test
|
||||||
# - make -- --docker-run-backend-test FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
|
|
||||||
- make -- backend-test FRADRIVE_SERVICE=backend
|
|
||||||
cache: *backend-cache
|
cache: *backend-cache
|
||||||
|
|||||||
@ -34,10 +34,7 @@ default:
|
|||||||
|
|
||||||
compile:
|
compile:
|
||||||
stage: compile
|
stage: compile
|
||||||
# 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
|
|
||||||
# - make -- --docker-run-frontend-build FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
|
||||||
- make -- frontend-build
|
- make -- frontend-build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@ -52,11 +49,7 @@ compile:
|
|||||||
|
|
||||||
lint:
|
lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
needs:
|
|
||||||
# image: *frontend-image
|
|
||||||
script:
|
script:
|
||||||
# - *load-frontend-image
|
|
||||||
# - make -- --docker-run-frontend-lint FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
|
||||||
- make -- frontend-lint
|
- make -- frontend-lint
|
||||||
cache: *frontend-cache
|
cache: *frontend-cache
|
||||||
|
|
||||||
@ -64,9 +57,6 @@ test:
|
|||||||
stage: test
|
stage: test
|
||||||
needs:
|
needs:
|
||||||
- compile
|
- compile
|
||||||
# image: *frontend-image
|
|
||||||
script:
|
script:
|
||||||
# - *load-frontend-image
|
|
||||||
# - make -- --docker-run-frontend-test FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
|
||||||
- make -- frontend-test
|
- make -- frontend-test
|
||||||
cache: *frontend-cache
|
cache: *frontend-cache
|
||||||
|
|||||||
Reference in New Issue
Block a user