rancher/pipeline

Rancher v2.0.2 Pipeline not working with Gitlab

Opened this issue · 0 comments

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:

  1. Click Project in Rancher UI
    • Click Clusters->(cluster name)->(project name)
  2. Click on 'Pipelines' tab
  3. 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
  4. Copy 'Homepage URL'
  5. Log into to Gitlab and click on profile dropdown, then 'Settings'
  6. Click on 'Applications'
  7. Type an application name in 'Name' field for 'Add new Application' form
  8. Paste 'Homepage URL' for Rancher into 'Redirect URL' field of 'Add new Application' form
  9. Click 'Save application'
  10. Copy the new application ID and secret
  11. Switch back to Rancher 2.0.2 UI and enter these values as Client ID and Client Secret respectively
  12. Click 'Enable Pipeline'
    NOTE: Rancher ties to open Gitlab website page