Thank you for contacting Octopus support and sorry you are having issues with connecting an external GitLab feed.
We do have some documentation on setting up a GitHub feed if you have not seen it yet that may help? GitLab works differently and we do not have any specific documentation on setting this kind of feed up.
A few things I have noticed from your screenshot that may be worth mentioning.
In our documentation for the GitHub feed you are supposed to set the URL to an API endpoint as described below:
So I think you would need to set that URL to https://gitlab.example.com/api/v4/ (this is what it suggests in their documentation) rather than your direct feed URL which is what I imagine you have put in that URL field.
Are you also using a Personal Access Token for your credentials? If not we recommend you set one up and use that, there is some documentation on Gitlab here for how to do this.
Hopefully implementing those changes helps but please let us know if it doesn’t.
Anything else you need in the meantime please feel free to reach out.
Thank you for your patience with regards to waiting on a reply for this, we have done some testing and due to the API differences between GitHub and GitLab we can’t seem to get a GitLab external feed setup, no matter what endpoint we put into the External Feed URL Octopus throws an error as it’s expecting to interrogate a Github API, not GitLab.
We will do some more testing for you to see if we can get this to work, I will get back to you with our findings.
Anything else you need in the meantime please reach out!
Can I ask what type of package you want to use and what is your end goal for setting this up? Are you wanting to push a package from Gitlab to Octopus so Octopus can then create releases for it?
I look forward to hearing your response so we can try help you further.
Can I ask what type of package you want to use and what is your end goal for setting this up? Are you wanting to push a package from Gitlab to Octopus so Octopus can then create releases for it?-> Yes , we want to push our code to gitlab and then deploy / create releases through Octopus
So, you would need to set up your package as a specific feed following the guides on GitLab (if you click on one of the supported feeds it tells you how to set that feed up in GitLab).
You would then set that feed up as an external feed within the Octopus UI.
The two easiest feeds to use are linked below (we recommend Nuget) but it does depend on your requirements and if your package supports those feed settings.