Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2021-10-06 22:04:47 +0300
committerGitHub <noreply@github.com>2021-10-06 22:04:47 +0300
commit9a569ff387f0f74af4b5423c1c1180a1d01fa7bd (patch)
treef1705f76ccc311ea0ef92c98d0f51c7ea7f38a4e /build
parent978b9a0614ac1b1647728178eecf39e14caa9228 (diff)
parentb13ce08ac8392b76ceaf736bb3f3d393e8f71b6c (diff)
Merge pull request #29064 from nextcloud/feature/add_cache_to_local_integration_tests_container
Add caching for local run of integration and acceptance tests
Diffstat (limited to 'build')
-rwxr-xr-xbuild/integration/run-docker.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/integration/run-docker.sh b/build/integration/run-docker.sh
index 7f8408d2126..308749fd810 100755
--- a/build/integration/run-docker.sh
+++ b/build/integration/run-docker.sh
@@ -140,7 +140,9 @@ function prepareDocker() {
echo "Starting the Nextcloud container"
# When using "nextcloudci/phpX.Y" images the container exits immediately if
# no command is given, so a Bash session is created to prevent that.
- docker run --detach --name=$NEXTCLOUD_LOCAL_CONTAINER $NEXTCLOUD_LOCAL_CONTAINER_NETWORK_OPTIONS --interactive --tty $NEXTCLOUD_LOCAL_IMAGE bash
+ docker run \
+ --volume composer_cache:/root/.composer \
+ --detach --name=$NEXTCLOUD_LOCAL_CONTAINER $NEXTCLOUD_LOCAL_CONTAINER_NETWORK_OPTIONS --interactive --tty $NEXTCLOUD_LOCAL_IMAGE bash
# Use the $TMPDIR or, if not set, fall back to /tmp.
NEXTCLOUD_LOCAL_TAR="$($MKTEMP --tmpdir="${TMPDIR:-/tmp}" --suffix=.tar nextcloud-local-XXXXXXXXXX)"