From 48cba46343dd2238323e4bd3c5f207b0838fdc98 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 21 Dec 2021 09:17:24 +0100 Subject: [PATCH] fix: use stable22 branch for cypress tests The server image will use the BRANCH environment variable to determine which branch of the server to checkout: https://github.com/nextcloud/docker-ci/blob/master/server/initnc.sh#L3-L12 Signed-off-by: Azul --- .github/workflows/cypress.yml | 2 +- cypress/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 071cf1a5516..da4af850261 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -18,7 +18,7 @@ jobs: # containers: [1, 2, 3] php-versions: [ '7.4' ] databases: [ 'sqlite' ] - server-versions: [ 'master' ] + server-versions: [ 'stable22' ] steps: - name: Use Node.js ${{ matrix.node-version }} diff --git a/cypress/Dockerfile b/cypress/Dockerfile index 4f2fc4495c7..b90f1f9154f 100644 --- a/cypress/Dockerfile +++ b/cypress/Dockerfile @@ -2,6 +2,7 @@ FROM nextcloudci/server:server-17 RUN mkdir /var/www/html/data RUN chown -R www-data:www-data /var/www/html/data +ENV BRANCH stable22 ENTRYPOINT /usr/local/bin/initAndRun.sh