open-nomad/jobspec/test-fixtures/tg-service-connect-sidecar_task-name.hcl
Tim Gross bad9a82df8
ci: add a linting check for HCL files (#7791)
Running `make dev` runs `hclfmt`, but this isn't checked as part of
CI. That makes it possible to merge un-formatted HCL and Nomad
jobspecs that later will make for dirty git staging areas when
developers pull master.

This changeset adds HCL linting to the `make check` target.
2020-04-23 14:32:44 -04:00

18 lines
231 B
HCL

job "sidecar_task_name" {
type = "service"
group "group" {
service {
name = "example"
connect {
sidecar_service = {}
sidecar_task {
name = "my-sidecar"
}
}
}
}
}