You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.1 KiB

  1. # CI Setup
  2. ## Pipeline
  3. 1. unit-tests: fast jobs for fast feedback (linting, etc...)
  4. 2. deploy-part1: small number of jobs to test if the PR works with default settings
  5. 3. deploy-part2: slow jobs testing different platforms, OS, settings, CNI, etc...
  6. 4. deploy-part3: very slow jobs (upgrades, etc...)
  7. ## Runners
  8. Kubespray has 3 types of GitLab runners:
  9. - packet runners: used for E2E jobs (usually long)
  10. - light runners: used for short lived jobs
  11. - auto scaling runners: used for on-demand resources, see [GitLab docs](https://docs.gitlab.com/runner/configuration/autoscale.html) for more info
  12. ## Vagrant
  13. 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.
  14. ## CI Variables
  15. In CI we have a set of overrides we use to ensure greater success of our CI jobs and avoid throttling by various APIs we depend on. See:
  16. - [Docker mirrors](/tests/common/_docker_hub_registry_mirror.yml)
  17. - [Test settings](/tests/common/_kubespray_test_settings.yml)