Self hosted gitlab support

Hi,
I am trying out deployment using netlify cli option from self hosted gitlab repository to build. However I can link the site from the repository but unable to build the site from the my private repository hosted under the my own gitlab service in my premise. I followed this link, https://coffeencoding.com/auto-deploy-to-netlify-from-self-hosted-gitlab.

I am getting the following error in deploy log,

1:10:47 PM: Build ready to start

1:10:49 PM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f63

1:10:49 PM: build-image tag: v3.3.2

1:10:49 PM: buildbot version: 75cd99f62ada9e21edea53208e8baf0eab85a045

1:10:49 PM: Fetching cached dependencies

1:10:49 PM: Failed to fetch cache, continuing with build

1:10:49 PM: Starting to prepare the repo for build

1:10:49 PM: git ref refs/heads/master does not exist or you do not have permission

1:10:49 PM: Failing build: Failed to prepare repo

1:10:49 PM: failed during stage ‘preparing repo’: git ref refs/heads/master does not exist


Also under the Build settings, the repository value dont have the git url (only username/reponame)

Build settings

Repository: rinshad_ka/test.git

I am trying from repo in self hosted private gitlab service. please help

Thanks

That sounds like you weren’t able to set up the deploy key successfully, @rinshadka. You’ll want to check that you have set the deploy key correctly so that our buildbots have access to your repo.

You can read more about this in our netlify-cli docs.