Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Slack/Teams notifications #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Added Slack/Teams notifications #43

wants to merge 1 commit into from

Conversation

wfondrie
Copy link
Member

@wfondrie wfondrie commented Dec 4, 2023

This PR adapts the NF-Core template to enable Slack and Teams notifications on pipeline completion.

@wfondrie wfondrie requested a review from jspaezp December 4, 2023 23:16
@@ -54,6 +54,7 @@ params {
report_dir = 'reports' /** \type{str} Where reports will be saved. */
mzml_dir = 'mzml' /** \type{str} Where mzML files will be saved. */
email = null /** \type{str} An email to alert on completion. */
hook_url = null /** \type{str} A URL for Slack notifications */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you link the slack docs to know how to get one? :D please...

@@ -41,4 +41,53 @@ class TalusTemplate {
def email_html = html_template.toString()
return [subject, email_html]
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: This looks very clean

@@ -0,0 +1,34 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could you rename this as .j2.json, just to know that it is a template while browsing the file tree? (not critical, feel free to disregard)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants