Hashar has submitted this change and it was merged.
Change subject: puppet-test-runner report success
......................................................................
puppet-test-runner report success
Change-Id: I2ce5463f12d786411bfb9da5fc503d1eebd72367
---
M bin/puppet-test-runner.sh
1 file changed, 4 insertions(+), 3 deletions(-)
Approvals:
Hashar: Verified; Looks good to me, approved
diff --git a/bin/puppet-test-runner.sh b/bin/puppet-test-runner.sh
index 0dc46b4..dedf8dd 100755
--- a/bin/puppet-test-runner.sh
+++ b/bin/puppet-test-runner.sh
@@ -23,12 +23,13 @@
#
puppet_apply_noop() {
manifest="$1"
-
- echo "INFO: Invoking puppet on '$1'"
+ # Might make use of '--verbose --evaltrace'
puppet apply --noop --modulepath="$MODULE_DIR" $manifest
test_result=$?
- [[ $test_result != 0 ]] && echo "ERROR: failed tests for '$manifest'"
+ [[ $test_result == 0 ]] \
+ && echo "SUCCESS: puppet applied '$manifest'" \
+ || echo "ERROR: failed tests for '$manifest'"
return $test_result
}
--
To view, visit https://gerrit.wikimedia.org/r/71799
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2ce5463f12d786411bfb9da5fc503d1eebd72367
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits