The current idea of including the CI/CD yaml code from this project in other projects doesn't work because of permissions.
Our current idea is that other Shiny projects can use the include:remote
keyword in their own gitlab-ci.yml
files. Testing this in the ShaDoc project, however, has shown us that this doesn't work, see CI pipeline 2338 there, where CI complains that the included file does not contain valid YAML code.
It turns out I forgot one thing from the manual:
The remote file must be publicly accessible by an HTTP/HTTPS GET request, because authentication in the remote URL is not supported
And since this project is not public, the .gitlab-ci.yml
file cannot be loaded in this way. So we will either need to think of another way, or make this project public.
Edited by Lennart Karssen