Rancher v2.0.2 Pipeline not working with Gitlab
Opened this issue · 0 comments
verrol commented
Hi,
I have Rancher v2.0.2 running successfully, but I can't seem to get Pipeline working with my Gitlab server.
Steps to recreate:
- Click Project in Rancher UI
- Click Clusters->(cluster name)->(project name)
- Click on 'Pipelines' tab
- Click on 'here' in the message 'Pipeline is not enabled, click here to enable Pipline'
NOTE: Only 'Github' icon is shown as supported Git repo server - Copy 'Homepage URL'
- Log into to Gitlab and click on profile dropdown, then 'Settings'
- Click on 'Applications'
- Type an application name in 'Name' field for 'Add new Application' form
- Paste 'Homepage URL' for Rancher into 'Redirect URL' field of 'Add new Application' form
- Click 'Save application'
- Copy the new application ID and secret
- Switch back to Rancher 2.0.2 UI and enter these values as Client ID and Client Secret respectively
- Click 'Enable Pipeline'
NOTE: Rancher ties to open Gitlab website page