deps: Switch to Go modules for dependency management

This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
This commit is contained in:
Seth Hoenig
2020-05-30 09:29:47 -05:00
parent c505079a42
commit 15fb4c990a
3837 changed files with 446700 additions and 762259 deletions

4
.gitignore vendored
View File

@@ -60,6 +60,7 @@ nomad_linux_amd64
nomad_darwin_amd64
TODO.md
codecgen-*.generated.go
**/structs.generated.go
GNUMakefile.local
.terraform
@@ -104,3 +105,6 @@ azure-hashistack.pem
# generated keys for e2e tests
e2e/terraform/keys/
# darwin CGO files copied for build
vendor/github.com/shirou/gopsutil/host/include/