Continental Innovates with Rancher and Kubernetes
Rancher ships with several example repositories that you can use to familiarize yourself with pipelines. We recommend configuring and testing the example repository that most resembles your environment before using pipelines with your own repositories in a production environment. Use this example repository as a sandbox for repo configuration, build demonstration, etc. Rancher includes example repositories for:
Note: The example repositories are only available if you have not configured a version control provider.
To start using these example repositories,
By default, the example pipeline repositories are disabled. Enable one (or more) to test out the pipeline feature and see how it works.
From the Global view, navigate to the project that you want to test out pipelines.
Click Resources > Pipelines. In versions before v2.3.0, click Workloads > Pipelines.
Click Configure Repositories.
Step Result: A list of example repositories displays.
Note: Example repositories only display if you haven’t fetched your own repos.
Click Enable for one of the example repos (e.g., https://github.com/rancher/pipeline-example-go.git). Then click Done.
https://github.com/rancher/pipeline-example-go.git
Results:
The example repository is enabled to work with a pipeline is available in the Pipeline tab.
The following workloads are deployed to a new namespace:
docker-registry
jenkins
minio
After enabling an example repository, review the pipeline to see how it is set up.
Find the example repository, select the vertical ⋮. There are two ways to view the pipeline:
./rancher-pipeline.yml
After enabling an example repository, run the pipeline to see how it works.
Find the example repository, select the vertical ⋮ > Run.
Note: When you run a pipeline the first time, it takes a few minutes to pull relevant images and provision necessary pipeline components.
Result: The pipeline runs. You can see the results in the logs.
For detailed information about setting up your own pipeline for your repository, configure a version control provider, enable a repository and finally configure your pipeline.