-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from ArangoGutierrez/issue_14
fix typo on README
- Loading branch information
Showing
10 changed files
with
70 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Maintainers: | ||
# Maintainers | ||
|
||
- Eduardo Arango <eduardo@sylabs.io> | ||
|
||
# Contributors: | ||
## Contributors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,48 @@ | ||
# nomad-driver-singularity | ||
|
||
[Hashicorp Nomad](https://www.nomadproject.io/) driver plugin using [Singularity containers](https://github.com/sylabs/singularity) to execute tasks. | ||
[Hashicorp Nomad](https://www.nomadproject.io/) driver plugin using | ||
[Singularity containers](https://github.com/sylabs/singularity) to execute tasks. | ||
|
||
Requirements | ||
------------ | ||
## Requirements | ||
|
||
- [Nomad](https://www.nomadproject.io/downloads.html) v0.9+ | ||
- [Go](https://golang.org/doc/install) v1.11+ (to build the provider plugin) | ||
- [Singularity](https://github.com/singularityware/singularity) v3.0.3+ | ||
|
||
Building The Driver | ||
--------------------- | ||
## Building The Driver | ||
|
||
Clone repository on your prefered path | ||
|
||
```sh | ||
$ git clone git@github.com:sylabs/nomad-driver-singularity | ||
git clone git@github.com:sylabs/nomad-driver-singularity | ||
``` | ||
|
||
Enter the provider directory and build the provider | ||
|
||
```sh | ||
$ nomad-driver-singularity | ||
$ make dep | ||
$ make build | ||
cd nomad-driver-singularity | ||
make dep | ||
make build | ||
``` | ||
|
||
Developing the Provider | ||
--------------------------- | ||
## Developing the Provider | ||
|
||
If you wish to contribute on the project, you'll first need [Go](http://www.golang.org) installed on your machine, and have have `singularity` installed. | ||
If you wish to contribute on the project, you'll first need [Go](http://www.golang.org) | ||
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/`. | ||
|
||
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 deafult is located under `<nomad-data-dir>/plugins/`. | ||
Check Nomad `-data-dir` and `-plugin-dir` flags for more information. | ||
|
||
```sh | ||
$ make build | ||
make build | ||
``` | ||
|
||
In order to test the provider, you can simply run `make test`. | ||
|
||
```sh | ||
$ make test | ||
make test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.