Gitlab Continuous Integration error - Forbidden non-SCM element
Context:
I'm a graduate junior dev who's been tasked with figuring out a CI solution for our industrial packing robot. We are using Gitlab as our git host, unmanaged with no onsite server. This makes Gitlab Ci the preferable option but since noone on staff has an CI/CD experience, if there is a more standard or better way of doing ROS CI then please let us know.
What I've attempted so far:
The ROS wiki was the first placeI checked and it linked to this repo by Victor Lamoine, who is also a user on the ROS Discourse forum. I first tried to use that on the production codebase and ran into credentials issues with pulling the submodules, no biggie, I can sort that out with more time getting to know environment variables in gitlab I think.
Problem:
I then set up the most basic ROS project I could which simply writes a twist topic. I apply the CI script from his example to it but I run into this error:
ERROR in config: Forbidden non-SCM element: /home/daniel/ci_test/devel/setup.sh (setup-file)
This error is presenting me with quite an issue as it doesn't give much information about what is wrong and my attempts at googling it have fallen short. "Forbidden non-SCM element" in duck duck go returns the wiki page for God in Christianity as the second result. Hopefully I won't have to resort to prayer though.
I clearly don't know the correct search terms to figure out the meaning of the error, nor the experience to make significant edits to the Victor Lamoine repo if I fork if it turns out to be a third party issue with that setup.
I just need to know what I'm facing so I can start working the problem. Nobody is ever the first to have a problem on the internet. You just need to know what to search for.
Any help at all appreciated.
Thanks, Daniel