You've already forked RekomenciBackend
+13
-10
@@ -245,18 +245,21 @@ test:
|
||||
--profile migrations
|
||||
--profile tests
|
||||
PODMAN_IGNORE_CGROUPSV1_WARNING: True
|
||||
script:
|
||||
before_script:
|
||||
- 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
|
||||
# - |
|
||||
# (
|
||||
# while true; do
|
||||
# podman-compose -f compose.yaml $PROFILES logs -f 2>&1
|
||||
# sleep 1
|
||||
# done
|
||||
# ) | grep "Error: no container" -v | tee -a compose.log &
|
||||
# - LOGS_PID=$!
|
||||
- podman info --format '{{.Host.EventLogger}}'
|
||||
script:
|
||||
- export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)"
|
||||
- |
|
||||
(
|
||||
while true; do
|
||||
podman-compose -f compose.yaml $PROFILES logs -f 2>&1
|
||||
sleep 1
|
||||
done
|
||||
) | grep "Error: no container" -v | tee -a compose.log &
|
||||
- LOGS_PID=$!
|
||||
- |
|
||||
REGISTRY_PREFIX=$CI_REGISTRY_IMAGE IMAGE_TAG=$CI_COMMIT_SHA \
|
||||
podman-compose -f compose.yaml -f compose.prod.yaml \
|
||||
|
||||
Reference in New Issue
Block a user