Skip to content

Commit

Permalink
Actually add the fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
cbednarski committed Sep 26, 2015
1 parent a2f8d59 commit e2737bc
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions jobspec/test-fixtures/overlapping-ports.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
job "binstore-storagelocker" {
region = "global"
type = "service"
priority = 50
all_at_once = true
datacenters = ["us2", "eu1"]

meta {
foo = "bar"
}

constraint {
attribute = "kernel.os"
value = "windows"
}

update {
stagger = "60s"
max_parallel = 2
}

task "outside" {
driver = "java"
config {
jar = "s3://my-cool-store/foo.jar"
}
meta {
my-cool-key = "foobar"
}
}

group "binsl" {
count = 5
task "binstore" {
driver = "docker"
config {
image = "hashicorp/binstore"
}
resources {
cpu = 500
memory = 128

network {
mbits = "100"
reserved_ports = [1,2,3]
dynamic_ports = ["Http", "http", "HTTP"]
}
}
}

task "storagelocker" {
driver = "java"
config {
image = "hashicorp/storagelocker"
}
resources {
cpu = 500
memory = 128
}
constraint {
attribute = "kernel.arch"
value = "amd64"
}
}

constraint {
attribute = "kernel.os"
value = "linux"
}

meta {
elb_mode = "tcp"
elb_interval = 10
elb_checks = 3
}
}
}

0 comments on commit e2737bc

Please sign in to comment.