Commit graph

8272 commits

Author SHA1 Message Date
Chelsea Holland Komlo 2759ffe2d2 refactor to remove duplication for types of resources 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo ef5a62aaa1 use upsert as a test helper 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo 0026a308ec add truncation boolean to response 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo 06f10d2e5f adds evaluations
makes context singular
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo 92cc40f1de change resources endpoint from http get to post 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo 64a83edd9f remove resourceliststub, no need for another layer of abstraction 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo 5192dacf85 limit resources results to 20 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo 197c411767 refactor test helper 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo 377b059e5e remove unnecessary validations; these are tested elsewhere 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo 36285a4b23 test resources endpoint will return matching prefixes 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo ecd0d85a4e adding test validation that received resources matches requested 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo 4dd6b46198 Retrieve job information for resources endpoint
requires further refactoring and logic for more contexts
2017-08-04 14:34:25 +00:00
Kate Taggart 255aab7139 Merge pull request #2962 from jvoorhis/master
Spelling and grammar fixes for manual bootstrap guide.
2017-08-03 21:07:53 -07:00
Jeremy Voorhis 8e029eefde Spelling and grammar fixes for bootstrap guide. 2017-08-03 20:45:44 -07:00
Alex Dadgar 7b13c0d702 Lost allocs replaced even if deployment failed
This PR allows the scheduler to replace lost allocations even if the job
has a failed or paused deployment. The prior behavior was confusing to
users.

Fixes https://github.com/hashicorp/nomad/issues/2958
2017-08-03 17:42:14 -07:00
Michael Schurter 4d76061854 Merge pull request #2816 from capone212/fix-pending-state
#2563 fixed pending state for allocations with terminal status
2017-08-03 17:32:07 -07:00
Michael Schurter c76b3b54b9 Merge branch 'master' into fix-pending-state 2017-08-03 17:27:03 -07:00
Alex Dadgar 2284e59b57 Fix double close and cleanup code 2017-08-03 13:40:34 -07:00
Alex Dadgar 146f3f5cb2 Don't restore parameterized periodic jobs 2017-08-03 12:37:58 -07:00
Michael Schurter e42f71f787 Revert "Rename GNUMakefile to Makefile"
This reverts commit 9f2ea92877ed655063a5ecf6bb22b7703bc2cea2.
2017-08-03 09:23:53 -07:00
Alex Dadgar 21155d0a4e Rename 2017-08-02 13:33:46 -07:00
Alex Dadgar 8e9d39ee1f Persistent server config 2017-08-02 13:30:42 -07:00
Alex Dadgar 50b041c6d1 slightly clean default client.config 2017-08-02 13:23:07 -07:00
Alex Dadgar c004742860 Add dev/ for configs for use by Nomad developers
This PR adds a folder `dev/` which can be used to store helpful commands
and configs for use when developing Nomad itself.
2017-08-02 13:20:06 -07:00
Alex Dadgar 8ef5632884 Merge pull request #2955 from hashicorp/sethvargo/remove_people
Remove people from community section
2017-08-02 13:03:21 -07:00
Seth Vargo c139711b38
Remove people from community section
This is going to be replaced with dynamic content from our CMS in the
future, but we agreed to remove it in the interim.
2017-08-02 15:03:37 -04:00
Alex Dadgar d68caec2b9 Merge pull request #2954 from jrxFive/python_nomad_client_library_to_docs
add third party client library link for python
2017-08-02 11:17:46 -07:00
Jonathan Cross c5b107d916 fix wording 2017-08-02 13:54:49 -04:00
Jonathan Cross 65b4141f91 add third party client library link for python 2017-08-02 13:51:37 -04:00
Michael Schurter 47186e3b15 Merge pull request #2952 from jen20/idea-gitignore
meta: Ignore IntelliJ IDEA/Gogland project files
2017-08-02 09:27:50 -07:00
Michael Schurter f38bf52b29 Merge pull request #2951 from jen20/add-dev-marker
meta: Set main.VersionPrerelease="dev"
2017-08-02 09:26:43 -07:00
Michael Schurter e26747112a Merge pull request #2950 from hashicorp/d-service-discovery-typo
"it's" -> "its"
2017-08-02 09:25:35 -07:00
Michael Schurter 02ee8a3fc3 Merge pull request #2949 from hashicorp/sethvargo/makefilemv
Rename GNUMakefile to Makefile
2017-08-02 09:24:42 -07:00
James Nugent 4512de2885 meta: Ignore IntelliJ IDEA/Gogland project files 2017-08-02 10:18:18 -05:00
James Nugent afbfe7fe4c meta: Set main.VersionPrerelease="dev"
For most projects using this versioning system, making a commit bumping
the version and re-adding the development tag is part of the release
SOP (certainly it was for Terraform!). I'm not sure why it didn't happen
here, but without this, all development builds show up as Nomad v0.6.0
with no dirty marker or commit marker.
2017-08-02 10:05:01 -05:00
Kate Taggart 99455679cf fix typo. 2017-08-02 00:39:08 -07:00
Seth Vargo 940ca5b935
Rename GNUMakefile to Makefile 2017-08-01 21:57:45 -04:00
Michael Schurter 170a5a1ede Add $ prefix to shell examples 2017-08-01 17:37:13 -07:00
Michael Schurter af237a4273 Reflow 2017-08-01 17:13:37 -07:00
Michael Schurter cc1b3ccf1f Sort filenames 2017-08-01 17:06:56 -07:00
Michael Schurter d40fc76965 Missed a mention of 127.0.0.1 as a SAN 2017-08-01 16:50:37 -07:00
Michael Schurter 930dc9ef38 Lots of fixes from @sethvargo
* hclfmt the world
  * 2 space indent
  * make every example well formed with stanzas and comments
* jsonfmt too
* mdfmt manually
  * _ instead of *
  * no [links][], only [links][links]
* ordered lists instead of bullets when possible
* lots of wording fixes
* de-contractionization
* add 127.0.0.1 to SANs
* -1 on intentional errors
* -1 on first person
2017-08-01 15:40:36 -07:00
Alex Dadgar 80f41d2389 Merge pull request #2931 from zsluedem/master
add job creating json sample in jobs api doc
2017-08-01 14:21:45 -07:00
Alex Dadgar 04a124f4f8 Merge pull request #2945 from hashicorp/d-rolling
Document update stanza for system scheduler.
2017-08-01 14:21:18 -07:00
Alex Dadgar 70f265070b Merge pull request #2946 from hashicorp/f-doc-job-anti-affinity-reflow
Added a sentence about job anti-affinity; Reflowed
2017-08-01 14:21:03 -07:00
Alex Dadgar c08e244e43 changelog 2017-08-01 14:20:36 -07:00
Alex Dadgar 9ad1f3ac4f Merge pull request #2942 from hashicorp/f-distinct-count
Distinct Property supports arbitrary limit
2017-08-01 14:19:09 -07:00
Alex Dadgar 7d2b84ab01 Review fixes 2017-08-01 14:18:52 -07:00
Alex Dadgar 067a638478 Allow template to set Vault grace
This PR allows a template to specify the Vault grace duration.

Fixes https://github.com/hashicorp/nomad/issues/2922
2017-08-01 14:14:08 -07:00
Charlie Voiselle 0462c8534f Review changes 2017-08-01 13:58:18 -04:00