Hacker News new | ask | show | jobs
by Nikkau 3388 days ago
The proper way isn't to specify artifact checksum?

When you rebuild your "main", you update the checksum and Nomad should see it as a change, no?

I can't test right now, I don't know if Nomad pick the job change and download the new artifact or just fail the check.

1 comments

Yup, that's one way! Still requires getting that checksum into the job file somehow (sed in this example). In the future there will be a -var option for passing template variables in from the command line.