README: document nomad.txt

This commit is contained in:
Starbeamrainbowlabs 2022-06-30 22:48:07 +01:00
parent 7cac2ea8ff
commit ca09bfcc67
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ For `import` image types, the file `imagetype.txt` should be present and contain
Optionally, any image type can contain the following files:
- `dependents.txt`: The names of images that depend on this image - 1 image name per file. This is read by my continuous integration system to queue rebuilds of dependent Docker containers once the current image has finished building & pushing automatically.
- `nomad.txt`: Nomad jobs that should be restarted after the docker image is rebuilt. The format of `nomad.txt` is 1 definition per line in the form `jobname taskname`.
- In future, it will just be 1 jobname per line when [proer job restarting](https://github.com/hashicorp/nomad/issues/698) gets implemented
## Licence