Skip to content

hpcng/nomad-driver-singularity

Repository files navigation

nomad-driver-singularity

GoDoc Build Status Code Coverage Go Report Card

Hashicorp Nomad driver plugin using Singularity containers to execute tasks.

Requirements

Building The Driver

Clone repository on your prefered path

git clone [email protected]:sylabs/nomad-driver-singularity

Enter the provider directory and build the provider

cd nomad-driver-singularity
make dep
make build

Developing the Provider

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