forked from pdsinterop/test-suites
-
Notifications
You must be signed in to change notification settings - Fork 8
/
gitpod-init.sh
executable file
·24 lines (17 loc) · 999 Bytes
/
gitpod-init.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
set -e
REPO_ROOT=`pwd`
git clone --branch=nextcloud https://github.com/sciencemesh/nc-sciencemesh
git clone --branch=owncloud https://github.com/sciencemesh/nc-sciencemesh oc-sciencemesh
git clone --branch=master https://github.com/cs3org/reva
git clone --branch=main https://github.com/michielbdejong/ocm-stub
/bin/bash ./gencerts.sh
/bin/bash ./rebuild.sh
docker run -v $REPO_ROOT/ocm-stub:/ocm-stub stub npm install
docker run -v $REPO_ROOT/reva:/reva \
-e"PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
--workdir /reva revad bash -c "git config --global --add safe.directory /reva && make reva && make revad"
docker run -v $REPO_ROOT/nc-sciencemesh:/var/www/html/apps/sciencemesh --workdir /var/www/html/apps/sciencemesh nc1 make composer
docker run -v $REPO_ROOT/oc-sciencemesh:/var/www/html/apps/sciencemesh --workdir /var/www/html/apps/sciencemesh oc1 make composer
docker pull jlesage/firefox:v1.17.1
docker pull mariadb:latest