Skip to content

Commit

Permalink
fix int tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Shobhajayanna committed Aug 14, 2024
1 parent bf4eedf commit 7cf98ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
- name: Output APIML logs
if: always()
run: docker-compose -f .apiml/docker-compose.yml logs
run: docker compose -f .apiml/docker-compose.yml logs

- name: Store test results
uses: actions/upload-artifact@v2
Expand Down
6 changes: 3 additions & 3 deletions scripts/run-containerized-apiml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ fi
if [ -z "${HOST_OS}" ]; then
HOST_OS="not-linux"
fi
if [ -z $(command -v docker-compose) ]; then
echo "[${SCRIPT_NAME}][error] docker-compose is required."
if [ -z $(command -v docker compose) ]; then
echo "[${SCRIPT_NAME}][error] docker compose is required."
exit 1
fi

Expand Down Expand Up @@ -180,7 +180,7 @@ sed -e "s|{WORKSPACE}|${WORKSPACE}|g" \
-e "s|{DISCOVERY_PORT}|${DISCOVERY_PORT}|g" \
-e "s|{GATEWAY_PORT}|${GATEWAY_PORT}|g" \
"scripts/containerized-apiml/$dockerComposeTemplate" > "${WORKSPACE}/docker-compose.yml"
docker-compose -f "${WORKSPACE}/docker-compose.yml" up -d
docker compose -f "${WORKSPACE}/docker-compose.yml" up -d
###################################################################
echo "[${SCRIPT_NAME}] done."
exit 0

0 comments on commit 7cf98ad

Please sign in to comment.