File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 22
33set -e
44
5+ : " ${COOKIE_TAG:= latest@ sha256: b2815496a1291a8f0f8bf2524c42d6000a4a1d6a202b319fe01e1afacf1cec7d} "
6+
57# Note that .github/workflows/solid-tests-suites.yml does not use this, this function is just for manual runs of this script.
68# You can pick different values for the NEXTCLOUD_VERSION build arg, as required:
79function setup {
@@ -10,7 +12,7 @@ function setup {
1012
1113 docker network create testnet
1214
13- docker pull michielbdejong/nextcloud-cookie
15+ docker pull " michielbdejong/nextcloud-cookie: ${COOKIE_TAG} "
1416 docker pull solidtestsuite/solid-crud-tests:v7.0.5
1517 docker pull solidtestsuite/web-access-control-tests:v7.1.0
1618 docker pull solidtestsuite/webid-provider-tests:v2.1.1
@@ -46,7 +48,12 @@ function startSolidNextcloud {
4648 docker exec -u www-data -i -e SERVER_ROOT=" https://$1 " " $1 " sh /init.sh
4749 docker exec -u root -i " $1 " service apache2 reload
4850 echo Getting cookie for " $1 " ...
49- export COOKIE_$1 =" $( docker run --cap-add=SYS_ADMIN --network=testnet --env-file " ./env-vars-$1 .list" michielbdejong/nextcloud-cookie) "
51+ export COOKIE_$1 =" $( docker run \
52+ --cap-add=SYS_ADMIN \
53+ --network=testnet \
54+ --env-file " ./env-vars-$1 .list" \
55+ " michielbdejong/nextcloud-cookie:${COOKIE_TAG} "
56+ ) "
5057}
5158
5259function runTests {
You can’t perform that action at this time.
0 commit comments