Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/solid-tests-suites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Solid Test Suites
env:
# Docker Hub digest (i.e. hash) of the used Docker Images that do not have a version tag.
PUBSUB_TAG: latest@sha256:b73a2a5c98d2005bb667dfc69d1c859d704366024298b9caa24ea2e182c456c2
COOKIE_TAG: latest@sha256:c71a3947f97d96ce09823743182582e0d919738be0d4ef5c8c55a9c22c615b91
COOKIE_TAG: latest@sha256:b2815496a1291a8f0f8bf2524c42d6000a4a1d6a202b319fe01e1afacf1cec7d

on:
push:
Expand Down
11 changes: 9 additions & 2 deletions run-solid-test-suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

: "${COOKIE_TAG:=latest@sha256:b2815496a1291a8f0f8bf2524c42d6000a4a1d6a202b319fe01e1afacf1cec7d}"

# Note that .github/workflows/solid-tests-suites.yml does not use this, this function is just for manual runs of this script.
# You can pick different values for the NEXTCLOUD_VERSION build arg, as required:
function setup {
Expand All @@ -10,7 +12,7 @@ function setup {

docker network create testnet

docker pull michielbdejong/nextcloud-cookie
docker pull "michielbdejong/nextcloud-cookie:${COOKIE_TAG}"
docker pull solidtestsuite/solid-crud-tests:v7.0.5
docker pull solidtestsuite/web-access-control-tests:v7.1.0
docker pull solidtestsuite/webid-provider-tests:v2.1.1
Expand Down Expand Up @@ -46,7 +48,12 @@ function startSolidNextcloud {
docker exec -u www-data -i -e SERVER_ROOT="https://$1" "$1" sh /init.sh
docker exec -u root -i "$1" service apache2 reload
echo Getting cookie for "$1"...
export COOKIE_$1="$(docker run --cap-add=SYS_ADMIN --network=testnet --env-file "./env-vars-$1.list" michielbdejong/nextcloud-cookie)"
export COOKIE_$1="$(docker run \
--cap-add=SYS_ADMIN \
--network=testnet \
--env-file "./env-vars-$1.list" \
"michielbdejong/nextcloud-cookie:${COOKIE_TAG}"
)"
}

function runTests {
Expand Down
Loading