From 8352538892bff89b474ff82fe85e04d3c0f334c0 Mon Sep 17 00:00:00 2001 From: ITQ Date: Fri, 21 Nov 2025 20:14:14 +0300 Subject: [PATCH 1/6] aboba --- infrastructure/iac/ansible/base_setup.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/iac/ansible/base_setup.yaml b/infrastructure/iac/ansible/base_setup.yaml index 1ab33fc..d5e396b 100644 --- a/infrastructure/iac/ansible/base_setup.yaml +++ b/infrastructure/iac/ansible/base_setup.yaml @@ -77,7 +77,7 @@ test_command: uptime when: reboot_required_file.stat.exists register: reboot_result - async: 600 + async: 0 poll: 0 tags: system From 33309e6f8b7fb82f18a21d14291eb384442c0961 Mon Sep 17 00:00:00 2001 From: ITQ Date: Fri, 21 Nov 2025 20:50:03 +0300 Subject: [PATCH 2/6] ABOBA Signed-off-by: ITQ --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c354353..5fd76f6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -244,7 +244,7 @@ test: --profile migrations --profile tests script: - - apk add --no-cache podman podman-compose + - dnf -y install podman podman-compose - export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)" - cp "$TEST_STAGE_FIREBASE_CONF" ./infrastructure/configs/backend/firebase.json - | From 9e35a2249e1e484225de721e13eb36847600d3a0 Mon Sep 17 00:00:00 2001 From: ITQ Date: Fri, 21 Nov 2025 21:04:03 +0300 Subject: [PATCH 3/6] a --- infrastructure/iac/ansible/base_setup.yaml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/infrastructure/iac/ansible/base_setup.yaml b/infrastructure/iac/ansible/base_setup.yaml index d5e396b..da34fc8 100644 --- a/infrastructure/iac/ansible/base_setup.yaml +++ b/infrastructure/iac/ansible/base_setup.yaml @@ -77,15 +77,4 @@ test_command: uptime when: reboot_required_file.stat.exists register: reboot_result - async: 0 - poll: 0 - tags: system - - - name: Wait for reboot to complete - ansible.builtin.wait_for_connection: - connect_timeout: 20 - sleep: 5 - delay: 5 - timeout: 600 - when: reboot_required_file.stat.exists tags: system From 01d560dc15f76b7a84e62c69569ec34ac8442e7c Mon Sep 17 00:00:00 2001 From: ITQ Date: Fri, 21 Nov 2025 21:16:09 +0300 Subject: [PATCH 4/6] ABE --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5fd76f6..d06966d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -243,6 +243,7 @@ test: COMPOSE_PROFILES: | --profile migrations --profile tests + PODMAN_IGNORE_CGROUPSV1_WARNING: True script: - dnf -y install podman podman-compose - export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)" @@ -257,9 +258,9 @@ test: - LOGS_PID=$! - | REGISTRY_PREFIX=$CI_REGISTRY_IMAGE IMAGE_TAG=$CI_COMMIT_SHA \ - podman-compose -f compose.yaml -f compose.prod.yaml \ - $PROFILES up -d 2>&1 | tee compose.log - - | + podman-compose -f compose.prod.yaml -f compose.yaml \ + $PROFILES up -d --no-build --pull 2>&1 | tee compose.log + - |0 TEST_CONTAINER_ID=$( podman-compose ps --all --format json \ | jq -r '.[] | select(.Labels["io.podman.compose.service"] == "tests") | .Id' From 073c1f75c7265ddbdaf59b317e936349dba62bc2 Mon Sep 17 00:00:00 2001 From: ITQ Date: Fri, 21 Nov 2025 21:49:34 +0300 Subject: [PATCH 5/6] AAAAAAAAAAAAAAAAAAAA Signed-off-by: ITQ --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d06966d..721d917 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -190,6 +190,7 @@ ansible-initvm: variables: ANSIBLE_HOST_KEY_CHECKING: false before_script: + - apk add openssl - echo $ENV_PRIVATE_KEY_BASE64 | base64 -d > /id.pem - chmod 0600 /id.pem - mv "$INVENTORY_ALPHA_VM" ./infrastructure/iac/ansible/inventory/host_vars/alpha.yaml From b6048c50c29f92a2706b71e684c604e428b24e6c Mon Sep 17 00:00:00 2001 From: ITQ Date: Fri, 21 Nov 2025 22:07:36 +0300 Subject: [PATCH 6/6] FIX|AIFaoewufiohwrgushe Signed-off-by: ITQ --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 721d917..fbfa615 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -255,13 +255,13 @@ test: podman-compose -f compose.yaml $PROFILES logs -f 2>&1 sleep 1 done - ) | tee -a compose.log & + ) | 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.prod.yaml -f compose.yaml \ + podman-compose -f compose.yaml -f compose.prod.yaml \ $PROFILES up -d --no-build --pull 2>&1 | tee compose.log - - |0 + - | TEST_CONTAINER_ID=$( podman-compose ps --all --format json \ | jq -r '.[] | select(.Labels["io.podman.compose.service"] == "tests") | .Id'