diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eada374..92e9822 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