File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
1010docker pull " $1 "
1111
@@ -26,7 +26,7 @@ docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO
2626docker 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
2727docker 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
3030docker 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
3232debug_container () {
@@ -76,6 +76,9 @@ for a in 172.28.1.1:8531 \
7676 wait_server $a
7777done
7878
79+ # wait for port mappings
80+ wait_server localhost:8529
81+
7982docker exec coordinator1 arangosh --server.authentication=false --javascript.execute-string=' require("org/arangodb/users").update("root", "test")'
8083
8184# rm "$LOCATION"/jwtHeader "$LOCATION"/jwtSecret
Original file line number Diff line number Diff line change 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
1010docker pull " $1 "
1111
1212docker 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
1616echo " 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
2222done
Original file line number Diff line number Diff line change 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
1010docker pull " $1 "
1111
@@ -14,7 +14,7 @@ docker run -d -p 8529:8529 -e ARANGO_ROOT_PASSWORD=test -e ARANGO_LICENSE_KEY="$
1414echo " 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
2020done
You can’t perform that action at this time.
0 commit comments