-
Notifications
You must be signed in to change notification settings - Fork 23
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 test containers #945
Fix test containers #945
Conversation
Use Run test server using develop.opencast.org as backend:
Specify a different backend like stable.opencast.org:
It may take a few seconds for the interface to spin up. |
This pull request is deployed at test.admin-interface.opencast.org/945/2024-10-17_21-14-35/ . |
Tested the docker image with: The git dependency is found now, but it can't find the git repo, it seems.
|
This patch fixes the test containers, which were failing since `git` is now required for building/running the admin interface. If `git` is not installed, the tooling will now read the `commit` file if present (we create one during the container build on GitHub Actions). If the file also does not exists, the build continues with an empty commit string.
1351956
to
863afe3
Compare
Should be fixed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have used env variables with default values, but this also works. There is one outstanding typo and I would suggest having some default non-empty string.
Co-authored-by: Matthias Neugebauer <mtneug@mailbox.org>
Use Run test server using develop.opencast.org as backend:
Specify a different backend like stable.opencast.org:
It may take a few seconds for the interface to spin up. |
This pull request is deployed at test.admin-interface.opencast.org/945/2024-11-29_16-36-38/ . |
Though it works it's using the default:
|
This patch fixes the test containers, which were failing since
git
is now required for building/running the admin interface.