Skip to content

Commit

Permalink
fix: use stable21 branch for cypress tests
Browse files Browse the repository at this point in the history
On CI we want to test this with the stable21 branch of the server.
Also make sure to use the specified node version.

For running local 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 <azul@riseup.net>
  • Loading branch information
azul committed Dec 21, 2021
1 parent 2578005 commit 17b3024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# containers: [1, 2, 3]
php-versions: [ '7.4' ]
databases: [ 'sqlite' ]
server-versions: [ 'master' ]
server-versions: [ 'stable21' ]

steps:
- name: Checkout server
Expand Down
1 change: 1 addition & 0 deletions cypress/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 stable21

ENTRYPOINT /usr/local/bin/initAndRun.sh

Expand Down

0 comments on commit 17b3024

Please sign in to comment.