]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update images in scripts to run local tests in Docker 31435/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 3 Mar 2022 18:53:26 +0000 (19:53 +0100)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 3 Mar 2022 18:53:26 +0000 (19:53 +0100)
PHP 7.3 support was dropped for Nextcloud 24. The Docker images are
updated to the same images used for integration and acceptance tests in
CI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
build/integration/run-docker.sh
tests/acceptance/run.sh

index 308749fd8108b259331e35c37fabfe33e02ebc6b..7dd270b0202ad00a28334e92dd63f842a68b1ac5 100755 (executable)
@@ -213,8 +213,9 @@ trap cleanUp EXIT
 cd "$(dirname $0)"
 
 # "--image XXX" option can be provided to set the Docker image to use to run
-# the integration tests (one of the "nextcloudci/phpX.Y:phpX.Y-Z" images).
-NEXTCLOUD_LOCAL_IMAGE="nextcloudci/php7.3:php7.3-5"
+# the integration tests (one of the "nextcloudci/phpX.Y:phpX.Y-Z" or
+# "ghcr.io/nextcloud/continuous-integration-integration-phpX.Y:latest" images).
+NEXTCLOUD_LOCAL_IMAGE="ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest"
 if [ "$1" = "--image" ]; then
        NEXTCLOUD_LOCAL_IMAGE=$2
 
index 07f3f3cce511b402d0f36bf9a779d22ecb7742d2..a4c0a594756bb6f4662fb54ea5b558f4841bcad2 100755 (executable)
@@ -144,7 +144,7 @@ function prepareDocker() {
                --network=container:$SELENIUM_CONTAINER \
                --volume composer_cache:/root/.composer \
                --interactive \
-               --tty nextcloudci/acceptance-php7.3:acceptance-php7.3-2 bash
+               --tty ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest bash
 
        # Use the $TMPDIR or, if not set, fall back to /tmp.
        NEXTCLOUD_LOCAL_TAR="$($MKTEMP --tmpdir="${TMPDIR:-/tmp}" --suffix=.tar nextcloud-local-XXXXXXXXXX)"