-
-
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
Inara image cannot be used with Gitlab CI #34
Comments
Thanks for the report. I've updated the entryscript, so it will now reply with a more helpful message.
|
Curiously, I don't see how I would have set the option
So why do I get the |
I have the same problem. This is because the Docker image is not able to handle what is happening in GitLab CI. Before the user-provided docker run --rm openjournals/inara git -c which gives the same result. You can prevent this behaviour by setting the variable I would suggest reopening this issue and changing the title to reflect the actual problem: The container doesn't work with GitLab CI because you can not pass scripts to it; just arguments to the hard-coded program. I think it would be quite valuable to have it working as GitLab is quite a common tool these days and is used in many research institutions, including the Helmholtz Association (for which both @platipodium and I, and thousands of other scientists work). Thank you in advance! |
Thank you for these details @zyzzyxdonta. One way to get around this might be to use the We should definitely document this properly if you can get it working. For the benefit of future users running into similar issues. |
This is the first time I heard about the entrypoint option. 🙈 Thank you so much! Here is a working inara:
image:
name: "openjournals/inara"
entrypoint: ["/bin/sh", "-c"]
before_script:
- apk add git
script:
- /usr/local/bin/inara paper.md
artifacts:
paths:
- paper.* Let me know if you want me to try anything else for the documentation. |
Thanks for the hints above, I also got it to work with
|
Thank you! Pinging @IlonaSilverwood who's the resident documentation wizard. |
Inara Docker image in CI pipeline fails with
getopt: unrecognized option: c
The text was updated successfully, but these errors were encountered: