File tree 4 files changed +16
-12
lines changed
4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,12 @@ jobs:
29
29
strategy :
30
30
matrix :
31
31
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
37
38
topology :
38
39
- single
39
40
- cluster
Original file line number Diff line number Diff line change 5
5
# ./start_db_cluster.sh <dockerImage>
6
6
7
7
# 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
9
9
10
10
docker pull " $1 "
11
11
@@ -26,7 +26,7 @@ docker run -d -v "$LOCATION"/jwtSecret:/jwtSecret -e ARANGO_LICENSE_KEY="$ARANGO
26
26
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
27
27
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
28
28
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
30
30
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
31
31
32
32
debug_container () {
@@ -76,6 +76,9 @@ for a in 172.28.1.1:8531 \
76
76
wait_server $a
77
77
done
78
78
79
+ # wait for port mappings
80
+ wait_server localhost:8529
81
+
79
82
docker exec coordinator1 arangosh --server.authentication=false --javascript.execute-string=' require("org/arangodb/users").update("root", "test")'
80
83
81
84
# rm "$LOCATION"/jwtHeader "$LOCATION"/jwtSecret
Original file line number Diff line number Diff line change 5
5
# ./start_db_single.sh <dockerImage>
6
6
7
7
# 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
9
9
10
10
docker pull " $1 "
11
11
12
12
docker network create arangodb --subnet 172.28.0.0/16
13
13
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 "
15
15
16
16
echo " waiting for arangodb ..."
17
17
18
18
# 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
20
20
printf ' .'
21
21
sleep 1
22
22
done
Original file line number Diff line number Diff line change 5
5
# ./start_db_single_ssl.sh <dockerImage>
6
6
7
7
# 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
9
9
10
10
docker pull " $1 "
11
11
@@ -14,7 +14,7 @@ docker run -d -p 8529:8529 -e ARANGO_ROOT_PASSWORD=test -e ARANGO_LICENSE_KEY="$
14
14
echo " waiting for arangodb ..."
15
15
16
16
# 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
18
18
printf ' .'
19
19
sleep 1
20
20
done
You can’t perform that action at this time.
0 commit comments