77e537f868
This patch adds blank newline for each [yaml|sh] files if they don't end with one. This will allows us getting linters happy and avoid us having git adding "\ No newline at end of file" in diffs when pushing a new patch. In other way, you can configure Git to properly handle line endings in typing: $ git config --global core.autocrlf input Change-Id: I8a113541b3eae6a36ed32995822dedbbd2d9666e Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
32 lines
806 B
Bash
32 lines
806 B
Bash
#!/bin/bash
|
|
# CI test that updates upstream images to latest delorean and runs tempest.
|
|
# Usage: tempest.sh <release> <build_system> <config> <job_type>
|
|
set -eux
|
|
|
|
RELEASE=$1
|
|
BUILD_SYS=$2
|
|
CONFIG=$3
|
|
JOB_TYPE=$4
|
|
|
|
# (trown) This is so that we ensure separate ssh sockets for
|
|
# concurrent jobs. Without this, two jobs running in parallel
|
|
# would try to use the same undercloud-stack socket.
|
|
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
|
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
|
|
|
pushd $WORKSPACE/tripleo-quickstart
|
|
|
|
bash quickstart.sh \
|
|
--bootstrap \
|
|
--tags all \
|
|
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
|
--working-dir $WORKSPACE/ \
|
|
--no-clone \
|
|
--release master-tripleo-ci \
|
|
--extra-vars test_ping=False \
|
|
--extra-vars run_tempest=True \
|
|
$VIRTHOST
|
|
|
|
popd
|
|
|