Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use stable21 branch for cypress tests #2022

Merged
merged 1 commit into from
Dec 21, 2021
Merged

fix: use stable21 branch for cypress tests #2022

merged 1 commit into from
Dec 21, 2021

Conversation

azul
Copy link
Contributor

@azul azul commented Dec 21, 2021

  • Resolves: ci build failures on stable21 branch
  • Target version: stable21

Summary

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

So we were effectively using the latest master which led to test failures as it has a rewritten API for injecting app scripts.

@azul
Copy link
Contributor Author

azul commented Dec 21, 2021

see also #2021

@azul
Copy link
Contributor Author

azul commented Dec 21, 2021

Also include a commit from stable22 that makes sure we actually use the specified node version.

@azul
Copy link
Contributor Author

azul commented Dec 21, 2021

@juliushaertl I am not entirely sure if including the change to build the viewer in testing mode should be backported. I used the original commit because i felt it would increase consistency accross branches.

@azul
Copy link
Contributor Author

azul commented Dec 21, 2021

@juliushaertl I am not entirely sure if including the change to build the viewer in testing mode should be backported. I used the original commit because i felt it would increase consistency accross branches.

Okay... it's causing the build to fail... So i guess i will just make sure we use the propper node version and remain consistent with what we had with stable21.

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>
@azul azul merged commit 3f353ef into stable21 Dec 21, 2021
@delete-merged-branch delete-merged-branch bot deleted the fix/cypress-21 branch December 21, 2021 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants