Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manveru/nomadix
Nix powered Nomad
https://github.com/manveru/nomadix
Last synced: 19 days ago
JSON representation
Nix powered Nomad
- Host: GitHub
- URL: https://github.com/manveru/nomadix
- Owner: manveru
- Created: 2020-06-12T01:11:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T20:50:13.000Z (over 4 years ago)
- Last Synced: 2024-11-05T18:50:54.448Z (2 months ago)
- Language: Nix
- Size: 27.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nomadix
NixOS module for Nomad and convenient definition of Nomad jobs using Nix.
This ensures that your Nomad jobs are guaranteed to not only be deterministic,
but also have perfect caching of dependencies and minimum amount of deployment
overhead.Right now this is in a very experimental discovery phase, so don't expect to
rely on anything to stay the way it is.## Mini Example
To run the example under examples/mini you can try the following:
nix build .#examples.mini.run
nix copy -s --to ssh://skynet ./result
nomad job run -output result## Notes
This relies on Nix flakes to build the jobs, I'm hoping that by the time I'm
done, flakes will be stable enough for production use.The reason for this is mostly way better user experience and speed.
Making a wrapper for stable Nix should be trivial though, I just haven't had
need for it yet.