-
Notifications
You must be signed in to change notification settings - Fork 210
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
Running Virtuoso as a service in GitLab CI #1247
Comments
Any chance for a feature that would allow to set permissions via env variables passed to the container, in a similar way as The unofficial image https://hub.docker.com/r/tenforce/virtuoso is doing that but only for |
The Virtuoso docker containers do not have support for the The command: ["/opt/virtuoso-opensource/bin/isql", "1111", "dba", "xxx", "EXEC=SELECT 'Hello World'"] If you want to run custom commands on startup with the |
Yes, I understand this. I was thinking that this could be a future improvement: To allow setting various permissions via container environment vars. It would help with cases such as GitLab CI, where it's not possible to share a volume between host and container.
The point is that, in my case, I need a triplestore in tests. I have to test whether some triples are correctly inserted/updated/deleted (including graph store operations) in a triplestore. I've tried with Virtuoso official image, then with Fuseki (not familiar at all with F), and, finally, I went with tenforce virtuoso docker image, just to not spend much time as that allows setting the
It's hard to understand how to escape quotes in the above, as double quotes are also present in the commands being executed.
I know that this would work but it's quite a complicated for the simple tasks that I have to do. |
I have a case where I need to run VOS as a service in a GitLab CI (here's the gitlab-ci.yml file). In order to run the tests against the Virtuoso service, I need to set some permissions with
isql
:No idea how to run these commands because, with GitLab CI, I cannot map an .sql file inside the container, so that it would run as part of
initdb.d
.Does anyone have a suggestion or clue?
The text was updated successfully, but these errors were encountered: