Skip to content

Commit 415645b

Browse files
committed
updated test docker versions
1 parent d8c2830 commit 415645b

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ jobs:
2929
strategy:
3030
matrix:
3131
docker-img:
32-
- docker.io/arangodb:3.3.23
33-
- docker.io/arangodb:3.4.8
34-
- docker.io/arangodb:3.5.1
35-
- docker.io/arangodb/enterprise:3.4.8
36-
- docker.io/arangodb/enterprise:3.5.1
32+
- docker.io/arangodb:3.4.9
33+
- docker.io/arangodb:3.5.4
34+
- docker.io/arangodb:3.6.1
35+
- docker.io/arangodb/enterprise:3.4.9
36+
- docker.io/arangodb/enterprise:3.5.4
37+
- docker.io/arangodb/enterprise:3.6.1
3738
topology:
3839
- single
3940
- cluster

docker/start_db_cluster.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# ./start_db_cluster.sh <dockerImage>
66

77
# EXAMPLE:
8-
# ./start_db_cluster.sh docker.io/arangodb/arangodb:3.5.3
8+
# ./start_db_cluster.sh docker.io/arangodb/arangodb:3.6.1
99

1010
docker pull "$1"
1111

@@ -26,7 +26,7 @@ docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO
2626
docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO_LICENSE_KEY" --network arangodb --ip 172.28.2.1 --name dbserver1 "$1" arangodb --cluster.start-dbserver true --cluster.start-coordinator false --starter.join agent1 --auth.jwt-secret /jwtSecret
2727
docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO_LICENSE_KEY" --network arangodb --ip 172.28.2.2 --name dbserver2 "$1" arangodb --cluster.start-dbserver true --cluster.start-coordinator false --starter.join agent1 --auth.jwt-secret /jwtSecret
2828

29-
docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO_LICENSE_KEY" --network arangodb --ip 172.28.3.1 --name coordinator1 "$1" arangodb --cluster.start-dbserver false --cluster.start-coordinator true --starter.join agent1 --auth.jwt-secret /jwtSecret
29+
docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO_LICENSE_KEY" --network arangodb --ip 172.28.3.1 --name coordinator1 -p 8529:8529 "$1" arangodb --cluster.start-dbserver false --cluster.start-coordinator true --starter.join agent1 --auth.jwt-secret /jwtSecret
3030
docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO_LICENSE_KEY" --network arangodb --ip 172.28.3.2 --name coordinator2 "$1" arangodb --cluster.start-dbserver false --cluster.start-coordinator true --starter.join agent1 --auth.jwt-secret /jwtSecret
3131

3232
debug_container() {
@@ -76,6 +76,9 @@ for a in 172.28.1.1:8531 \
7676
wait_server $a
7777
done
7878

79+
# wait for port mappings
80+
wait_server localhost:8529
81+
7982
docker exec coordinator1 arangosh --server.authentication=false --javascript.execute-string='require("org/arangodb/users").update("root", "test")'
8083

8184
#rm "$LOCATION"/jwtHeader "$LOCATION"/jwtSecret

docker/start_db_single.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
# ./start_db_single.sh <dockerImage>
66

77
# EXAMPLE:
8-
# ./start_db_single.sh docker.io/arangodb/arangodb:3.5.1
8+
# ./start_db_single.sh docker.io/arangodb/arangodb:3.6.1
99

1010
docker pull "$1"
1111

1212
docker network create arangodb --subnet 172.28.0.0/16
1313

14-
docker run -d -e ARANGO_ROOT_PASSWORD=test -e ARANGO_LICENSE_KEY="$ARANGO_LICENSE_KEY" --network arangodb --ip 172.28.3.1 "$1"
14+
docker run -d -p 8529:8529 -e ARANGO_ROOT_PASSWORD=test -e ARANGO_LICENSE_KEY="$ARANGO_LICENSE_KEY" --network arangodb --ip 172.28.3.1 "$1"
1515

1616
echo "waiting for arangodb ..."
1717

1818
# shellcheck disable=SC2091
19-
until $(curl --output /dev/null --silent --head --fail -i -u root:test 'http://172.28.3.1:8529/_api/version'); do
19+
until $(curl --output /dev/null --silent --head --fail -i -u root:test 'http://localhost:8529/_api/version'); do
2020
printf '.'
2121
sleep 1
2222
done

docker/start_db_single_ssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# ./start_db_single_ssl.sh <dockerImage>
66

77
# EXAMPLE:
8-
# ./start_db_single_ssl.sh docker.io/arangodb/arangodb:3.5.1
8+
# ./start_db_single_ssl.sh docker.io/arangodb/arangodb:3.6.1
99

1010
docker pull "$1"
1111

@@ -14,7 +14,7 @@ docker run -d -p 8529:8529 -e ARANGO_ROOT_PASSWORD=test -e ARANGO_LICENSE_KEY="$
1414
echo "waiting for arangodb ..."
1515

1616
# shellcheck disable=SC2091
17-
until $(curl --output /dev/null --silent --head --fail -i --insecure -u root:test 'https://127.0.0.1:8529/_api/version'); do
17+
until $(curl --output /dev/null --silent --head --fail -i --insecure -u root:test 'https://localhost:8529/_api/version'); do
1818
printf '.'
1919
sleep 1
2020
done

0 commit comments

Comments
 (0)