From 47a96debb8f19f63299eb52b86a8a448d4bcbd36 Mon Sep 17 00:00:00 2001 From: reshmabidikar Date: Mon, 21 Oct 2024 14:05:09 +0530 Subject: [PATCH] Fix ci --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1183064..197edc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,8 +54,8 @@ jobs: - name: Start stack run: | cd docker - docker-compose -p it -f ${{ matrix.docker-compose-file }} up --no-start - docker start it_db_1 + docker compose -p it -f ${{ matrix.docker-compose-file }} up --no-start + docker start it-db-1 - name: Wait for MySQL if: ${{ matrix.docker-compose-file == 'docker-compose.ci.mysql.yml' }} run: | @@ -88,7 +88,7 @@ jobs: # Sometimes it gets stuck (if Kill Bill starts when the DB isn't ready?) timeout-minutes: 4 run: | - docker start it_killbill_1 + docker start it-killbill-1 count=0 until $(curl --connect-timeout 10 --max-time 30 --output /dev/null --silent --fail http://${KB_ADDRESS}:${KB_PORT}/1.0/healthcheck); do if [[ "$count" == "180" ]]; then @@ -190,10 +190,10 @@ jobs: echo "[DEBUG] docker ps -a" docker ps -a echo "[DEBUG] killbill env" - docker exec it_killbill_1 env || true + docker exec it-killbill-1 env || true echo "[DEBUG] db env" - docker exec it_db_1 env || true + docker exec it-db-1 env || true echo "[DEBUG] killbill logs" - docker logs -t --details it_killbill_1 || true + docker logs -t --details it-killbill-1 || true echo "[DEBUG] db logs" - docker logs -t --details it_db_1 || true + docker logs -t --details it-db-1 || true