In this lab we will create an automated CI pipeline using Rancher's automated CI tooling. We will need a Github account (personal or enterprise) for this lab,but you can alternatively use Bitbucket or Gitlab.
-
Setup Authorization with Github In the Rancher UI, navigate to the project of your choice, and then select the "Pipelines" tab (under the main menu bar). Then proceed to select "setup github authorization" . You will be take to a Github page that will require you to sign in and authorize your Rancher install to make API calls.
-
For purposes of this lab, we're going to use an existing repo that has code in it already. Pipelines require the repo to exist in the github account you have connected, so we are going to fork the repo to our personal/corporate account. Go to rancher/rancher/pipeline-example-go and then click fork
-
Next back in the Rancher UI under Pipelines, select create "Configure Repositories", and then enable the pipeline-example-go repo we previous