# - 'Deploy packages EL7'
# - 'Deploy packages EL8'
-# ---------------------------
-Notify Success:
- stage: notify
- extends:
- - '.notify-rules'
- allow_failure: true
- script: |
- mailbody="Module ${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME} (${CI_COMMIT_REF_NAME}): "
- mailbody+="all checks successful\nCommiter: ${GITLAB_USER_NAME} <${GITLAB_USER_EMAIL}>\n"
- mailbody+="Commiter: ${GITLAB_USER_NAME} <${GITLAB_USER_EMAIL}>"
- subject="Gitlab-CI: Python module pp-admintools"
- echo -e "${mailbody}" | mailx -s "${subject}" -r "${SENDER_ADDRESS}" "${NOTIFY_ADDRESS}"
+# # ---------------------------
+# Notify Success:
+# stage: notify
+# extends:
+# - '.notify-rules'
+# allow_failure: true
+# script: |
+# mailbody="Module ${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME} (${CI_COMMIT_REF_NAME}): "
+# mailbody+="all checks successful\nCommiter: ${GITLAB_USER_NAME} <${GITLAB_USER_EMAIL}>\n"
+# mailbody+="Commiter: ${GITLAB_USER_NAME} <${GITLAB_USER_EMAIL}>"
+# subject="Gitlab-CI: Python module pp-admintools"
+# echo -e "${mailbody}" | mailx -s "${subject}" -r "${SENDER_ADDRESS}" "${NOTIFY_ADDRESS}"
-# ---------------------------
-Notify Error:
- stage: notify
- extends:
- - '.notify-rules'
- allow_failure: true
- when: on_failure
- script: |
- mailbody="Error in module ${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME} (${CI_COMMIT_REF_NAME})\n"
- mailbody+="Please check ${CI_PROJECT_URL}/pipelines/${CI_PIPELINE_ID}\n\n"
- mailbody+="Commiter: ${GITLAB_USER_NAME} <${GITLAB_USER_EMAIL}>"
- subject="Gitlab-CI error for Python module pp-admintools"
- echo -e "${mailbody}" | mailx -s "${subject}" -r "${SENDER_ADDRESS}" "${NOTIFY_ADDRESS}"
+# # ---------------------------
+# Notify Error:
+# stage: notify
+# extends:
+# - '.notify-rules'
+# allow_failure: true
+# when: on_failure
+# script: |
+# mailbody="Error in module ${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME} (${CI_COMMIT_REF_NAME})\n"
+# mailbody+="Please check ${CI_PROJECT_URL}/pipelines/${CI_PIPELINE_ID}\n\n"
+# mailbody+="Commiter: ${GITLAB_USER_NAME} <${GITLAB_USER_EMAIL}>"
+# subject="Gitlab-CI error for Python module pp-admintools"
+# echo -e "${mailbody}" | mailx -s "${subject}" -r "${SENDER_ADDRESS}" "${NOTIFY_ADDRESS}"
# vim: et tabstop=2 expandtab shiftwidth=2 softtabstop=2 list