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

Run some tests to understand the permission error in the CI #179

Draft
wants to merge 2 commits into
base: unit-tests-javascript
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions clockwork_frontend_test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ FROM clockwork_web
# Create folder required by Playwright to install browsers
# and set permissions so that Playwright can install browsers in this folder
RUN mkdir /.cache
RUN chmod -R 777 /.cache

RUN apt update && apt install -y build-essential

Expand All @@ -21,4 +20,4 @@ ENV WE_ARE_IN_DOCKER=1
ENV CLOCKWORK_ENABLE_TESTING_LOGIN="True"

CMD ["bash", "clockwork_frontend_test/launch_frontend_tests_in_clockwork_dev.sh"]

CMD ["whoami"]
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ docker-compose run clockwork_web_test
docker-compose run clockwork_tools_test
docker-compose run slurm_state_test
docker-compose run scripts_test
docker-compose run clockwork_frontend_test
docker-compose run --user 1001:1001 clockwork_frontend_test