]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Disabling Notification jobs in .gitlab-ci.yml
authorFrank Brehm <frank@brehm-online.com>
Tue, 12 Jul 2022 15:16:19 +0000 (17:16 +0200)
committerFrank Brehm <frank@brehm-online.com>
Tue, 12 Jul 2022 15:16:19 +0000 (17:16 +0200)
.gitlab-ci.yml

index e9b916bfc86f29e0360389905b6ffb9f89c79723..d5c94259d63158faf3064574d68f9a1adf027e21 100644 (file)
@@ -442,32 +442,32 @@ Deploy packages EL8:
 #     - '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