Jenkins

Jobs

We provide here an overview of the jobs that can be runned by our Jenkins.

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.

Grid‘5000 environment

Workflow:

  • Pull all the docker images on the slave
  • Save the environment in /tmp/enos.tar.gz of the slave.
Configuration
---
# ############################################### #
# Enos Configuration File                         #
# ############################################### #

# Resources description : this is provider specific
hosts:
  1: &h1
    address: 127.0.0.1
    alias: enos-node
    user: root

resources:
  control:
    - *h1
  network:
    - *h1
  compute:
    - *h1

# Provider description and its options
provider:
  type: static
  network:
    start: 192.168.143.3
    end:  192.168.143.119
    cidr: 192.168.143.0/24
    gateway: 192.168.143.1
    dns: 8.8.8.8
    extra_ips:
      - 192.168.142.100
      - 192.168.142.101
      - 192.168.142.102
      - 192.168.142.103
      - 192.168.142.104
  eths:
    - eth1
    - eth2

# ############################################### #
# Inventory to use                                #
# ############################################### #

# This will describe the topology of your services
inventory: inventories/inventory.sample

# true iff a monitoring stack should be deployed
# cadvisor/collectd - influxdb - grafana
enable_monitoring: true

registry:
  type: none

# ############################################### #
# Kolla parameters                                #
# ############################################### #
# Repository
kolla_repo: https://git.openstack.org/openstack/kolla-ansible
kolla_ref: stable/queens

# globals.yml
kolla:
  kolla_base_distro: centos
  kolla_install_type: source
  # openstack_logging_debug: True
  enable_heat: "no"

  node_custom_config: patch/

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
Configuration
---
# Example of using yaml anchors
hosts:
  1: &h1
    address: 127.0.0.1
    alias: enos-node
    user: root

resources:
  control:
    - *h1
  network:
    - *h1
  compute:
    - *h1

provider:
  type: static
  networks:
    - start: 192.168.143.3
      end:  192.168.143.119
      cidr: 192.168.143.0/24
      gateway: 192.168.143.1
      dns: 8.8.8.8
      roles: ["network_interface"]
    - start: 192.168.142.3
      end:  192.168.142.119
      cidr: 192.168.142.0/24
      gateway: 192.168.142.1
      dns: 8.8.8.8
      roles: ["neutron_external_interface"]

inventory: inventories/inventory.sample
enable_monitoring: no
registry:
  type: none
kolla_repo: https://git.openstack.org/openstack/kolla-ansible
kolla_ref: stable/queens
kolla:
  kolla_base_distro: centos
  kolla_install_type: source
  nova_compute_virt_type: "qemu"

Topology

Workflow:

  • Deploys nodes using vagrant and apply some network constraints
  • Validate those constraints (manually)
Configuration
---
# ############################################### #
# Vagrant reservation parameters                  #
# ############################################### #
provider:
  type: vagrant
topology:
  grp1:
    extra-large:
      control: 1
  grp2:
    medium:
      network: 1
      compute: 1

network_constraints:
  enable: true
  default_delay: 10ms
  default_rate: 100mbit
  default_loss: 0

# ############################################### #
# Inventory to use                                #
# ############################################### #

# This will describe the topology of your services
inventory: inventories/inventory.sample

# ############################################### #
# docker registry parameters
# ############################################### #
registry:
  type: none

# ############################################### #
# Monitoring stack parameters                     #
# ############################################### #
enable_monitoring: no

# ############################################### #
# Kolla parameters                                #
# ############################################### #
# Repository
kolla_repo: "https://git.openstack.org/openstack/kolla-ansible"
kolla_ref: "stable/queens"

# Vars : globals.yml
kolla:
  kolla_base_distro: "centos"
  kolla_install_type: "source"
  enable_heat: "no"