diff --git a/cmf/all/.cikit/ci/server-cleaner.yml b/cmf/all/.cikit/ci/server-cleaner.yml index c6315c10..81818afa 100644 --- a/cmf/all/.cikit/ci/server-cleaner.yml +++ b/cmf/all/.cikit/ci/server-cleaner.yml @@ -27,7 +27,7 @@ shell: |- COMMAND="mysql -u{{ mysql.user }} -p{{ mysql.pass }} -se" - ${COMMAND} "SHOW DATABASES" | grep "{{ build_slug }}" | xargs -I "@@" ${COMMAND} "DROP DATABASE @@" + ${COMMAND} "SHOW DATABASES" | grep "{{ build_slug }}" | xargs -I "@@" ${COMMAND} "DROP DATABASE \`@@\`" rm -rf {{ webroot }}/*{{ build_slug }}* args: warn: no diff --git a/scripts/roles/cikit-ci/files/tasks.sh b/scripts/roles/cikit-ci/files/tasks.sh index 231c8d30..eaef04a9 100644 --- a/scripts/roles/cikit-ci/files/tasks.sh +++ b/scripts/roles/cikit-ci/files/tasks.sh @@ -86,6 +86,8 @@ cikit_hook() { if [ -f "$HOOK_PLAYBOOK" ]; then cikit_run "$HOOK_PLAYBOOK" --dist="$DESTINATION" --rc="$PROCESS_EXIT_CODE" + else + echo "==> There's no \"$HOOK_PLAYBOOK\" hook to run." fi }