ci(gitlab-ci): cleanup dynamic frontend and backend downstream pipelines

This commit is contained in:
Sarah Vaupel 2024-08-25 05:57:48 +02:00
parent 6df013e4c0
commit a430bf3827
2 changed files with 3 additions and 22 deletions

View File

@ -38,11 +38,8 @@ compile:
needs:
- job: container
optional: true
# image: &backend-image ${CI_REGISTRY_IMAGE}/backend/${CI_COMMIT_REF_SLUG}:${BACKEND_IMAGE_VERSION}
script:
# - &load-backend-image zcat docker/backend/image.tar.gz | podman image load
# - make -- --docker-run-backend-build FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
- make -- run-backend-build FRADRIVE_SERVICE=backend
- make -- backend-build
artifacts:
paths:
- /fradrive/.stack/
@ -54,11 +51,8 @@ lint:
needs:
- job: container
optional: true
# image: *backend-image
script:
# - *load-backend-image
# - make -- --docker-run-backend-lint FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
- make -- backend-lint FRADRIVE_SERVICE=backend
- make -- backend-lint
cache: *backend-cache
test:
@ -67,9 +61,6 @@ test:
- job: container
optional: true
- compile
# image: *backend-image
script:
# - *load-backend-image
# - make -- --docker-run-backend-test FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
- make -- backend-test FRADRIVE_SERVICE=backend
- make -- backend-test
cache: *backend-cache

View File

@ -34,10 +34,7 @@ default:
compile:
stage: compile
# 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
- make -- frontend-build
artifacts:
paths:
@ -52,11 +49,7 @@ compile:
lint:
stage: lint
needs:
# image: *frontend-image
script:
# - *load-frontend-image
# - make -- --docker-run-frontend-lint FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
- make -- frontend-lint
cache: *frontend-cache
@ -64,9 +57,6 @@ test:
stage: test
needs:
- compile
# image: *frontend-image
script:
# - *load-frontend-image
# - make -- --docker-run-frontend-test FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
- make -- frontend-test
cache: *frontend-cache