Skip to content

Commit

Permalink
fix docker commands
Browse files Browse the repository at this point in the history
  • Loading branch information
reshmabidikar committed Sep 6, 2024
1 parent 8268fdb commit 31684cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,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 @@ -120,7 +120,7 @@ jobs:
run: |
# Start all remaining containers
cd docker
docker-compose -p it -f ${{ matrix.docker-compose-file }} up -d
docker compose -p it -f ${{ matrix.docker-compose-file }} up -d
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 @@ -210,16 +210,16 @@ jobs:
docker ps -a
echo "::endgroup::"
echo "::group::killbill env"
docker exec it_killbill_1 env || true
docker exec it-killbill-1 env || true
echo "::endgroup::"
echo "::group::db env"
docker exec it_db_1 env || true
docker exec it-db-1 env || true
echo "::endgroup::"
echo "::group::killbill logs"
(docker logs -t --details it_killbill_1 || true) | tee /var/tmp/killbill.txt
echo "::endgroup::"
echo "::group::db logs"
docker logs -t --details it_db_1 || true
docker logs -t --details it-db-1 || true
echo "::endgroup::"
- name: Upload logs
uses: actions/[email protected]
Expand Down

0 comments on commit 31684cc

Please sign in to comment.