Skip to content

Commit

Permalink
fixed the ubuntu image latest upgrade docker compose v2 (#5531)
Browse files Browse the repository at this point in the history
* fixed the ubuntu image latest upgrade docker compose v2
  • Loading branch information
Aias00 authored Apr 3, 2024
1 parent ce1fb4c commit 1875f71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integrated-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
run: ./mvnw -B clean install -Pit -DskipTests -f ./shenyu-integrated-test/pom.xml
- name: Start docker compose
if: steps.filter.outputs.changed == 'true'
run: docker-compose -f ./shenyu-integrated-test/${{ matrix.case }}/docker-compose.yml up -d
run: docker compose -f ./shenyu-integrated-test/${{ matrix.case }}/docker-compose.yml up -d
- name: Wait for docker compose start up completely
if: steps.filter.outputs.changed == 'true'
run: bash ./shenyu-integrated-test/${{ matrix.case }}/script/healthcheck.sh
Expand All @@ -97,11 +97,11 @@ jobs:
- name: Check test result
if: steps.filter.outputs.changed == 'true'
run: |
docker-compose -f ./shenyu-integrated-test/${{ matrix.case }}/docker-compose.yml logs --tail="all"
docker compose -f ./shenyu-integrated-test/${{ matrix.case }}/docker-compose.yml logs --tail="all"
if [[ ${{steps.test.outcome}} == "failure" ]]; then
echo "Test Failed"
exit 1
else
echo "Test Successful"
exit 0
fi
fi

0 comments on commit 1875f71

Please sign in to comment.