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.
- 21 Oct, 2020 1 commit
-
-
Tim Gross authored
When uploading a local binary for provisioning, the location that we pass into the provisioning script needs to be where we uploaded it to, not the source on our laptop. Also, the null_resource for uploading needs to read in the private key, not its path.
-
- 20 Oct, 2020 11 commits
-
-
Tim Gross authored
-
Alexander Shtuchkin authored
Fixes #9047, see problem details there. As a solution, we use BoltDB's 'Batch' mode that combines multiple parallel writes into small number of transactions. See https://github.com/boltdb/bolt#batch-read-write-transactions for more information.
-
Seth Hoenig authored
consul: add tests for meta/canarymeta interpolation
-
Seth Hoenig authored
-
Seth Hoenig authored
Expanding on #9096, add tests for making sure service.Meta and service.CanaryMeta are interpolated from environment variables.
-
Jorge Marey authored
-
Seth Hoenig authored
Remove limitation that has been fixed
-
Buck Doyle authored
Spinning is one of the triggers mentioned on this page: https://webkit.org/blog/7551/responsive-design-for-motion/ Thanks to @fivetanley for mentioning that this exists.
-
Seth Hoenig authored
deps: use upstream gopsutil once more
-
José Maia authored
Issue #6459 has been fixed for a while, but the docs still point to it as a limitation
-
Drew Bailey authored
* adds two base event stream e2e tests test evaluation filter keys are included * Apply suggestions from code review Co-authored-by:
Tim Gross <tgross@hashicorp.com> * gc aftereach Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
- 19 Oct, 2020 3 commits
-
-
Seth Hoenig authored
build: update gomod go version
-
Tim Gross authored
* update `tree` tool to pass lint-go * bump `tools/go.mod` to go1.15
-
Drew Bailey authored
* use msgtype in upsert node adds message type to signature for upsert node, update tests, remove placeholder method * UpsertAllocs msg type test setup * use upsertallocs with msg type in signature update test usage of delete node delete placeholder msgtype method * add msgtype to upsert evals signature, update test call sites with test setup msg type handle snapshot upsert eval outside of FSM and ignore eval event remove placeholder upsertevalsmsgtype handle job plan rpc and prevent event creation for plan msgtype cleanup upsertnodeevents updatenodedrain msgtype msg type 0 is a node registration event, so set the default to the ignore type * fix named import * fix signature ordering on upsertnode to match
-
- 18 Oct, 2020 1 commit
-
-
Mahmood Ali authored
Use GOPATH/src explicitly in proto build target
-
- 17 Oct, 2020 2 commits
-
-
Seth Hoenig authored
Keep go.mod go version up to date with the version of Go used to build Nomad.
-
Seth Hoenig authored
The PR we needed https://github.com/shirou/gopsutil/pull/889 has been merged upstream, which means we can use upstream rather than our fork of psutil.
-
- 16 Oct, 2020 14 commits
-
-
Tim Gross authored
The terms task directory and allocation directory are used throughout the documentation but these directories are not the same as the `NOMAD_TASK_DIR` and `NOMAD_ALLOC_DIR` locations. This is confusing when trying to use the `template` and `artifact` stanzas, especially when trying to use a destination outside the Nomad-mounted directories for Docker and similar drivers. This changeset introduces "allocation working directory" to mean the location on disk where the various directories and artifacts are staged, and "task working directory" for the task. Clarify how specific task drivers interact with the task working directory. Co-authored-by:
Charlie Voiselle <464492+angrycub@users.noreply.github.com>
-
Tim Gross authored
Co-authored-by:
Charlie Voiselle <464492+angrycub@users.noreply.github.com>
-
Michael Lange authored
Changelog entry for topo viz
-
Tim Gross authored
-
Tim Gross authored
-
Drew Bailey authored
* /v1/event/stream docs * events sidebar * wip server config * make ids match * fix typo * add server config opts * Update website/pages/api-docs/events.mdx Co-authored-by:
Seth Hoenig <shoenig@hashicorp.com> * Update website/pages/api-docs/events.mdx Co-authored-by:
Seth Hoenig <shoenig@hashicorp.com> * address feedback Co-authored-by:
Seth Hoenig <shoenig@hashicorp.com>
-
Tim Gross authored
Co-authored-by:
Charlie Voiselle <464492+angrycub@users.noreply.github.com>
-
Tim Gross authored
-
Tim Gross authored
The terms task directory and allocation directory are used throughout the documentation but these directories are not the same as the `NOMAD_TASK_DIR` and `NOMAD_ALLOC_DIR` locations. This is confusing when trying to use the `template` and `artifact` stanzas, especially when trying to use a destination outside the Nomad-mounted directories for Docker and similar drivers. This changeset introduces "allocation working directory" to mean the location on disk where the various directories and artifacts are staged, and "task working directory" for the task. Clarify how specific task drivers interact with the task working directory.
-
Tim Gross authored
The spread test is infrequently flaky and it's hard to extract what's actually happening. If the test fails, dump all the allocation metrics so that we can debug the behavior.
-
Tim Gross authored
Assert that we get at least N task events, rather than exactly N. When a task within an allocation dies, a sibling task can get an Allocation Unhealthy event after it's also killed, even though it's not the origin of the event.
-
Tim Gross authored
The `e2ejob` utility asserts that a job is running for 5s, but with a sleep time of 5s, the networking job can race with that check. Sleeping for a longer period should guarantee that we're running long enough to pass the assert. Also constrains the job to Linux because our Windows test targets don't yet support Docker (LCOW), and expand the set of DCs we can safely land on.
-
Mahmood Ali authored
Remove Nomad-spark reference from use-cases.mdx
-
Sahil authored
Removed ref to [Spark](https://github.com/hashicorp/nomad-spark) based on https://github.com/hashicorp/nomad-spark/commit/2c6092a2a6df6236282d2777e7de4a11c76f7cd6
-
- 15 Oct, 2020 8 commits
-
-
Drew Bailey authored
remove special node drain event type
-
Buck Doyle authored
Thanks to @mikehobi, whose work here this is adapted from: https://icons8.com/cssload/en/3d-loaders
-
Ben Buzbee authored
-I ../../.. is meant to navigate from `GOPATH/src/github.com/hashicorp/nomad` to `GOPATH/src` This is fine but it assumes a few things about how the dev has setup nomad, which is also fine if that is the expected dev environment, however the `../../..` is not as explicit as "GOPATH/src" and it would also enable a few more scenarios so it seems strictly better to me. Random example: nomad is a subrepo of ours, but with this change we can symlink from GOPATH/src/github.com/hashicorp/nomad and `make proto` will work.
-
Drew Bailey authored
event buffer size and durable count must be non negative
-
Drew Bailey authored
rely on standardized events instead of special node drain event
-
Drew Bailey authored
-
Mike Wickett authored
-
Nick Ethier authored
* consul: advertise cni and multi host interface addresses * structs: add service/check address_mode validation * ar/groupservices: fetch networkstatus at hook runtime * ar/groupservice: nil check network status getter before calling * consul: comment network status can be nil
-