schmichael / nomad-driver-rkt

HashiCorp Nomad Rkt driver plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nomad Rkt Driver

Requirements

  • Nomad 0.9+
  • Go 1.12.16 (to build the provider plugin)

Building The Driver

Clone repository to: $GOPATH/src/github.com/hashicorp/nomad-driver-rkt

$ mkdir -p $GOPATH/src/github.com/hashicorp; cd $GOPATH/src/github.com/hashicorp
$ git clone git@github.com:hashicorp/nomad-driver-rkt

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/hashicorp/nomad-driver-rkt
$ make build

Using the driver

Developing the Provider

If you wish to work on the driver, you'll first need Go installed on your machine. You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make build

In order to test the provider, you can simply run make test.

$ make test

About

HashiCorp Nomad Rkt driver plugin


Languages

Language:Go 89.5%Language:Shell 7.4%Language:Makefile 3.1%