When submitting a patch in puppet-ceph stable/hammer, we want to clone
puppet-openstack-integration from stable/mitaka.
This patch makes sure of that.
Change-Id: I7a7190f0c9e7257f74672d8a8d63678706c63243
Currently, puppet-ceph stable/hammer CI tries to clone Puppet OpenStack
modules using stable/hammer branch but they don't have it, only
puppet-ceph does.
We need to override ZUUL_BRANCH with a fake 'stable/mitaka' for Puppet
OpenStack modules and then checkout 'stable/hammer' for puppet-ceph.
This workaround will allow us to:
* test puppet-ceph/hammer with mitaka modules
* test puppet-ceph/master with newton and beyond modules
Note: for our r10k users, no problem, they use git to checkout the right
branch, so they don't have the bug.
Change-Id: I004ee95e6bd97992aeebd08447396e3b8a29e09f
This change adds hiera support into the scenarios so we can override
items via the common.yaml heira file if need be. This change adds
support for two environment variables with run_tests.sh.
HIERA_CONFIG - full path to the hiera yaml configuration file
MANAGE_HIERA - used to enable/disable writing out a hiera.yaml config
file
Change-Id: Iad0050e09e0cc610e0eadc00e328151e88eee10e
This makes gem binary usage consistent (i.e, r10k) and prevents
encoutering a command not found error.
Change-Id: I3ef01274417cd88403d71af0e6216850d77cc81c
Closes-Bug: #1592113
When running periodic jobs, ZUUL_BRANCH & ZUUL_REF are empty because we
don't have any reference or branch set for the jobs.
To not make zuul failing when cloning Puppet modules, let's set defaults
values:
ZUUL_BRANCH default to master (we are running tests against master now)
If we need to test stable branches, we'll revisit later but it would be
a bigger change (job names, etc).
ZUUL_REF default to None.
Change-Id: I34b298230bc174a3fdd431095043543c4c223296
In order to help be able to determine what part of the script a failure
occurs in, this change adds a print header function and updates the
shell scripts to print some header information for various actions.
Change-Id: I8e622c4d1c9c03aa3dbcb27712a346ce3284003f
When testing rspec locally the r10k binary is never found because the
GEM_BIN_DIR is wrongly set to GEM_HOME/bin. GEM_HOME is set by bundler
and GEM_HOME/bin do not point where bundler put the binary. The
binaries are handled by bundler by changing the PATH. rbenv, use
similar tricks.
install_all is only used outside of the CI, so this modification
wouldn't change anything as far as the official CI is concerned.
Change-Id: I07668d64f9adf6713f5c267cf45650ba92ee0b9c
Closes-Bug: 1550331
This script will help newcomers to run this script and deploy a simple
scenario of an OpenStack Cloud with Puppet OpenStack modules.
Change-Id: I559e5e0a0d21a02d04b3d999b77dee23bb38c341
* Move out some code from install_modules.sh to have a functions script.
* Update install_modules.sh script to use functions.
Change-Id: Ie87b8eac71d5edb555e9a1637bea84bc9e268497