Add basic nomad integration and runner provider

This commit is contained in:
Maximilian Paß
2021-05-04 13:04:37 +02:00
parent 40a22ecbb1
commit c092199693
24 changed files with 1141 additions and 34 deletions

View File

@ -69,3 +69,11 @@ You can create a self-signed certificate to use with this API using the followin
```shell
$ openssl req -x509 -nodes -newkey rsa:2048 -keyout server.rsa.key -out server.rsa.crt -days 3650
```
## Tests
As testing framework we use the [testify](https://github.com/stretchr/testify) toolkit.
For mocks we use [mockery](https://github.com/vektra/mockery).
With Mockery, you can create mocks by running `mockery -r --name=<<interface_name>>` on a specific interface.
If the interface changes, you can rerun this command.
For e2e tests we provide a separate package. E2e tests require the connection to a Nomad cluster.