openstack-helm/tools/gate
Pete Birley 920cb9aae5 Gate: Set tests to run only if a deployment of OSH is performed
This PS updates the gate script to only run tests of OSH if it is
actually deployed.

Change-Id: Iaf89bbfffb01ca3c7ba7bfc5b5867794c6bfd5e8
2017-08-10 09:47:49 -05:00
..
funcs Fix -- Ceph in multinode gate 2017-08-07 17:11:11 -05:00
armada_launch.sh Armada OpenStack deployment yaml 2017-08-09 09:40:46 -05:00
basic_launch.sh Merge "Armada OpenStack deployment yaml" 2017-08-09 20:29:16 +00:00
dump_logs.sh KubeADM-AIO: update to K8s 1.6.8 2017-08-03 23:37:00 -05:00
helm_dry_run.sh Add dry-runs to all charts in OpenStack-Helm in dev and gate scripts 2017-05-31 12:50:18 -05:00
kubeadm_aio.sh Use RBD external provisioner 2017-08-09 11:24:59 -05:00
openstack_aio_launch.sh Zuul: Gate script tidy 2017-07-29 23:58:08 -05:00
provision_gate_worker_node.sh Gate: Loopback device support 2017-07-31 17:12:20 -05:00
README.rst Gate scripts: Update readme to describe multinode deployment 2017-06-28 14:45:26 +00:00
setup_gate_worker_nodes.sh Merge "Ceph: Fix Multinode Gates" 2017-08-07 16:28:17 +00:00
setup_gate.sh Gate: Set tests to run only if a deployment of OSH is performed 2017-08-10 09:47:49 -05:00
whitespace.sh Add a whitespace check script 2017-05-20 11:17:45 -05:00

Openstack-Helm Gate Scripts

These scripts are used in the OpenStack-Helm Gates and can also be run locally to aid development and for demonstration purposes. Please note that they assume full control of a machine, and may be destructive in nature, so should only be run on a dedicated host.

Supported Platforms

Currently supported host platforms are:
  • Ubuntu 16.04
  • CentOS 7
  • Fedora 25

Usage (Single Node)

The Gate scripts use the setup_gate.sh as an entrypoint and are controlled by environment variables, an example of use to run the basic integration test is below:

export INTEGRATION=aio
export INTEGRATION_TYPE=basic
export PVC_BACKEND=ceph
./tools/gate/setup_gate.sh

Usage (Multi Node)

To use for a multinode deployment you simply need to set a few extra environment variables:

export INTEGRATION=multi
export INTEGRATION_TYPE=basic
export PVC_BACKEND=ceph
#IP of primary node:
export PRIMARY_NODE_IP=1.2.3.4
#IP's of subnodes:
export SUB_NODE_IPS="1.2.3.5 1.2.3.6 1.2.3.7"
#Location of SSH private key to use with subnodes:
export SSH_PRIVATE_KEY=/etc/nodepool/id_rsa
./tools/gate/setup_gate.sh

Options

Rather than ceph, you may use a nfs based backend. This option is especially useful on old or low spec machines, though is not currently supported with Linux Kernels >=4.10:

export PVC_BACKEND=nfs