Skip to content

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 <[email protected]>
@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.

3 participants