Hashicorp Nomad driver plugin using Singularity containers to execute tasks.
- Nomad v0.9+
- Go v1.11+ (to build the provider plugin)
- Singularity v3.1.0+
Clone repository on your prefered path
git clone git@github.com:sylabs/nomad-driver-singularity
Enter the provider directory and build the provider
cd nomad-driver-singularity
make dep
make build
If you wish to contribute on the project, you'll first need Go
installed on your machine, and have have singularity
installed.
To compile the provider, run make build
.
This will build the provider and put the task driver binary under
the NOMAD plugin dir,
which by default is located under <nomad-data-dir>/plugins/
.
Check Nomad -data-dir
and -plugin-dir
flags for more information.
make build
In order to test the provider, you can simply run make test
.
make test