Skip to content

Commit

Permalink
Merge pull request #413 from tungleduyxyz/fix_ci_error
Browse files Browse the repository at this point in the history
Change CI file to fix the error Unable to start stack
  • Loading branch information
pierre committed Sep 18, 2024
2 parents 074971a + 00cf699 commit 9be6380
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,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: |
Expand Down Expand Up @@ -87,7 +87,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
Expand Down Expand Up @@ -128,10 +128,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

0 comments on commit 9be6380

Please sign in to comment.