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.
- 12 Dec, 2019 4 commits
-
-
ebarriosjr authored
-
Buck Doyle authored
There are two changes here, and some caveats/commentary: 1. The “State“ table column was actually sorting only by status. The state was not an actual property, just something calculated in each client row, as a product of status, isEligible, and isDraining. This PR adds isDraining as a component of compositeState so it can be used for sorting. 2. The Sortable mixin declares dependent keys that cause the sort to be live-updating, but only if the members of the array change, such as if a new client is added, but not if any of the sortable properties change. This PR adds a SortableFactory function that generates a mixin whose listSorted computed property includes dependent keys for the sortable properties, so the table will live-update if any of the sortable properties change, not just the array members. There’s a warning if you use SortableFactory without dependent keys and via the original Sortable interface, so we can eventually migrate away from it.
-
Michael Lange authored
UI: Unclosed log streams
-
Tim Gross authored
Refactor the metrics end-to-end tests so they can be run with our e2e test framework. Runs fabio/prometheus and a collection of jobs that will cause metrics to be measured. We then query Prometheus to ensure we're publishing those allocation metrics and some metrics from the clients as well. Includes adding a placeholder for running the same tests on Windows.
-
- 11 Dec, 2019 4 commits
-
-
Seth Hoenig authored
tests: parallelize state store tests
-
Seth Hoenig authored
It has been decided we're going to live in a many core world. Let's take advantage of that and parallelize these state store tests which all run in memory and are largely CPU bound. An unscientific benchmark demonstrating the improvement: [mp state (master)] $ go test PASS ok github.com/hashicorp/nomad/nomad/state 5.162s [mp state (f-parallelize-state-store-tests)] $ go test PASS ok github.com/hashicorp/nomad/nomad/state 1.527s
-
Tim Gross authored
-
Drew Bailey authored
add 6828 to changelog
-
- 10 Dec, 2019 6 commits
-
-
Michael Schurter authored
Make note of Sentinel standard imports
-
Chris Arcand authored
> Sentinel-embedded applications can choose to whitelist or blacklist certain standard imports. Please reference the documentation for the Sentinel-enabled application you're using to determine if all standard imports are available.
-
Drew Bailey authored
-
Tim Gross authored
The `ALLOC_INDEX` isn't guaranteed to be unique, and this has caused some user confusion. The servers make a best-effort attempt to make this value unique from 0 to count-1 but when you have canaries on the task group, there are reused indexes because you have multiple job versions running at the same time. If a user needs a unique number for interpolating a value in your application, they can get this by combining the job version and the alloc index. Co-Authored-By:
Michael Schurter <mschurter@hashicorp.com>
-
Danielle authored
command: error when no node is found for `monitor`
-
Danielle Lancashire authored
Currently `nomad monitor -node-id` will panic when a node-id does not match any nodes, as there is no empty result bounds checking. Here we return an error to the user when no nodes are found.
-
- 09 Dec, 2019 9 commits
-
-
Chris Dickson authored
-
Seth Hoenig authored
tests: swap lib/freeport for tweaked helper/freeport
-
Tim Gross authored
Bump lodash.mergewith from 4.6.1 to 4.6.2 in /ui
-
Tim Gross authored
Bump lodash.defaultsdeep from 4.6.0 to 4.6.1 in /ui
-
Seth Hoenig authored
Copy the updated version of freeport (sdk/freeport), and tweak it for use in Nomad tests. This means staying below port 10000 to avoid conflicts with the lib/freeport that is still transitively used by the old version of consul that we vendor. Also provide implementations to find ephemeral ports of macOS and Windows environments. Ports acquired through freeport are supposed to be returned to freeport, which this change now also introduces. Many tests are modified to include calls to a cleanup function for Server objects. This should help quite a bit with some flakey tests, but not all of them. Our port problems will not go away completely until we upgrade our vendor version of consul. With Go modules, we'll probably do a 'replace' to swap out other copies of freeport with the one now in 'nomad/helper/freeport'.
-
dependabot[bot] authored
Bumps [lodash.mergewith](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/commits ) Signed-off-by:
dependabot[bot] <support@github.com>
-
Tim Gross authored
Bump handlebars from 4.1.1 to 4.1.2 in /ui
-
Tim Gross authored
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12. - [Release notes](https://github.com/npm/fstream/releases) - [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12 ) Signed-off-by:
dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/commits ) Signed-off-by:
dependabot[bot] <support@github.com>
-
- 07 Dec, 2019 1 commit
-
-
Mahmood Ali authored
logmon: add timeout to RPC operations
-
- 06 Dec, 2019 11 commits
-
-
abhip authored
The url for raft algorithm pdf is no longer valid. Here is correct url - https://raft.github.io/raft.pdf and website is https://raft.github.io/
-
Seth Hoenig authored
swap gometalint for golangci-lint
-
dependabot[bot] authored
Bumps [lodash.defaultsdeep](https://github.com/lodash/lodash) from 4.6.0 to 4.6.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.6.0...4.6.1 ) Signed-off-by:
dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2 ) Signed-off-by:
dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12. - [Release notes](https://github.com/npm/fstream/releases) - [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12 ) Signed-off-by:
dependabot[bot] <support@github.com>
-
Charlie Voiselle authored
-
Fredrik Hoem Grelland authored
There is an undocumented way of mapping a dynamically allocated port to the container. This is applicable in bridge networking ( necessary for consul connect enabled services ) to expose the service *directly*. This is needed when using upstream connect services, but you need to expose the service by normal means. By referencing the current documentation you need to use static ports in order to do so. Introduced in #6189 but undocumented
-
James Rasell authored
-
Seth Hoenig authored
You'd think since golangci-lint embeds misspell we could use that, but it fails to run if it finds no Go source files, which is the case in our website/ directory that we want to check.
-
Danielle Lancashire authored
-
Danielle Lancashire authored
gometalinter has been deprecated, with golangci-lint as its spiritual and recommended successor. Here we switch to using it with an equivalent configuration, albeit with newer versions of some linters. To maintain compatibility with existing settings, we have a couple of things disabled here, specifically: - tests We have a lot of unused code in our tests that choke deadcode. We should attempt to clean these up soon so that we can lint our testcode. - govet.check-shadowing = false This breaks on redefining `err` which we do all over the nomad codebase.
-
- 05 Dec, 2019 5 commits
-
-
Michael Lange authored
-
Mahmood Ali authored
docs: port name requires quotes in hcl
-
Hugo Herter authored
When trying to run this example, Nomad v0.10.2 raises the following error: `Error getting job struct: Error parsing job file from example-ipv6.hcl: error parsing: At 33:22: Unknown token: 27:16 IDENT db` Adding quotes around the port map `db` fixes the problem and the job works as expected.
-
Michael Lange authored
-
Michael Lange authored
-