You've already forked RekomenciBackend
+13
-10
@@ -245,18 +245,21 @@ test:
|
|||||||
--profile migrations
|
--profile migrations
|
||||||
--profile tests
|
--profile tests
|
||||||
PODMAN_IGNORE_CGROUPSV1_WARNING: True
|
PODMAN_IGNORE_CGROUPSV1_WARNING: True
|
||||||
script:
|
before_script:
|
||||||
- dnf -y install podman podman-compose
|
- dnf -y install podman podman-compose
|
||||||
- export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)"
|
- cp ./infrastructure/configs/podman/ci.conf ~/.config/containers/containers.conf
|
||||||
- cp "$TEST_STAGE_FIREBASE_CONF" ./infrastructure/configs/backend/firebase.json
|
- cp "$TEST_STAGE_FIREBASE_CONF" ./infrastructure/configs/backend/firebase.json
|
||||||
# - |
|
- podman info --format '{{.Host.EventLogger}}'
|
||||||
# (
|
script:
|
||||||
# while true; do
|
- export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)"
|
||||||
# podman-compose -f compose.yaml $PROFILES logs -f 2>&1
|
- |
|
||||||
# sleep 1
|
(
|
||||||
# done
|
while true; do
|
||||||
# ) | grep "Error: no container" -v | tee -a compose.log &
|
podman-compose -f compose.yaml $PROFILES logs -f 2>&1
|
||||||
# - LOGS_PID=$!
|
sleep 1
|
||||||
|
done
|
||||||
|
) | grep "Error: no container" -v | tee -a compose.log &
|
||||||
|
- LOGS_PID=$!
|
||||||
- |
|
- |
|
||||||
REGISTRY_PREFIX=$CI_REGISTRY_IMAGE IMAGE_TAG=$CI_COMMIT_SHA \
|
REGISTRY_PREFIX=$CI_REGISTRY_IMAGE IMAGE_TAG=$CI_COMMIT_SHA \
|
||||||
podman-compose -f compose.yaml -f compose.prod.yaml \
|
podman-compose -f compose.yaml -f compose.prod.yaml \
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[engine]
|
||||||
|
events_logger = "file"
|
||||||
Reference in New Issue
Block a user