You've already forked RekomenciBackend
<type>(scope): <description>
[body] [footer(s)]
This commit is contained in:
+13
-2
@@ -223,6 +223,13 @@ build-migrations:
|
||||
CONTAINERFILE: Containerfile
|
||||
BUILDTARGET: migrations
|
||||
|
||||
build-ml:
|
||||
<<: *build-config
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/ml
|
||||
CONTAINERFILE: Containerfile
|
||||
BUILDTARGET: tests
|
||||
|
||||
lint:
|
||||
<<: *uv-job
|
||||
stage: test
|
||||
@@ -247,7 +254,7 @@ test:
|
||||
PODMAN_IGNORE_CGROUPSV1_WARNING: True
|
||||
script:
|
||||
- dnf -y install podman podman-compose
|
||||
- cp ./infrastructure/configs/podman/ci.conf /etc/containers/containers.conf
|
||||
# - cp ./infrastructure/configs/podman/ci.conf /etc/containers/containers.conf
|
||||
- cp "$TEST_STAGE_FIREBASE_CONF" ./infrastructure/configs/backend/firebase.json
|
||||
- podman info --format '{{.Host.EventLogger}}'
|
||||
- export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)"
|
||||
@@ -256,7 +263,6 @@ test:
|
||||
(
|
||||
while true; do
|
||||
podman-compose -f compose.yaml $PROFILES logs 2>&1
|
||||
echo aboba
|
||||
sleep 30
|
||||
done
|
||||
) | grep "Error: no container" -v | tee -a compose.log &
|
||||
@@ -357,6 +363,11 @@ tag-migrations:
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/backend-migrations
|
||||
|
||||
tag-ml:
|
||||
<<: *tag-config
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/ml
|
||||
|
||||
webhook-migrations-deploy:
|
||||
<<: *webhook-config
|
||||
stage: deploy
|
||||
|
||||
Reference in New Issue
Block a user