Commit graph

11596 commits

Author SHA1 Message Date
Nick Ethier 1f99c3a0f7
minor code review fixes to api/jobs 2018-04-17 10:18:36 -04:00
Peter Dave Hello 3798b97935 Use CONSUL_VERSION variable in demo Vagrantfile 2018-04-17 13:51:30 +08:00
Nick Ethier f72c76c373
website: fix type in api/jobs/parse 2018-04-16 19:32:37 -04:00
Nick Ethier e2571a1884
add changelog entry for new jobs/parse endpoint 2018-04-16 19:24:05 -04:00
Nick Ethier bfc0e49ff2
website: add standard blocking query/ACL table to jobs/parse ep 2018-04-16 19:21:09 -04:00
Nick Ethier 555b036369
command/agent: fix url in jobs parse ep test 2018-04-16 19:21:09 -04:00
Nick Ethier 03a89060cf
api: add test for canonicalized jobs/parse 2018-04-16 19:21:09 -04:00
Nick Ethier 0baf9ba385
command/agent: fix ptr ref in job endpoint test 2018-04-16 19:21:09 -04:00
Nick Ethier ecce6d7366
website: add api docs for v1/jobs/parse endpoint 2018-04-16 19:21:09 -04:00
Nick Ethier de4176606d
command/agent: add Canonicalize option to parse args 2018-04-16 19:21:09 -04:00
Nick Ethier 31da01856a
command/agent: add HCL mock for parse endpoint 2018-04-16 19:21:09 -04:00
Nick Ethier f2db03e56c
command/agent: add /v1/jobs/parse endpoint
The parse endpoint accepts a hcl jobspec body within a json object
and returns the parsed json object for the job. This allows users to
register jobs with the nomad json api without specifically needing
a nomad binary to parse their hcl encoded jobspec file.
2018-04-16 19:21:06 -04:00
Alex Dadgar 9d612c8cb0 Cleanup 2018-04-16 15:48:34 -07:00
Alex Dadgar 32adaf9dfc Copy the config given to the alloc runner 2018-04-16 15:45:52 -07:00
Alex Dadgar 3ff2d4d795 fix race node access 2018-04-16 15:45:51 -07:00
Alex Dadgar 4f2a7b6949 Fix copying drivers 2018-04-16 15:45:51 -07:00
Alex Dadgar 0b799822ff Operate on copy 2018-04-16 15:45:49 -07:00
Michael Schurter c97c754c4c docs: document job telemetry from #3467 2018-04-16 11:48:43 -07:00
Rob Genova 43c964ad63
Merge pull request #4155 from hashicorp/f-tf-update-ami
tf: Update to Nomad 0.8, Consul 1.0.7, and Vault 0.10
2018-04-16 11:30:28 -07:00
Alex Dadgar 6308444412
Merge pull request #4156 from PeterDaveHello/fix-console-in-Vagrant-demo
Fix consul download url in Vagrant demo
2018-04-16 09:51:33 -07:00
Alex Dadgar 300f134e1e
Merge pull request #4157 from PeterDaveHello/improve-vagrant-cpu-core-detection
Improve CPU core detection in Vagrantfile
2018-04-16 09:50:46 -07:00
Alex Dadgar 44f0e341f3
Merge pull request #4158 from PeterDaveHello/docs-update-node-status-output
[Docs] Update output message of `nomad node status`
2018-04-16 09:48:45 -07:00
Peter Dave Hello 564a9e592b [Docs] Update output message of nomad node status 2018-04-16 15:29:38 +08:00
Peter Dave Hello 5b7a5cc73a Improve CPU core detection in Vagrantfile
Use single `grep` with `^` condition instead of `grep` + `cat` + `wc`
2018-04-16 15:11:20 +08:00
Peter Dave Hello 180a59093c Fix consul download url in Vagrant demo
This issue was introduced in 07cbe23b8c5bc23a4290a577909f1731de81dc7c

