4bab91b81b
Until we have LCOW support in the E2E environment (which requires a Windows 2019 test target), we need to constrain E2E tests to the appropriate kernel
34 lines
482 B
HCL
34 lines
482 B
HCL
job "podman-redis" {
|
|
datacenters = ["dc1"]
|
|
type = "service"
|
|
|
|
constraint {
|
|
attribute = "${attr.kernel.name}"
|
|
value = "linux"
|
|
}
|
|
|
|
group "redis" {
|
|
task "redis" {
|
|
driver = "podman"
|
|
|
|
config {
|
|
image = "docker://redis"
|
|
|
|
port_map {
|
|
redis = 6379
|
|
}
|
|
}
|
|
|
|
resources {
|
|
cpu = 500
|
|
memory = 256
|
|
|
|
network {
|
|
mbits = 20
|
|
port "redis" {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|