Cirrus: Simplify three scripts into one

Also add demarcation line to help identify separate commands in the
output.

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich 2019-05-29 12:17:59 -04:00
parent f01efbad8f
commit baea914b3b
No known key found for this signature in database
GPG Key ID: 03EDC70FD578067F
5 changed files with 2 additions and 22 deletions

View File

@ -57,9 +57,7 @@ testing_task:
# Separate scripts for separate outputs, makes debugging easier.
setup_script: '${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/setup.sh |& ${_TIMESTAMP}'
build_script: '${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/build.sh |& ${_TIMESTAMP}'
unit_script: '${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/unit.sh |& ${_TIMESTAMP}'
integration_script: '${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/integration.sh |& ${_TIMESTAMP}'
build_and_test_script: '${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/build_and_test.sh |& ${_TIMESTAMP}'
# Log collection when job was successful
df_script: '${_DFCMD} || true'

View File

@ -1,8 +0,0 @@
#!/bin/bash
set -e
source $(dirname $0)/lib.sh
cd $GOSRC
/bin/true # STUB: Add call to execute integration testing

View File

@ -175,6 +175,7 @@ showrun() {
"$@" &
echo -e "${RED}<backgrounded>${NOR}"
else
echo '--------------------------------------------------'
echo '+ '$(printf " %q" "$@") > /dev/stderr
"$@"
fi

View File

@ -1,11 +0,0 @@
#!/bin/bash
set -e
source $(dirname $0)/lib.sh
cd $SCRIPT_BASE
./lib.sh.t
cd $GOSRC
/bin/true # STUB: Add call to other unittests