Alex Dadgar
|
5320205853
|
Sort signals in implicit constraint
Fixes https://github.com/hashicorp/nomad/issues/4212
|
2018-04-26 10:12:47 -07:00 |
Michael Schurter
|
341d87aa48
|
tests: use mock.BatchJob to fix tests
|
2018-03-21 16:51:45 -07:00 |
Michael Schurter
|
c3e8f6319c
|
gofmt -s (simplify) files
|
2018-03-16 16:31:16 -07:00 |
Alex Dadgar
|
586ae36d13
|
Batch Deregister RPC
|
2018-03-16 10:53:03 -07:00 |
Michael Schurter
|
7dd7fbcda2
|
non-Existent -> nonexistent
Reverting from #3963
https://www.merriam-webster.com/dictionary/existent
|
2018-03-12 11:59:33 -07:00 |
Josh Soref
|
85fabc63c8
|
spelling: expected
|
2018-03-11 17:57:01 +00:00 |
Josh Soref
|
7f6e4012a0
|
spelling: existent
|
2018-03-11 18:30:37 +00:00 |
Alex Dadgar
|
a6dfffa4fa
|
Add testing interfaces
|
2018-02-15 13:59:00 -08:00 |
Chelsea Holland Komlo
|
2f22442370
|
use assert library
|
2017-12-06 15:03:02 -05:00 |
Chelsea Holland Komlo
|
b08611cfac
|
move kill_signal to task level, extend to docker
|
2017-12-06 14:36:39 -05:00 |
Michael Schurter
|
84d8a51be1
|
SecretID -> AuthToken
|
2017-10-12 15:16:33 -07:00 |
Michael Schurter
|
57ff12432b
|
Move acl helpers from nomad/ into nomad/mock
They're useful in command/agent/ tests.
|
2017-10-06 14:50:06 -07:00 |
Chelsea Komlo
|
7c8a5228d4
|
Merge pull request #3290 from hashicorp/f-acl-job-dispatch
Add ACL for dispatch job
|
2017-10-06 13:33:21 -04:00 |
Chelsea Komlo
|
97e34725e1
|
Merge pull request #3278 from hashicorp/f-acl-job-getjob
Add ACL for GetJob
|
2017-09-29 17:44:31 -04:00 |
Chelsea Komlo
|
388cdaa2e8
|
Merge pull request #3272 from hashicorp/f-acl-job-stable
Add ACL endpoint for Job Stable
|
2017-09-29 17:44:09 -04:00 |
Michael Schurter
|
a66c53d45a
|
Remove `structs` import from `api`
Goes a step further and removes structs import from api's tests as well
by moving GenerateUUID to its own package.
|
2017-09-29 10:36:08 -07:00 |
Chelsea Komlo
|
3a015016cc
|
Merge pull request #3294 from hashicorp/f-acl-job-deregister
Add ACL for job deregister
|
2017-09-28 10:57:51 -04:00 |
Chelsea Komlo
|
c54a4f7c91
|
Merge pull request #3291 from hashicorp/f-acl-get-job-versions
Add ACL for job endpoint GetJobVersions
|
2017-09-28 10:35:19 -04:00 |
Chelsea Holland Komlo
|
c242ac1431
|
job dispatch should have dispatch policy
|
2017-09-28 14:28:28 +00:00 |
Chelsea Komlo
|
77ae328fbe
|
Merge pull request #3276 from hashicorp/f-acl-job-evaluate
Add read job permissions to evaluate endpoint
|
2017-09-27 18:01:15 -04:00 |
Chelsea Holland Komlo
|
90adc4dbc9
|
add checks for error message
|
2017-09-27 21:35:03 +00:00 |
Chelsea Komlo
|
d3d1bc6498
|
Merge pull request #3279 from hashicorp/f-acl-job-allocations
Add ACL to job allocations endpoint
|
2017-09-27 16:57:04 -04:00 |
Chelsea Komlo
|
8f1c89c721
|
Merge pull request #3283 from hashicorp/f-acl-job-latest-deployment
Add ACL to latest job api
|
2017-09-27 16:54:44 -04:00 |
Chelsea Holland Komlo
|
1bab53c9fd
|
acl for job deregister
|
2017-09-27 19:21:10 +00:00 |
Chelsea Komlo
|
b40de659a7
|
Merge pull request #3281 from hashicorp/f-acl-job-evaluations
Add ACL for Job Evaluations endpoint
|
2017-09-27 15:15:35 -04:00 |
Chelsea Holland Komlo
|
36e3212012
|
add acl for job endpoint GetJobVersions
|
2017-09-27 17:29:08 +00:00 |
Chelsea Komlo
|
b2cb0129c8
|
Merge pull request #3282 from hashicorp/f-acl-job-deployments
Add ACL for job deployments endpoint
|
2017-09-27 12:42:25 -04:00 |
Chelsea Holland Komlo
|
0db1367d43
|
add acl for dispatch job
|
2017-09-27 16:33:49 +00:00 |
Chelsea Holland Komlo
|
c4ac20f852
|
fix up comment
|
2017-09-27 15:25:10 +00:00 |
Chelsea Holland Komlo
|
d9701fed37
|
fixups from code review
|
2017-09-27 15:23:38 +00:00 |
Chelsea Holland Komlo
|
0ba6a1df0d
|
fixups from code review
|
2017-09-27 15:20:18 +00:00 |
Chelsea Holland Komlo
|
4b90de992e
|
fixups from code review
|
2017-09-27 15:07:45 +00:00 |
Alex Dadgar
|
4173834231
|
Enable more linters
|
2017-09-26 15:26:33 -07:00 |
Chelsea Holland Komlo
|
f4b7451c62
|
add acl to lastest job api
|
2017-09-26 20:53:43 +00:00 |
Chelsea Holland Komlo
|
55c4ca187e
|
add acl for job deployments endpoint
|
2017-09-26 20:33:03 +00:00 |
Chelsea Holland Komlo
|
a7b7b3f6c6
|
add acl for Job Evaluations endpoint
|
2017-09-26 20:12:37 +00:00 |
Chelsea Holland Komlo
|
2fb7772c2c
|
add acl to job allocations endpoint
|
2017-09-26 18:01:23 +00:00 |
Chelsea Holland Komlo
|
d3e8b4812b
|
better test assertions
|
2017-09-26 17:41:53 +00:00 |
Chelsea Holland Komlo
|
f912619157
|
add ACL for GetJob endpoint
|
2017-09-26 17:38:03 +00:00 |
Chelsea Holland Komlo
|
5f467a84d3
|
add read job permissions to evaluate endpoint
|
2017-09-26 16:05:17 +00:00 |
Chelsea Holland Komlo
|
78f853e253
|
add ACL endpoint for Job Stable
|
2017-09-25 22:17:58 +00:00 |
Chelsea Holland Komlo
|
014dc2d7de
|
Add ACL for Revert Job endpoint
|
2017-09-25 21:51:19 +00:00 |
Chelsea Holland Komlo
|
18f4aa6fb3
|
fix type
|
2017-09-25 17:41:17 +00:00 |
Chelsea Holland Komlo
|
d9ac59f6b0
|
add acl for job validate endpoint
|
2017-09-25 17:34:02 +00:00 |
Alex Dadgar
|
e5ec915ac3
|
sync
|
2017-09-19 10:08:23 -05:00 |
Chelsea Holland Komlo
|
8727092e8e
|
add job list acl
|
2017-09-15 21:26:27 +00:00 |
Chelsea Holland Komlo
|
be7efd71d4
|
fixups from code review
|
2017-09-14 20:14:38 +00:00 |
Chelsea Holland Komlo
|
0d28c95b6b
|
use separate response object
|
2017-09-14 19:17:05 +00:00 |
Chelsea Holland Komlo
|
79abb9810b
|
update to use ACL test helpers
|
2017-09-14 19:08:25 +00:00 |
Chelsea Holland Komlo
|
3eff2a06c5
|
add job endpoint ACL
|
2017-09-14 18:17:35 +00:00 |
Alex Dadgar
|
84d06f6abe
|
Sync namespace changes
|
2017-09-07 17:04:21 -07:00 |
Armon Dadgar
|
ac6283c31f
|
nomad: enforce ACLs on job submit
|
2017-09-04 13:05:53 -07:00 |
Luke Farnell
|
f0ced87b95
|
fixed all spelling mistakes for goreport
|
2017-08-07 17:13:05 -04:00 |
Alex Dadgar
|
06eddf243c
|
parallel nomad tests
|
2017-07-25 17:39:36 -07:00 |
Alex Dadgar
|
45712c6ca3
|
test fixes
|
2017-07-07 14:11:27 -07:00 |
Alex Dadgar
|
9f016606aa
|
Fix some tests, eval monitor shows deployment id and deployment cancels based on version
|
2017-07-07 12:12:48 -07:00 |
Alex Dadgar
|
5457bb7962
|
Job stability
|
2017-07-07 12:10:04 -07:00 |
Alex Dadgar
|
09dfa2fc10
|
Rename CreateDeployments and remove cancelling behavior in state_store
|
2017-07-07 12:10:04 -07:00 |
Alex Dadgar
|
abf34204cc
|
JobVersions returns struct with optional diff
|
2017-07-07 12:05:57 -07:00 |
Alex Dadgar
|
f233629a4f
|
job deployment endpoint + api
|
2017-07-07 12:05:56 -07:00 |
Alex Dadgar
|
8f4b22c1e1
|
Fix tests
|
2017-07-07 12:03:11 -07:00 |
Alex Dadgar
|
07b1c3e5db
|
Only upsert a job if the spec changes and push deployment creation into reconciler
|
2017-07-07 12:03:11 -07:00 |
Michael Schurter
|
9c56f70d12
|
Validate job updates
Incurs a local read-before-write but because validation is transitive
there's no need to retry the read-validate-write on concurrent updates.
|
2017-06-27 16:08:18 -07:00 |
Alex Dadgar
|
6232b66ea7
|
Thread through warnings about deprecations
|
2017-05-09 20:52:47 -07:00 |
Alex Dadgar
|
321e01988a
|
Don't allow revert to current version
|
2017-04-20 11:14:06 -07:00 |
Alex Dadgar
|
1b97c9abdd
|
Revert server endpoint
|
2017-04-20 11:14:06 -07:00 |
Alex Dadgar
|
34332af70e
|
GC and some fixes
|
2017-04-15 17:08:05 -07:00 |
Alex Dadgar
|
7abcdff7fd
|
GetJobVersions server endpoint
|
2017-04-15 17:08:05 -07:00 |
Alex Dadgar
|
103e8d21fb
|
Fix dispatch of periodic job
This PR fixes an issue in which when a periodic and parameterized job
was dispatched, an allocation would be immediately created.
Fixes https://github.com/hashicorp/nomad/issues/2470
|
2017-03-27 16:55:17 -07:00 |
Alex Dadgar
|
d182aac7a7
|
Fix nomad tests
|
2017-02-07 22:10:33 -08:00 |
Alex Dadgar
|
04862ca10e
|
Tests compile
|
2017-02-07 21:30:57 -08:00 |
Alex Dadgar
|
07bc00404e
|
fix typo
|
2017-01-22 14:08:40 -08:00 |
Michael Schurter
|
1f7b5b4b47
|
Rename Constructor -> Parameterized Job
|
2017-01-20 12:43:10 -08:00 |
Alex Dadgar
|
4e8035756b
|
Fix test and prevent job with payload from being submitted
|
2016-12-18 16:32:14 -08:00 |
Alex Dadgar
|
2761e1d8ea
|
fix tests
|
2016-12-16 10:21:56 -08:00 |
Alex Dadgar
|
4a5c3c8db0
|
Rename structs
|
2016-12-14 14:28:43 -08:00 |
Alex Dadgar
|
ef79e77e52
|
Children summary
|
2016-12-06 17:06:57 -08:00 |
Alex Dadgar
|
92228da6a8
|
Dispatch tests
|
2016-12-02 15:37:26 -08:00 |
Alex Dadgar
|
df4398beac
|
Implement blocking queries for /v1/job/evaluations
|
2016-10-29 17:30:34 -07:00 |
Alex Dadgar
|
aadc9e3017
|
Add implicit signal constraint and validate that a driver can handle the signal. Also fixes a bug with plan and implicit constraints by adding them to the job being planned
|
2016-10-20 13:55:35 -07:00 |
Alex Dadgar
|
d6606ecbe5
|
tests
|
2016-10-18 14:54:14 -07:00 |
Alex Dadgar
|
82960c46d8
|
Tests
|
2016-10-11 13:28:18 -07:00 |
Alex Dadgar
|
874dfbc84a
|
Implicit vault constraint
|
2016-09-01 14:23:40 -07:00 |
Alex Dadgar
|
b0adaa5301
|
Allow root token
|
2016-09-01 12:05:08 -07:00 |
Diptanu Choudhury
|
05fe72e89e
|
fixed the exec fingerprinter test
|
2016-08-23 16:40:56 -05:00 |
Alex Dadgar
|
9bd9948c5b
|
Job Register endpoint validates token
|
2016-08-17 16:25:38 -07:00 |
Diptanu Choudhury
|
cc37ec33cf
|
Renamed Job.GetJobSummary to Job.Summary
|
2016-07-25 17:31:40 -07:00 |
Diptanu Choudhury
|
de2c79f421
|
Added test for blocking query of job summary endpoint
|
2016-07-25 17:26:38 -07:00 |
Diptanu Choudhury
|
cce5f483ae
|
Added some more tests
|
2016-07-25 17:26:38 -07:00 |
Diptanu Choudhury
|
dabb83063b
|
Review comments
|
2016-07-25 17:26:38 -07:00 |
Diptanu Choudhury
|
50842b88c7
|
Fixed some bugs
|
2016-07-25 17:26:38 -07:00 |
Diptanu Choudhury
|
a5bb0ca6fc
|
Moved the job endpoint around
|
2016-07-25 17:26:38 -07:00 |
Alex Dadgar
|
8e231fa382
|
Rename ConsulService back to Service
|
2016-06-12 16:36:49 -07:00 |
Alex Dadgar
|
480a281031
|
Merge pull request #1243 from hashicorp/f-run-modify-index
Add check-index flag to nomad run
|
2016-06-11 16:12:53 -07:00 |
Sean Chittenden
|
7956eb0c80
|
Rename structs.Task's `Service` attribute to `ConsulService`
|
2016-06-10 15:54:39 -04:00 |
Alex Dadgar
|
5d181d203c
|
Add check-index flag to nomad run
|
2016-06-08 17:56:32 -07:00 |
Alex Dadgar
|
b1298bb658
|
plan shows failure reasons and ordered annotations
|
2016-05-31 21:51:23 +00:00 |
Alex Dadgar
|
5085c25f8b
|
Rename Cas to JobModifyIndex
|
2016-05-16 11:48:44 -07:00 |
Alex Dadgar
|
7a44ec5ccc
|
Remove plan from the response
|
2016-05-12 11:29:38 -07:00 |
Alex Dadgar
|
2bd962ca0d
|
add endpoint tests
|
2016-05-11 17:02:14 -07:00 |
Alex Dadgar
|
f38ed64938
|
Validate driver config on job register
|
2016-04-13 15:55:46 -07:00 |
Alex Dadgar
|
adbc7ed0d8
|
Merge pull request #981 from hashicorp/f-eval-force
Deregister creates an eval for a job even if it doesn't exist
|
2016-03-25 11:54:15 -07:00 |
Alex Dadgar
|
8968ff30c8
|
deregister creates an eval for a job even if it doesn't exist
|
2016-03-24 11:41:46 -07:00 |
Alex Dadgar
|
47390c5186
|
remove the GC field on the job and use the job type
|
2016-03-23 18:02:01 -07:00 |
Alex Dadgar
|
41efdcb1c3
|
Add JobModifyIndex
|
2016-01-12 09:50:33 -08:00 |
Ivo Verberk
|
fd177f4c6f
|
Bring up-to-date with master
|
2015-12-24 21:16:32 +01:00 |
Ivo Verberk
|
0c01ca49e6
|
Refactoring continued
* Refactor other cli commands to new design
* Add PrefixList method to api package
* Add more tests
|
2015-12-24 20:53:37 +01:00 |
Alex Dadgar
|
610cfe4b34
|
Small fixes and test fixes
|
2015-12-23 18:26:39 -08:00 |
Alex Dadgar
|
8c484875ce
|
Job endpoint handles periodic jobs
|
2015-12-23 18:26:39 -08:00 |
Alex Dadgar
|
6840bcb0bd
|
Don't allow users to set gc and make batch gc
|
2015-12-16 15:00:45 -08:00 |
Diptanu Choudhury
|
5090d27adc
|
Fixed the job endpoints test
|
2015-12-14 17:17:29 -08:00 |
Diptanu Choudhury
|
87233649b9
|
Copied generated id and names
|
2015-12-10 16:38:29 -08:00 |
Halil Kaskavalci
|
ab2979ea21
|
Fixed typo on variable name
|
2015-12-01 08:13:02 +02:00 |
Halil Kaskavalci
|
8957a47ec4
|
Fixed git vet error on formatting
|
2015-11-30 10:27:26 +00:00 |
Diptanu Choudhury
|
0bd34215c5
|
Fixing the GetJob test
|
2015-11-26 19:43:02 -08:00 |
Diptanu Choudhury
|
cbfe727100
|
Making the Job expand all service names during registration
|
2015-11-26 19:26:00 -08:00 |
Ryan Uber
|
d21c49dedd
|
nomad: cleanup and more tests
|
2015-10-30 08:27:47 -07:00 |
Ryan Uber
|
ff37110deb
|
nomad: more tests
|
2015-10-29 19:14:21 -07:00 |
Ryan Uber
|
a0e54d6f62
|
nomad: support blocking queries on job allocations
|
2015-10-29 15:32:05 -07:00 |
Ryan Uber
|
c8c3ded1d7
|
nomad: support blocking queries on single jobs
|
2015-10-29 15:01:29 -07:00 |
Ryan Uber
|
6b76a3fc62
|
nomad: fix node test output
|
2015-10-28 18:35:48 -07:00 |
Ryan Uber
|
1fdbd54611
|
nomad: job watches return correct response, add tests
|
2015-10-28 12:43:00 -07:00 |
Ryan Uber
|
ee44b43f33
|
nomad: initial pass at blocking queries for jobs
|
2015-10-27 17:58:04 -07:00 |
Alex Dadgar
|
29f141af85
|
Fix race condition in server endpoint tests in which workers would process evals before there status could be asserted
|
2015-10-08 15:36:42 -07:00 |
Armon Dadgar
|
2ff133c0e6
|
nomad: rename region1 to global. Fixes #41
|
2015-09-13 18:18:40 -07:00 |
Armon Dadgar
|
8bedd3769c
|
nomad: unifying the state store API
|
2015-09-06 20:56:38 -07:00 |
Armon Dadgar
|
1a5579384a
|
nomad: cleanup API descrepencies
|
2015-09-06 20:47:42 -07:00 |
Armon Dadgar
|
0bba163ef7
|
nomad: adding job query endpoints
|
2015-09-06 12:18:45 -07:00 |
Armon Dadgar
|
0c07e8ef11
|
nomad: endpoint to force re-evaluation of job
|
2015-08-15 18:11:26 -07:00 |
Armon Dadgar
|
aadecdd805
|
nomad: adding version API endpoint
|
2015-08-15 12:59:10 -07:00 |
Armon Dadgar
|
343b1b9c89
|
nomad: move state and mocks into shared packages
|
2015-08-11 14:27:14 -07:00 |
Armon Dadgar
|
98dc6e13fd
|
nomad: client updates generate evaluaitons
|
2015-08-06 16:39:20 -07:00 |
Armon Dadgar
|
3002698393
|
nomad: job deregister creates an evaluation
|
2015-08-06 14:17:18 -07:00 |
Armon Dadgar
|
41a4a21caf
|
nomad: job create/update creates evaluation
|
2015-08-06 11:48:44 -07:00 |
Armon Dadgar
|
d39d3585a2
|
nomad: reduce mixed terminology by adding ID to Job
|
2015-07-23 15:15:48 -07:00 |
Armon Dadgar
|
501a57f9d8
|
nomad: Adding the CRUD endpoints for jobs
|
2015-07-23 14:41:18 -07:00 |