This project is mirrored from https://gitee.com/mirrors/nomad.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 14 Apr, 2021 1 commit
-
-
Charlie Voiselle authored
-
- 08 Apr, 2021 1 commit
-
-
Mahmood Ali authored
Fix HCL2 panics when parsing undefined variables
-
- 07 Apr, 2021 21 commits
-
-
Mike Wickett authored
* website: add customer testimonial to homepage * website: remove one testimonial, remove product logos
-
Mahmood Ali authored
makefile cleanup
-
Mahmood Ali authored
With the updated undefined variable code, we attempt to pick the text of `${....}` verbatim from the hcl body. Previously, we'd attempt to regenerate the string from the AST and pray it matches input; the generation is lossy, as the same AST can represent multiple variations (e.g. `${v.0}` and `${v[0]}` have the same HCLv2 AST). In this change, we attempt to go back to the hcl2 source and find the string snippet corresponding to the variable reference.
-
Mahmood Ali authored
Update hcl/v2 to point to https://github.com/hashicorp/hcl/commits/nomad-v2.9.1+tweaks1
-
Mahmood Ali authored
-
Brandon Romano authored
Updates stackmenu to latest
-
Luiz Aoqui authored
-
Tim Gross authored
-
Tim Gross authored
-
Tim Gross authored
Our API client `delete` method doesn't include a request body, but accepts an interface for the response. We were accidentally putting the request body into the response, which doesn't get picked up in unit tests because we're not reading the (always empty) response body anyways.
-
Tim Gross authored
-
Tim Gross authored
-
Tim Gross authored
Consumers of the CSI HTTP API are expecting a response object and not a slice of snapshots. Fix the return value.
-
Tim Gross authored
The plugin stub object does not include fine-grained capability checks, which means `nomad volume status -verbose` will return ugly and verbose error "Unimplemented" messages from the plugin if it does not support the CSI `ListVolumes` RPC. Return a nicer error message from our RPC handler instead.
-
Tim Gross authored
The HTTP router did not correctly route `/v1/volumes/external` without being explicitly added to the top-level router. Break this out into its own request handler.
-
Tim Gross authored
If a plugin returns an error, we should continue at the outer scope to query the next plugin, otherwise we just retry the plugin we got an error on (potentially infinitely if it's an invalid request like an unsupported plugin).
-
Tim Gross authored
Add new `access_mode`/`attachment_mode` fields. Make it more clear which set of fields belong to create vs register. Update the example spec that's generated by `volume init`.
-
Tim Gross authored
Registration of Nomad volumes previously allowed for a single volume capability (access mode + attachment mode pair). The recent `volume create` command requires that we pass a list of requested capabilities, but the existing workflow for claiming volumes and attaching them on the client assumed that the volume's single capability was correct and unchanging. Add `AccessMode` and `AttachmentMode` to `CSIVolumeClaim`, use these fields to set the initial claim value, and add backwards compatibility logic to handle the existing volumes that already have claims without these fields.
-
Tim Gross authored
-
Tim Gross authored
-
Chris Baker authored
fix potential race condition in API client
-
- 06 Apr, 2021 10 commits
-
-
Chris Baker authored
-
Chris Baker authored
-
Chris Baker authored
-
Chris Baker authored
-
Brandon Romano authored
-
Chris Baker authored
-
Chris Baker authored
enable -race detector for testing api
-
Luiz Aoqui authored
-
Seth Hoenig authored
build: install buf during bootstrap
-
Seth Hoenig authored
Previously installing buf was left out of `make bootstrap` because it had conflicts with the `tools/go.mod` file and dependencies used by other tools. With Go 1.16 we eliminated that `go.mod` file, and can now just install `buf` with `go install` like everything else.
-
- 05 Apr, 2021 7 commits
-
-
Michael Lange authored
Fix the broken link in the bootstrapping custom scheduler warning
-
Michael Lange authored
-
Drew Bailey authored
-
Seth Hoenig authored
consul: plumbing for specifying consul namespace in job/group
-
Seth Hoenig authored
-
Seth Hoenig authored
Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
Seth Hoenig authored
This PR adds the common OSS changes for adding support for Consul Namespaces, which is going to be a Nomad Enterprise feature. There is no new functionality provided by this changeset and hopefully no new bugs.
-