Jenkins¶
Jobs¶
We provide here an overview of the jobs that can be runned by our continuous integration server.
Grid5000¶
Workflow:
Deploys OpenStack in a standalone mode using the Grid’5000 provider.
Check if a server can be booted and if Rally can be launched.
enable_monitoring: true
inventory: inventories/inventory.sample
kolla:
enable_heat: false
kolla_base_distro: centos
kolla_install_type: source
provider:
job_name: enos-jenkins
type: g5k
walltime: 02:00:00
registry:
type: internal
resources:
parasilo:
control: 1
paravance:
compute: 1
network: 1
Grid’5000 environment¶
Workflow:
Pull all the docker images on the slave
Save the environment in
/tmp/enos.tar.gz
of the slave.
enable_monitoring: true
hosts:
1: &id001
address: 127.0.0.1
alias: enos-node
user: root
inventory: inventories/inventory.sample
kolla:
enable_heat: 'no'
kolla_base_distro: centos
kolla_install_type: source
node_custom_config: patch/
provider:
eths:
- eth1
- eth2
network:
cidr: 192.168.143.0/24
dns: 8.8.8.8
end: 192.168.143.119
extra_ips:
- 192.168.142.100
- 192.168.142.101
- 192.168.142.102
- 192.168.142.103
- 192.168.142.104
gateway: 192.168.143.1
start: 192.168.143.3
type: static
registry:
type: none
resources:
compute:
- *id001
control:
- *id001
network:
- *id001
Packaging¶
Workflow:
Deploys OpenStack in a standalone mode using the Static provider in a vagrant box.
Check if a server can be booted and if Rally can be launched.
Destroy the deployment (leave the images)
Package the box
enable_monitoring: false
hosts:
1: &id001
address: 127.0.0.1
alias: enos-node
user: root
inventory: inventories/inventory.sample
kolla:
kolla_base_distro: centos
kolla_install_type: source
nova_compute_virt_type: qemu
provider:
networks:
- cidr: 192.168.143.0/24
dns: 8.8.8.8
end: 192.168.143.119
gateway: 192.168.143.1
roles:
- network_interface
start: 192.168.143.3
- cidr: 192.168.142.0/24
dns: 8.8.8.8
end: 192.168.142.119
gateway: 192.168.142.1
roles:
- neutron_external_interface
start: 192.168.142.3
type: static
registry:
type: none
resources:
compute:
- *id001
control:
- *id001
network:
- *id001
Topology¶
Workflow:
Deploys nodes using vagrant and apply some network constraints
Validate those constraints (manually)
enable_monitoring: false
inventory: inventories/inventory.sample
kolla:
enable_heat: 'no'
kolla_base_distro: centos
kolla_install_type: source
network_constraints:
default_delay: 10ms
default_loss: 0
default_rate: 100mbit
enable: true
provider:
type: vagrant
registry:
type: none
topology:
grp1:
extra-large:
control: 1
grp2:
medium:
compute: 1
network: 1