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

Use AWS Lambda for sending email on workflow.onComplete #383

Closed
olgabot opened this issue Sep 20, 2019 · 4 comments
Closed

Use AWS Lambda for sending email on workflow.onComplete #383

olgabot opened this issue Sep 20, 2019 · 4 comments
Labels
template nf-core pipeline/component template

Comments

@olgabot
Copy link
Contributor

olgabot commented Sep 20, 2019

Capturing while I remember ...

For cloud infrastructure, sendmail is not necessarily available as in the template so allowing the AWS batch pipeline to submit the lambda function to send an email.

@apeltzer apeltzer transferred this issue from nf-core/rnaseq Sep 20, 2019
@apeltzer
Copy link
Member

Should address this centrally in the template 👍

@ewels
Copy link
Member

ewels commented Sep 23, 2019

What about mail? The pipeline falls back to this if sendmail doesn't work..

Also, note that we have been intending to strip all of this out for ages now, as it is a central Nextflow feature. So it should probably be added into core Nextflow 😓

@ewels
Copy link
Member

ewels commented Sep 23, 2019

cf #112

@ewels ewels added the template nf-core pipeline/component template label May 9, 2021
@ewels ewels changed the title Use AWS Lambda for sending email on workflow.onComplete Use AWS Lambda for sending email on workflow.onComplete May 9, 2021
@ewels
Copy link
Member

ewels commented May 9, 2021

The Nextflow docs for config scope mail has a snippet showing how the built-in Nextflow email support can send emails via AWS Simple Email Service - https://www.nextflow.io/docs/latest/config.html#scope-mail

mail {
    smtp.host = 'email-smtp.us-east-1.amazonaws.com'
    smtp.port = 587
    smtp.user = '<Your AWS SES access key>'
    smtp.password = '<Your AWS SES secret key>'
    smtp.auth = true
    smtp.starttls.enable = true
    smtp.starttls.required = true
}

Given that we want to rewrite to use the built-in Nextflow support (issue #112) I don't think that we need to have any AWS-specific code in the template. So I think we can close this issue as it's already covered by #112 basically.

Shout if anyone disagrees and we can reopen :)

@ewels ewels closed this as completed May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template nf-core pipeline/component template
Projects
None yet
Development

No branches or pull requests

3 participants