Skip to content

Commit

Permalink
iterate upon the constraint config [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi18av committed Jul 15, 2024
1 parent 6e7cebf commit 08b82b1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=0.1.1
version=0.1.2
github_organization=nextflow-io
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import spock.lang.Specification
* @author : Jorge Aguilera <jagedn@gmail.com>
* @author : Abhinav Sharma <abhi18av@outlook.com>
*/
class NomadJobConstraints extends Specification {
class NomadJobConstraintsSpec extends Specification {


void "should instantiate a constraints spec if specified"() {
Expand Down
29 changes: 18 additions & 11 deletions validation/sun-nomadlab/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,36 @@ aws {
}

wave {
enabled = true
enabled = true
}

fusion {
enabled = true
exportStorageCredentials = true
enabled = true
exportStorageCredentials = true
}

nomad {

client {
address = 'http://100.119.165.23:4646'
address = 'http://100.119.165.23:4646'
}

jobs {
deleteOnCompletion = false
volumes = [
{ type "csi" name "juicefs-volume" }
]
constraints: {
attr {
unique = [hostName:'nomad02']
deleteOnCompletion = false
volumes = [
{ type "csi" name "juicefs-volume" }
]
constraints {

node {
unique = [name: "nomad02"]
}
/*
attr {
raw 'platform.aws.instance-type', '=', 'm4.xlarge'
}
*/
}
}
}

0 comments on commit 08b82b1

Please sign in to comment.