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.
- 16 Jun, 2022 2 commits
-
-
James Hu authored
-
James Rasell authored
-
- 15 Jun, 2022 1 commit
-
-
Joseph Martin authored
* Return evalID if `-detach` flag is passed to job revert
-
- 14 Jun, 2022 7 commits
-
-
Charlie Voiselle authored
-
Tim Gross authored
The changelog entry for #13340 indicated it was an improvement. But on discussion, it was determined that this was a workaround for a regression. Update the changelog to make this clear.
-
Luiz Aoqui authored
In addition to jobs, there are other objects in Nomad that have a specific format and can be provided to commands and API endpoints. This commit creates a new menu section to hold the specification for volumes and update the command pages to point to the new centralized definition. Redirecting the previous entries is not possible with `redirect.js` because they are done server-side and URL fragments are not accessible to detect a match. So we provide hidden anchors with a link to the new page to guide users towards the new documentation. Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
Luiz Aoqui authored
These flags were not being used because GNUmakefile overwrites them with another value. We also don't want to set `-s -w` since they remove information that is important for production debug. In other projects this variable is used to override the default `-dev` prerelease that is set even if `VersionPrerelease` is empty, but in Nomad this check is never actually done because this conditional in `version/version.go` is always false: ```go func GetVersion() *VersionInfo { // ... rel := VersionPrerelease // ... if GitDescribe == "" && rel == "" && VersionPrerelease != "" { rel = "dev" } // ... } ``` This seems like some leftover from a previous release process, but I decided the leave the code as is.
-
Luiz Aoqui authored
* website: fix redirects with fragments Vercel redirects don't support fragments in relative destination paths, so an absolute URL must be specified instead. * website: fix Vercel redirect documentation link
-
Tim Gross authored
-
Grant Griffiths authored
Signed-off-by:
Grant Griffiths <ggriffiths@purestorage.com>
-
- 13 Jun, 2022 1 commit
-
-
Michael Schurter authored
-
- 10 Jun, 2022 6 commits
-
-
Derek Strickland authored
* template: improve default language for max_stale and wait Co-authored-by:
Michael Schurter <mschurter@hashicorp.com>
-
Daniel Rossbach authored
-
Seth Hoenig authored
build: rearrange go path order on windows
-
Luiz Aoqui authored
-
Seth Hoenig authored
If PATH comes first, an older version of Go is used that cannot install dependencies that use features of newer versions of Go, which we just installed.
-
Raffaele Di Fazio authored
-
- 09 Jun, 2022 4 commits
-
-
Seth Hoenig authored
helpers: provide a few generic helper functions
-
Seth Hoenig authored
This PR deprecates some functions in favor of generic alternatives. The new functions are compatible only with Nomad v1.4+. The old functions (nor their use) should not be removed until Nomad v1.6+.
-
Tim Gross authored
If the node has been GC'd or is down, we can't send it a node unpublish. The CSI spec requires that we don't send the controller unpublish before the node unpublish, but in the case where a node is gone we can't know the final fate of the node unpublish step. The `csi_hook` on the client will unpublish if the allocation has stopped and if the host is terminated there's no mount for the volume anyways. So we'll now assume that the node has unpublished at its end. If it hasn't, any controller unpublish will potentially hang or error and need to be retried.
-
phreakocious authored
Add boolean 'guest_agent' config option for QEMU driver, which will create the socket file for the QEMU Guest Agent in the task dir when enabled.
-
- 08 Jun, 2022 12 commits
-
-
Derek Strickland authored
docker: update images to reference hashicorpdev dockerhub organization generate job_init.bindata_assetfs.go Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-
Derek Strickland authored
consul-template: Add fault tolerant defaults Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
Shantanu Gadgil authored
`heartbeat_grace` is a `server` parameter, not a `client` parameter.
-
dependabot[bot] authored
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 ) --- updated-dependencies: - dependency-name: node-fetch dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [ember-page-title](https://github.com/ember-cli/ember-page-title) from 6.2.0 to 7.0.0. - [Release notes](https://github.com/ember-cli/ember-page-title/releases) - [Changelog](https://github.com/ember-cli/ember-page-title/blob/master/CHANGELOG.md) - [Commits](https://github.com/ember-cli/ember-page-title/compare/v6.2.0...v7.0.0 ) --- updated-dependencies: - dependency-name: ember-page-title dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 ) --- updated-dependencies: - dependency-name: node-fetch dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.2 to 3.1.4. - [Release notes](https://github.com/sindresorhus/semver-regex/releases) - [Commits](https://github.com/sindresorhus/semver-regex/compare/v3.1.2...v3.1.4 ) --- updated-dependencies: - dependency-name: semver-regex dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 ) --- updated-dependencies: - dependency-name: lodash-es dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.8 ) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [mout](https://github.com/mout/mout) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/mout/mout/releases) - [Changelog](https://github.com/mout/mout/blob/master/CHANGELOG.md) - [Commits](https://github.com/mout/mout/compare/v1.2.2...v1.2.3 ) --- updated-dependencies: - dependency-name: mout dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Luiz Aoqui authored
-
Tim Gross authored
-
- 07 Jun, 2022 4 commits
-
-
Tim Gross authored
As a performance optimization in the scheduler, feasibility checks that apply to an entire class are only checked once for all nodes of that class. Other feasibility checks are "available" checks because they rely on more ephemeral characteristics and don't contribute to the hash for the node class. This currently includes only CSI. We have a separate fast path for "available" checks when the node has already been marked eligible on the basis of class. This fast path has a bug where it returns early rather than continuing the loop. This causes the entire task group to be rejected. Fix the bug by not returning early in the fast path and instead jump to the top of the loop like all the other code paths in this method. Includes a new test exercising topology at whole-scheduler level and a fix for an existing test that should've caught this previously.
-
Derek Strickland authored
alloc_runner: stop sidecar tasks last
-
James Rasell authored
-
James Rasell authored
When deleting evaluations and allocations during a reap event, the index table entries for evals and allocs was updated irregardless of whether changes were made. This change modifies the state logic so that the index table is only modified when the corresponding table has actually been modified. Along with matching expected behaviour, this change has the potential to reduce the number of times blocking queries will return without any real state change.
-
- 06 Jun, 2022 3 commits
-
-
Tim Gross authored
-
Kevin Schoonover authored
-
Conor Evans authored
Signed-off-by:
Conor Evans <coevans@tcd.ie>
-