chore(gitlab-ci): fix podman config
This commit is contained in:
parent
46c56652a3
commit
2ec37a29da
@ -48,7 +48,7 @@ frontend image:
|
||||
stage: build images
|
||||
script:
|
||||
# TODO: define make target for this?
|
||||
- make -- --docker-build-frontend-build FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose\ --privileged
|
||||
- make -- --docker-build-frontend-build FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
- podman image save frontend | gzip > docker/frontend/image.tar.gz
|
||||
artifacts:
|
||||
paths:
|
||||
@ -61,7 +61,7 @@ frontend build:
|
||||
artifacts: 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\ --privileged
|
||||
- make -- --docker-run-frontend-build FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
artifacts:
|
||||
paths:
|
||||
- /fradrive/node_modules
|
||||
@ -80,7 +80,7 @@ frontend lint:
|
||||
artifacts: true
|
||||
script:
|
||||
- *load-frontend-image
|
||||
- make -- --docker-run-frontend-lint FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose\ --privileged
|
||||
- make -- --docker-run-frontend-lint FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
cache: *frontend-cache
|
||||
|
||||
frontend test:
|
||||
@ -92,7 +92,7 @@ frontend test:
|
||||
artifacts: true
|
||||
script:
|
||||
- *load-frontend-image
|
||||
- make -- --docker-run-frontend-test FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose\ --privileged
|
||||
- make -- --docker-run-frontend-test FRADRIVE_SERVICE=frontend CONTAINER_RUNNER=podman-compose
|
||||
|
||||
cache: *frontend-cache
|
||||
|
||||
@ -114,7 +114,7 @@ backend image:
|
||||
stage: build images
|
||||
script:
|
||||
# TODO: define make target for this?
|
||||
- make -- --docker-build-backend-build FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose\ --privileged
|
||||
- make -- --docker-build-backend-build FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
|
||||
- podman image save backend | gzip > docker/backend/image.tar.gz
|
||||
artifacts:
|
||||
paths:
|
||||
@ -129,7 +129,7 @@ backend build:
|
||||
artifacts: true
|
||||
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\ --privileged
|
||||
- make -- --docker-run-backend-build FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
|
||||
artifacts:
|
||||
paths:
|
||||
- /fradrive/.stack/
|
||||
@ -143,7 +143,7 @@ backend lint:
|
||||
artifacts: true
|
||||
script:
|
||||
- *load-backend-image
|
||||
- make -- --docker-run-backend-lint FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose\ --privileged
|
||||
- make -- --docker-run-backend-lint FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
|
||||
cache: *backend-cache
|
||||
|
||||
backend test:
|
||||
@ -155,7 +155,7 @@ backend test:
|
||||
artifacts: true
|
||||
script:
|
||||
- *load-backend-image
|
||||
- make -- --docker-run-backend-test FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose\ --privileged
|
||||
- make -- --docker-run-backend-test FRADRIVE_SERVICE=backend CONTAINER_RUNNER=podman-compose
|
||||
cache: *backend-cache
|
||||
|
||||
push backend image:
|
||||
|
||||
Reference in New Issue
Block a user