Skip to content

Commit

Permalink
Revert "better logging"
Browse files Browse the repository at this point in the history
This reverts commit be50972.
  • Loading branch information
xxchan committed Apr 19, 2024
1 parent be50972 commit 3dfd7f0
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions ci/scripts/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ shift $((OPTIND -1))

echo "export INTEGRATION_TEST_CASE=${case}" > env_vars.sh

echo "~~~ clean up docker"
echo "--- clean up docker"
if [ $(docker ps -aq |wc -l) -gt 0 ]; then
docker rm -f $(docker ps -aq)
fi
docker network prune -f
docker volume prune -f

echo "~~~ ghcr login"
echo "--- ghcr login"
echo "$GHCR_TOKEN" | docker login ghcr.io -u "$GHCR_USERNAME" --password-stdin

echo "+++ set RW_IMAGE"
echo "--- case: ${case}, format: ${format}"

if [[ -n "${RW_IMAGE_TAG+x}" ]]; then
export RW_IMAGE="ghcr.io/risingwavelabs/risingwave:${RW_IMAGE_TAG}"
Expand All @@ -47,22 +47,16 @@ if [ "${BUILDKITE_SOURCE}" == "schedule" ]; then
echo Docker image: "$RW_IMAGE"
fi

if [ -z "${RW_IMAGE+x}" ]; then
echo "RW_IMAGE is not set. The image defined in docker-compose.yml will be used."
fi

echo "--- case: ${case}, format: ${format}"

if [ "${case}" == "client-library" ]; then
cd integration_tests/client-library
python3 client_test.py
exit 0
fi

echo "~~~ install postgresql"
echo "--- install postgresql"
sudo yum install -y postgresql15

echo "~~~ install poetry"
echo "--- install poetry"
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.8.0 python3 -


Expand Down

0 comments on commit 3dfd7f0

Please sign in to comment.