]> source.dussan.org Git - nextcloud-server.git/commitdiff
Improve startup speed of acceptance tests 14737/head
authorJoas Schilling <coding@schilljs.com>
Mon, 18 Mar 2019 14:21:42 +0000 (15:21 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 18 Mar 2019 14:21:42 +0000 (15:21 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
tests/acceptance/run.sh

index 366e7a67bf5212837ab4cbaf034d10a3df16fc37..3e7e0a570ff11ad02cfc927007506fb5decd3dbf 100755 (executable)
@@ -147,7 +147,18 @@ function prepareDocker() {
        # "docker cp" does not take them into account (the extracted files are set
        # to root).
        echo "Copying local Git working directory of Nextcloud to the container"
-       tar --create --file="$NEXTCLOUD_LOCAL_TAR" --exclude=".git" --exclude="./build" --exclude="./config/config.php" --exclude="./data" --exclude="./data-autotest" --exclude="./tests" --exclude="./apps-extra" --exclude="apps-writable" --directory=../../ .
+       tar --create --file="$NEXTCLOUD_LOCAL_TAR" \
+               --exclude=".git" \
+               --exclude="./build" \
+               --exclude="./config/config.php" \
+               --exclude="./data" \
+               --exclude="./data-autotest" \
+               --exclude="./tests" \
+               --exclude="./apps-extra" \
+               --exclude="./apps-writable" \
+               --exclude="node_modules" \
+               --directory=../../ \
+               .
        tar --append --file="$NEXTCLOUD_LOCAL_TAR" --directory=../../ tests/acceptance/
 
        docker exec $NEXTCLOUD_LOCAL_CONTAINER mkdir /nextcloud