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.
- 22 Jul, 2021 8 commits
-
-
Seth Hoenig authored
deps: upgrade consul api to 1.9.1
-
Seth Hoenig authored
env/aws: update ec2 cpu data
-
Jai authored
edit ember-can to add additional attribute for namespace
-
Jai Bhagat authored
-
Jai Bhagat authored
-
Seth Hoenig authored
using tools/ec2info ``` $ go run . ```
-
Seth Hoenig authored
-
Seth Hoenig authored
core: remove internalization of affinity strings
-
- 21 Jul, 2021 6 commits
-
-
Jai Bhagat authored
-
James Rasell authored
docs: fixup regions API documentation path to include version.
-
Luiz Aoqui authored
-
Luiz Aoqui authored
-
Luiz Aoqui authored
-
James Rasell authored
-
- 20 Jul, 2021 3 commits
-
-
Nicholas Cioli authored
* ui: add parameterized dispatch interface This commit adds a new interface for dispatching parameteried jobs, if the user has the right permissions. The UI can be accessed by viewing a parameterized job and clicking on the "Dispatch Job" button located in the "Job Launches" section. * fix failing lint test * clean up dispatch and remove meta This commit cleans up a few things that had typos and inconsistent naming. In line with this, the custom `meta` view was removed in favor of using the included `AttributesTable`. * ui: encode dispatch job payload and start adding tests * ui: remove unused test imports * ui: redesign job dispatch form * ui: initial acceptance tests for dispatch job * ui: generate parameterized job children with correct id format * ui: fix job dispatch breadcrumb link * ui: refactor job dispatch component into glimmer component and add form validation * ui: remove unused CSS class * ui: align...
-
Jai Bhagat authored
In job versions, if you have an ACL token with a write policy you should be able to revert a job, however, that was not the case here. This is because we're using ember-can to check if the user can run a job. That permission relies on policiesSupportRunning which uses a function called namespaceIncludesCapability. We're going to need to refactor any cases that use this function.
-
Mahmood Ali authored
When the client launches, use a consistent read to fetch its own allocs, but allow stale read afterwards as long as reads don't revert into older state. This change addresses an edge case affecting restarting client. When a client restarts, it may fetch a stale data concerning its allocs: allocs that have completed prior to the client shutdown may still have "run/running" desired/client status, and have the client attempt to re-run again. An alternative approach is to track the indices such that the client set MinQueryIndex on the maximum index the client ever saw, or compare received allocs against locally restored client state. Garbage collection complicates this approach (local knowledge is not complete), and the approach still risks starting "dead" allocations (e.g. the allocation may have been placed when client just restarted and have already been reschuled by the time the client started. This approach here is effective again...
-
- 19 Jul, 2021 1 commit
-
-
Michael Schurter authored
Don't treat a failed recover + successful destroy as a successful recover
-
- 16 Jul, 2021 5 commits
-
-
Michael Schurter authored
-
Kent 'picat' Gruber authored
Handle successful/canceled/blocked deployments in CLI output
-
Mahmood Ali authored
Fix typo.
-
Kent 'picat' Gruber authored
-
Alan Guo Xiang Tan authored
-
- 15 Jul, 2021 2 commits
-
-
Kent 'picat' Gruber authored
-
Seth Hoenig authored
Basically the same as #10896 but with the Affinity struct. Since we use reflect.DeepEquals for job comparison, there is risk of false positives for changes due to a job struct with memoized vs non-memoized strings. Closes #10897
-
- 14 Jul, 2021 12 commits
-
-
Mahmood Ali authored
cli: `-namespace` should override job namespace
-
Mahmood Ali authored
scheduler: datacenter updates should be destructive
-
Mahmood Ali authored
Job `test-e2e` uses an unprivileged user to compile and run tests. Ensure that the user has ssh and git properly configured to checkout dependencies.
-
Seth Hoenig authored
build: no longer use vendor directory
-
Seth Hoenig authored
core: do not internalize constraint strings
-
Seth Hoenig authored
-
Seth Hoenig authored
This PR removes the vendor directory from the Nomad repository. Contributers will no longer need to deal with our `make sync` step when working on Nomad, which was suprising when making changes to the api. It also causes huge diffs in PRs that nobody looks at.
-
Seth Hoenig authored
-
Seth Hoenig authored
-
Seth Hoenig authored
-
Seth Hoenig authored
This PR causes Nomad to no longer memoize the String value of a Constraint. The private memoized variable may or may not be initialized at any given time, which means a reflect.DeepEqual comparison between two jobs (e.g. during Plan) may return incorrect results. Fixes #10836
-
James Rasell authored
deps: update consul-template to v0.25.2.
-
- 13 Jul, 2021 3 commits
-
-
Luiz Aoqui authored
-
Jai Bhagat authored
We wanted the ability to get our namespace from query params in order to do this, we're using additional attributes via ember-can to set a bound property directly from our handlebar file. This sets us up better in the event that the namespace filter changes on the UI because our handlebar file will be aware of the change, whereas our ability may not update as the namespace filter updates.
-
James Rasell authored
-