No description
  • Go 89.5%
  • Shell 7.4%
  • Makefile 3.1%
Find a file
Caleb Albers bcdecbf765
Merge pull request #2 from hashicorp/compliance/add-license
[COMPLIANCE] Add MPL-2.0 LICENSE
2022-11-22 13:24:27 -08:00
rkt initial load 2020-04-07 23:05:51 -04:00
scripts initial load 2020-04-07 23:05:51 -04:00
vendor initial load 2020-04-07 23:05:51 -04:00
.gitignore initial load 2020-04-07 23:05:51 -04:00
CHANGELOG.md initial load 2020-04-07 23:05:51 -04:00
GNUmakefile initial load 2020-04-07 23:05:51 -04:00
LICENSE [COMPLIANCE] Add MPL 2.0 LICENSE 2022-10-12 18:42:24 +00:00
main.go initial load 2020-04-07 23:05:51 -04:00
README.md docs: be extremely clear about state of rkt 2020-04-08 08:39:10 -07:00
Vagrantfile initial load 2020-04-07 23:05:51 -04:00

🚨 Rkt has been abandoned upstream. Users are encouraged to migrate their workloads to a different task driver.

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