forked from kubernetes-sigs/kubespray
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs about CI setup (kubernetes-sigs#6397)
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# CI Setup | ||
|
||
## Pipeline | ||
|
||
1. unit-tests: fast jobs for fast feedback (linting, etc...) | ||
2. deploy-part1: small number of jobs to test if the PR works with default settings | ||
3. deploy-part2: slow jobs testing different platforms, OS, settings, CNI, etc... | ||
4. deploy-part3: very slow jobs (upgrades, etc...) | ||
|
||
## Runners | ||
|
||
Kubespray has 3 types of GitLab runners: | ||
|
||
- packet runners: used for E2E jobs (usually long) | ||
- light runners: used for short lived jobs | ||
- auto scaling runners: used for on-demand resources, see [GitLab docs](https://docs.gitlab.com/runner/configuration/autoscale.html) for more info | ||
|
||
## Vagrant | ||
|
||
Vagrant jobs are using the [quay.io/kubespray/vagrant](/test-infra/vagrant-docker/Dockerfile) docker image with `/var/run/libvirt/libvirt-sock` exposed from the host, allowing the container to boot VMs on the host. |