Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public class AwsBatchForgePlatform extends AbstractPlatform<AwsBatchConfig> {
@Option(names = {"--fast-storage"}, description = "Allow the use of NVMe instance storage to speed up I/O and disk access operations (requires Fusion v2).")
public boolean fastStorage;

@Option(names = {"--snapshots"}, description = "Allows Fusion to automatically restore a job when it is interrupted by a spot reclamation")
public boolean snapshots;

@Option(names = {"--fargate"}, description = "Run the Nextflow head job using the Fargate container service (requires Fusion v2 and Spot provisioning model).")
public boolean fargate;

Expand Down Expand Up @@ -107,6 +110,7 @@ public AwsBatchConfig computeConfig() throws ApiException, IOException {
.fusion2Enabled(isFusionV2Enabled())
.waveEnabled(wave)
.nvnmeStorageEnabled(fastStorage)
.fusionSnapshots(snapshots)

// Forge
.forge(buildForge())
Expand Down
Loading