
Add CI scripts for: - lint - syntax 3 and 4 - unit - beaker And remove run_tests.sh which is not useful anymore. Change-Id: I235d8561d6cc2c593cf788ced04d1394127ab3ce
17 lines
413 B
Bash
17 lines
413 B
Bash
#!/bin/bash
|
|
#
|
|
# functions - puppet-openstack_spec_helper specific functions
|
|
#
|
|
|
|
prepare_environment() {
|
|
mkdir .bundled_gems
|
|
export GEM_HOME=`pwd`/.bundled_gems
|
|
gem install bundler --no-rdoc --no-ri --verbose
|
|
|
|
# Build fake module
|
|
OS_NEW_MODULE_TEST=yes bash -x ./contrib/bootstrap.sh whazz dummy
|
|
cd puppet-whazz/openstack/puppet-modulesync-configs/modules/puppet-whazz
|
|
|
|
$GEM_HOME/bin/bundle install
|
|
}
|