-
Notifications
You must be signed in to change notification settings - Fork 17
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
DrawIO fails to run on gitlab-ci docker container #49
Comments
This project should work on the CI (after all, our tests run on the CI). This should be autodetected to run Xvfb if an X display is not detected, and will use the Could you try forcing |
Hi, thanks for the info.
Any other ideas or suggestions? Thanks! |
Can you try setting @brechtm I'm not sure what advantage having these as two different config options provides? |
Thanks! That solved the issue. Maybe its worth updating the readme to also set this option. |
This is located in the README, but it's not very clear that both may be necessary if you don't read the descriptions of all of the options. brechtm introduced this extra option, so I'll wait and see if it's necessary for any reason as it might be possible to roll it together with |
Ah damnit! Seems it was just too late last night to properly read the documentation :-) |
To avoid any confusion: neither drawio ( I learned that I assume it is also necessary to pass |
could you share your gitlab-ci.yml ? Best Regards |
Hi,
|
Hi,
I have problems when running drawio within a gitlab-ci test setup. The following error occurs:
Running as root without --no-sandbox is not supported
The issue seems to be related to this issue one from the original drawio repository. A workaround seems to be to use '--no-sandbox --headless --disable-gpu'. These parameters are currently not used, right?
Or am I doing something wrong? This is the relevant snippet of my ci-file:
image: python:latest
build:
stage: build
script:
The text was updated successfully, but these errors were encountered: