summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-10-22 13:01:37 +0000
committervarac <varacanero@zeromail.org>2013-10-22 13:01:37 +0000
commit55ce142b2eefd1866c113b45a40d3742f599caa5 (patch)
treef97f53327487cfee13bd049b5959477def11d921
parent581ce7b6e282bca3da42de51a204106a3113841c (diff)
CI doesn't report deploy errors anymore (Bug #4180)
-rwxr-xr-xleap-platform-test7
1 files changed, 6 insertions, 1 deletions
diff --git a/leap-platform-test b/leap-platform-test
index 0165dd5..30379b8 100755
--- a/leap-platform-test
+++ b/leap-platform-test
@@ -99,8 +99,13 @@ deploy() {
FILTER_CLI='= read|= loading|= no change| - executing| = executing| = applying| = ran git| = checking| = synching| = skipping file_path| - cd .*; rsync -| - hiera| = created hiera/| = updated hiera/| - cd /root/| - rolling backexecuting| - files/|\[bin,puppet\] ->|] Hostname updated.| = Updating submodule puppet/modules|Warning: Permanently added.*to the list of known hosts.| = leap command v| = leap platform v| - \[.*\] ok'
FILTER_PUPPET='] notice: |] No change to hostname|] Puppet apply complete|] warning: Dynamic lookup|] warning: Scope\(Class|Skipping because of failed dependencies'
- FILTER_ALL="($FILTER_CLI|$FILTER_PUPPET|$FILTER_COMMON)"
+ if [ -n $FILTER_PUPPET ]
+ then
+ FILTER_ALL="($FILTER_CLI|$FILTER_PUPPET|$FILTER_COMMON)"
+ else
+ FILTER_ALL="($FILTER_CLI|$FILTER_PUPPET)"
+ fi
for vm in $@
do