Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Dec 14, 2023
1 parent 7bb4d6c commit df788ae
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ jobs:
name: Set Up ArangoDB
command: ./starter.sh << parameters.arangodb_config >> << parameters.arangodb_license >> << parameters.arangodb_version >>

- run: docker ps -a

- run: sleep 10

- run: docker logs adb

# - restore_cache:
# key: pip-and-local-cache

Expand All @@ -105,10 +111,6 @@ jobs:
# name: "Install Dependencies"
# command: pip install -e .[dev]

- run: docker ps -a

- run: docker logs arango

# - run:
# name: "Run pytest"
# command: |
Expand Down
24 changes: 11 additions & 13 deletions starter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ else
conf_file="${setup}"
fi

docker run -d --rm \
--name arango \
-p 8528:8528 \
-p 8529:8529 \
"arangodb/$image_name:$version"
docker run -d --rm --name adb -p 8529:8529 arangodb/arangodb:latest

docker ps -a

# docker run -d --rm \
# --name arango \
Expand All @@ -55,11 +53,11 @@ docker run -d --rm \
# "arangodb/$image_name:$version"
# /bin/sh -c "arangodb --configuration=/tests/static/$conf_file.conf"

wget --quiet --waitretry=1 --tries=120 -O - http://localhost:8528/version | jq
if [ $? -eq 0 ]; then
echo "OK starter ready"
exit 0
else
echo "ERROR starter not ready, giving up"
exit 1
fi
# wget --quiet --waitretry=1 --tries=120 -O - http://localhost:8528/version | jq
# if [ $? -eq 0 ]; then
# echo "OK starter ready"
# exit 0
# else
# echo "ERROR starter not ready, giving up"
# exit 1
# fi

0 comments on commit df788ae

Please sign in to comment.