Skip to content

Commit c7360c6

Browse files
committed
Trying to fix Arango CI autosetup
1 parent 6afa620 commit c7360c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/Scripts/install_arangodb.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ echo 'deb https://download.arangodb.com/arangodb310/DEBIAN/ /' | sudo tee /etc/a
1313
sudo apt-get install apt-transport-https
1414
sudo apt-get update || true
1515

16-
sudo sh -c 'echo arangodb3 arangodb3/password password $ARANGODB_ROOT_PASSWD | debconf-set-selections'
17-
sudo sh -c 'echo arangodb3 arangodb3/password_again password $ARANGODB_ROOT_PASSWD | debconf-set-selections'
16+
sudo sh -c "echo arangodb3 arangodb3/password password $ARANGODB_ROOT_PASSWD | debconf-set-selections"
17+
sudo sh -c "echo arangodb3 arangodb3/password_again password $ARANGODB_ROOT_PASSWD | debconf-set-selections"
1818

1919
sudo apt-get install arangodb3=3.10.2-1
2020

@@ -25,7 +25,7 @@ echo "#################################"
2525
printf "\n"
2626

2727
echo "1/3 - Creating 'phpfastcache' user:"
28-
curl -v -X POST -u root:$ARANGODB_ROOT_PASSWD --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user <<EOF
28+
curl -v -X POST -u "root:$ARANGODB_ROOT_PASSWD" --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user <<EOF
2929
{
3030
"user" : "phpfastcache",
3131
"passwd" : "travis"
@@ -34,7 +34,7 @@ EOF
3434
printf "\n\n"
3535

3636
echo "2/3 - Creating 'phpfastcache' database:"
37-
curl -v -X POST -u root:$ARANGODB_ROOT_PASSWD --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/database <<EOF
37+
curl -v -X POST -u "root:$ARANGODB_ROOT_PASSWD" --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/database <<EOF
3838
{
3939
"name" : "phpfastcache",
4040
"options" : {
@@ -46,7 +46,7 @@ EOF
4646
printf "\n\n"
4747

4848
echo "3/3 - Giving 'phpfastcache' user access to 'phpfastcache' database:"
49-
curl -v -X PUT -u root:$ARANGODB_ROOT_PASSWD --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user/phpfastcache/database/phpfastcache <<EOF
49+
curl -v -X PUT -u "root:$ARANGODB_ROOT_PASSWD" --header 'accept: application/json' --data-binary @- --dump - http://127.0.0.1:8529/_api/user/phpfastcache/database/phpfastcache <<EOF
5050
{
5151
"grant" : "rw"
5252
}

0 commit comments

Comments
 (0)