update readme

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-03-29 08:21:05 +05:30
parent c263b5890e
commit 6ff9524210

View File

@@ -8,7 +8,7 @@ resource_types:
- name: nomad - name: nomad
type: registry-image type: registry-image
source: source:
repository: cioplenu/concourse-nomad-resource repository: natto1784/concourse-nomad-resource
tag: latest tag: latest
resources: resources:
@@ -48,6 +48,9 @@ like a version on the fly.
values. Each key should be represented in the job file as `{{.key}}` and the values should be path values. Each key should be represented in the job file as `{{.key}}` and the values should be path
to text files which content will be used as the variable value. Whitespace and trailing newlines to text files which content will be used as the variable value. Whitespace and trailing newlines
will be trimmed from the value. will be trimmed from the value.
* `templating`: { bool }: Whether to use templating or not. `true` by default
* `restart`: { bool }: Whether to restart a job or not. `false` by default
> **NOTE:** Restart just runs `stop -purge` against the job before running `run` against it
## Example ## Example
@@ -56,7 +59,7 @@ resource_types:
- name: nomad - name: nomad
type: registry-image type: registry-image
source: source:
repository: cioplenu/concourse-nomad-resource repository: natto1784/concourse-nomad-resource
tag: latest tag: latest
resources: resources: