nf-nomad @ 0.4.2
Summary
This plugin implements a Nextflow executor for Hashicorp Nomad, enabling Nextflow pipelines to submit and manage tasks on Nomad clusters. It supports distributed work directories via SPI, custom job naming, security defaults, and process-level Nomad options for fine-grained control over task execution.
Get Started
To use this plugin in your Nextflow pipeline, add the following to your nextflow.config file:
plugins {
id 'nf-nomad'
}
process {
executor = 'nomad'
}
nomad {
client {
address = 'http://your-nomad-server:4646'
}
}
For local integration testing, the default Nomad address is http://localhost:4646. If you need a different endpoint, override it explicitly:
./gradlew test -PtestEnv=local -PnomadAddr=http://<host>:4646
Run unit tests with:
./gradlew check
Examples
The following example demonstrates how to configure a Nextflow pipeline to target a specific process to run on Nomad with customized datacenters and resource limits:
// nextflow.config
plugins {
id 'nf-nomad'
}
process {
executor = 'nomad'
withName: runAlignment {
nomadOptions = [
datacenters: ['dc-analytics'],
priority: 'high',
resources: [
cores: 8,
memoryMax: '32 GB'
]
]
}
}
Process-level Nomad options with advanced features:
process {
withName: sayHello {
nomadOptions = [
datacenters: ['dc1', 'dc2'],
namespace: 'bio',
constraints: { node { unique = [name: params.RUN_IN_NODE] } },
affinity: [attribute: '${meta.workload}', operator: '=', value: 'batch', weight: 25],
meta: [owner: 'team-x', step: 'align'],
shutdownDelay: '15s',
volumes: [[type: 'host', name: 'ref-data', path: '/ref', readOnly: true]],
secrets: ['MY_ACCESS_KEY', 'MY_SECRET_KEY'],
resources: [memoryMax: '64 GB', cores: 4, device: [[name: 'nvidia/gpu', count: 1]]]
]
}
}
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
| Nextflow version | >=26.04.3 |
|---|---|
| Depends On | - |
| Release Date | 30 Jun 2026 10:19:54 (UTC) |
| Release Notes | https://github.com/nextflow-io/nf-nomad/releases/tag/0.4.2 |
| Download URL | https://registry.nextflow.io/api/v1/plugins/nf-nomad/0.4.2/download/nf-nomad-0.4.2.zip |
| Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/nf-nomad/blobs/sha256:b15c4e9c51d931670ca83d1daa6c1c190f872f2a93c61b295f52fe44c02c4e4a |
| Size | 4.6 MB |
| Checksum | 51b595e47c7cfac56a8ac14a6a18d72efce60f03b3d6ef52bc89977f454af2355018dc08edfc3830fc57e14b526af97e1a7980970578ea8c17778f803e28a3de |
| Total downloads | 0 View trends |
| Security Scan |
| Version | Nextflow version | Date | Status | Downloads |
|---|---|---|---|---|
| 0.5.0-edge2 | >=26.04.3 | 30 Jun 2026 12:01:45 (UTC) | 0 | |
| 0.4.3 | >=26.04.3 | 30 Jun 2026 11:03:49 (UTC) | 0 | |
| 0.4.2 | >=26.04.3 | 30 Jun 2026 10:19:54 (UTC) | 0 | |
| 0.4.1 | >=25.10.4 | 17 Jun 2026 08:43:43 (UTC) | 355 | |
| 0.5.0-edge1 | >=26.04.3 | 07 Jun 2026 10:40:59 (UTC) | 5 | |
| 0.4.0 | >=25.10.4 | 06 Jun 2026 06:42:08 (UTC) | 202 | |
| 0.4.0-edge8 | >=25.10.4 | 04 Jun 2026 06:43:24 (UTC) | 34 | |
| 0.4.0-edge7 | >=25.10.4 | 26 May 2026 09:52:03 (UTC) | 103 | |
| 0.4.0-edge6 | >=25.10.4 | 25 May 2026 16:58:35 (UTC) | 2 | |
| 0.4.0-edge5 | >=25.10.0 | 21 May 2026 14:13:53 (UTC) | 24 | |
| 0.4.0-edge4 | >=25.10.0 | 11 May 2026 13:00:53 (UTC) | 10 | |
| 0.4.0-edge3 | >=25.10.0 | 17 Mar 2026 15:44:41 (UTC) | 4.5K | |
| 0.4.0-edge2 | >=25.10.0 | 25 Oct 2025 17:01:39 (UTC) | 53 | |
| 0.4.0-edge1 | >=24.10.4 | 12 Sep 2025 10:23:30 (UTC) | 9 | |
| 0.3.1 | >=24.01.0-edge | 08 Dec 2024 19:12:13 (UTC) | 173 | |
| 0.3.0 | >=24.01.0-edge | 20 Sep 2024 12:00:02 (UTC) | 188 | |
| 0.2.0 | >=24.01.0-edge | 28 Aug 2024 16:24:25 (UTC) | 222 | |
| 0.1.2 | >=24.01.0-edge | 29 Jul 2024 09:12:42 (UTC) | 208 | |
| 0.1.1 |