Browse Source

Add Vagrant CI for Ubuntu 20.04 (#6279)

pull/6290/head
Maxime Guyot 4 years ago
committed by GitHub
parent
commit
69a48cbdd7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 1 deletions
  1. 5
      .gitlab-ci/vagrant.yml
  2. 2
      docs/ci.md
  3. 9
      tests/files/vagrant_ubuntu20-flannel.rb
  4. 7
      tests/files/vagrant_ubuntu20-flannel.yml

5
.gitlab-ci/vagrant.yml

@ -47,3 +47,8 @@ vagrant_ubuntu18-weave-medium:
stage: deploy-part2
extends: .vagrant
when: manual
vagrant_ubuntu20-flannel:
stage: deploy-part2
extends: .vagrant
when: on_success

2
docs/ci.md

@ -17,7 +17,7 @@ opensuse | :x: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
oracle7 | :x: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
ubuntu16 | :x: | :white_check_mark: | :x: | :white_check_mark: | :white_check_mark: | :x: | :white_check_mark: | :x: | :white_check_mark: |
ubuntu18 | :white_check_mark: | :x: | :white_check_mark: | :x: | :white_check_mark: | :x: | :x: | :x: | :white_check_mark: |
ubuntu20 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
ubuntu20 | :white_check_mark: | :x: | :x: | :x: | :white_check_mark: | :x: | :x: | :x: | :x: |
## crio

9
tests/files/vagrant_ubuntu20-flannel.rb

@ -0,0 +1,9 @@
$os = "ubuntu2004"
# For CI we are not worries about data persistence across reboot
$libvirt_volume_cache = "unsafe"
# Checking for box update can trigger API rate limiting
# https://www.vagrantup.com/docs/vagrant-cloud/request-limits.html
$box_check_update = false
$vm_cpus = 2

7
tests/files/vagrant_ubuntu20-flannel.yml

@ -0,0 +1,7 @@
---
# Kubespray settings
kube_network_plugin: flannel
deploy_netchecker: true
dns_min_replicas: 1
Loading…
Cancel
Save