I am using a version of gitlab > 11.5 and am trying to use the "include" to call .yml files from other projects or local files.
I am using the following command:
include: '/test/test.yml'
When trying to this with local files that are in the same project (command above) I get an error message from linter that says the syntax is incorrect and the file does not exist (But the file is there).
If I use this command (which is in the gitlab documentation): I get a "500 server error" file not found.
include:
- local: '/test/test.yml'
Any help with this would be greatly appreciated.
What I am expecting, as the documentation says, is to be able to use the .yml code from the remote files.
Here is a link to the gitlab documentation: https://docs.gitlab.com/ee/ci/yaml/#include