You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/google.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
# Google Cloud
4
4
5
+
(google-credentials)=
6
+
5
7
## Credentials
6
8
7
9
Credentials for submitting requests to the Google Cloud Batch API are picked up from your environment using [Application Default Credentials](https://github.com/googleapis/google-auth-library-java#google-auth-library-oauth2-http). Application Default Credentials are designed to use the credentials most natural to the environment in which a tool runs.
Copy file name to clipboardExpand all lines: docs/notifications.md
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,17 +189,26 @@ mail {
189
189
}
190
190
```
191
191
192
+
:::{note}
193
+
Some versions of Java (e.g. Java 11 Corretto) do not default to TLS v1.2, and as a result may have issues with 3rd party integrations that enforce TLS v1.2 (e.g. Azure Active Directory OIDC). This problem can be addressed by setting the following config option:
194
+
195
+
```groovy
196
+
mail {
197
+
smtp.ssl.protocols = 'TLSv1.2'
198
+
}
199
+
```
200
+
:::
201
+
192
202
See the {ref}`mail scope <config-mail>` section to learn more the mail server configuration options.
193
203
194
204
### AWS SES configuration
195
205
196
206
:::{versionadded} 23.06.0-edge
197
207
:::
198
208
199
-
Nextflow supports [AWS SES](https://aws.amazon.com/ses/) native API as an alternative
200
-
provider to send emails in place of SMTP server.
209
+
Nextflow supports the [AWS Simple Email Service](https://aws.amazon.com/ses/) API as an alternative provider to send emails in place of an SMTP server.
201
210
202
-
To enable this feature add the following environment variable in the launching environment:
211
+
To enable this feature, set the following environment variable in the launch environment:
203
212
204
213
```bash
205
214
export NXF_ENABLE_AWS_SES=true
@@ -211,6 +220,20 @@ Make also sure to add the following AWS IAM permission to the AWS user (or role)
211
220
ses:SendRawEmail
212
221
```
213
222
223
+
The following snippet shows how to configure Nextflow to send emails through SES:
224
+
225
+
```groovy
226
+
mail {
227
+
smtp.host = 'email-smtp.us-east-1.amazonaws.com'
228
+
smtp.port = 587
229
+
smtp.user = '<Your AWS SES access key>'
230
+
smtp.password = '<Your AWS SES secret key>'
231
+
smtp.auth = true
232
+
smtp.starttls.enable = true
233
+
smtp.starttls.required = true
234
+
}
235
+
```
236
+
214
237
## Mail notification
215
238
216
239
You can use the `sendMail` function with a {ref}`workflow completion handler <metadata-completion-handler>` to notify the completion of a workflow completion. For example:
Copy file name to clipboardExpand all lines: docs/spack.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,8 +164,11 @@ profiles {
164
164
}
165
165
```
166
166
167
-
The above configuration snippet allows the execution either with Spack or Docker by specifying `-profile spack` or
168
-
`-profile docker`when running the pipeline script.
167
+
The above configuration snippet allows the execution either with Spack or Docker by specifying `-profile spack` or `-profile docker` when running the pipeline script.
168
+
169
+
:::{note}
170
+
Nextflow does not allow for fine-grained configuration of the Spack package manager. Instead, this has to be performed directly on the host Spack installation. For more information see the [Spack documentation](https://spack.readthedocs.io).
0 commit comments