```
$ curl -I https://releases.hashicorp.com/consul/1.0.0/consul_1.0.7_linux_amd64.zip
curl: (22) The requested URL returned error: 403 Forbidden

$ curl -I https://releases.hashicorp.com/consul/1.0.7/consul_1.0.7_linux_amd64.zip
HTTP/1.1 200 OK
Cache-Control: max-age=31536000, stale-white-revalidate=86400,
stale-if-error=604800, public
Content-Disposition: attachment
Last-Modified: Fri, 13 Apr 2018 17:21:08 GMT
ETag: "c5ed9baed01b2b3e52a7ecb9850cecc6"
Content-Type: application/zip
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Content-Length: 12317246
Accept-Ranges: bytes
Date: Mon, 16 Apr 2018 07:04:47 GMT
Connection: keep-alive
```
2018-04-16 15:04:55 +08:00
Rob Genova 276b4f5619 Update to Nomad 0.8, Consul 1.0.7 and Vault 0.10 2018-04-15 23:00:55 +00:00
Fabien Ninoles 5aac8c58b5 Add changelog. 2018-04-14 13:58:42 -04:00
Fabien Ninoles 27cf4995ce - Clean up for windows compilation.
- Set CREATE_NEW_PROCESS_GROUP for Windows subprocess.
- Ensure we only kill actual process that need to.
2018-04-14 13:58:42 -04:00
Alex Dadgar 315564ae94 Bump versions 2018-04-13 16:16:16 -07:00
Michael Schurter 3d163443bf Add changelog entry for #3572 2018-04-13 11:58:57 -07:00
Michael Schurter 3836b8a335
Merge pull request #3572 from emate/master
Create new process group on process startup.
2018-04-13 11:56:38 -07:00
Michael Schurter 0cc7800d76
Merge pull request #4150 from hashicorp/doc-fixes
docs: fix broken links
2018-04-12 18:07:29 -07:00
Michael Schurter 7fc8265281 docs: fix broken links 2018-04-12 18:04:53 -07:00
Michael Schurter 2775d80611 Fix more broken links 2018-04-12 17:55:20 -07:00
Michael Schurter 7d5049aa6c
Merge pull request #4149 from hashicorp/docs-fixes
Docs fixes
2018-04-12 17:32:51 -07:00
Michael Schurter be86ee4025 docs: fix broken links 2018-04-12 17:28:26 -07:00
Alex Dadgar 9268762348 Fix changelog 2018-04-12 17:19:25 -07:00
Michael Schurter cbbabadddb docs: use middleman-hashicorp 0.3.35 2018-04-12 17:13:34 -07:00
Michael Schurter 5af643f9aa docs: bump version to 0.8.0 2018-04-12 16:47:45 -07:00
Michael Schurter 9f770ccfe1
Merge pull request #4145 from hashicorp/docs-drain-upgrade
Add drain upgrade guide docs
2018-04-12 16:46:08 -07:00
Rob Genova a21e0cab27
Update index.html.md 2018-04-12 16:40:31 -07:00
Michael Schurter e6075b54a9 docs: link upgrade docs to node drain guide 2018-04-12 16:38:40 -07:00
Michael Schurter 55e4fc20ef docs: only mention what changed with drain 2018-04-12 16:38:40 -07:00
Michael Schurter 7c29a204da docs: compare old and new drain methods 2018-04-12 16:38:40 -07:00
Michael Schurter 2df89ee422 docs: add default migrate stanza to upgrade docs 2018-04-12 16:38:40 -07:00
Michael Schurter f2d6e49f23 docs: add drain upgrade guide 2018-04-12 16:38:40 -07:00
Michael Schurter 1ab70a791f
Merge pull request #4142 from hashicorp/docs-drain-guide
Add Node Drain Guide
2018-04-12 16:36:37 -07:00
Alex Dadgar d528c2d0e3 bump version 2018-04-12 16:35:59 -07:00
Alex Dadgar adaf4fa7e0 Remove generated structs 2018-04-12 16:35:31 -07:00
Alex Dadgar 7484b172c2
Release v0.8.0 2018-04-12 16:33:11 -07:00