Commit Graph

8173 Commits

Author SHA1 Message Date
Chelsea Holland Komlo
a45bf60c22 fix failing test assertion
small refactors
2017-08-14 17:35:35 +00:00
Chelsea Holland Komlo
34bb3d36bd autocomplete for allocation ids 2017-08-14 17:35:35 +00:00
Chelsea Holland Komlo
4d711cb504 round down odd prefixes 2017-08-14 17:35:35 +00:00
Alex Dadgar
6589794a79 Merge pull request #3019 from jen20/import-formatting2
build: Apply goimports formatting to various files
2017-08-14 10:25:06 -07:00
James Nugent
fda3868577 build: Apply goimports formatting to various files
The following files were not formatted as the output of goimports(1)
would create, causing the goimports linter to fail:

command/agent/resources_endpoint.go
nomad/resources_endpoint.go
nomad/resources_endpoint_test.go
2017-08-14 11:51:47 +08:00
Alex Dadgar
2a0f267771 Merge pull request #3014 from hynek/patch-4
Fix number of primary nouns in Nomad
2017-08-12 14:34:41 -07:00
Hynek Schlawack
0566af8d83 Off by one! 2017-08-12 16:06:20 +02:00
Michael Schurter
be36bfb15a Merge pull request #2923 from hashicorp/d-tls-guide
TLS Guide
2017-08-11 21:03:52 -07:00
Michael Schurter
cadbe7a77f Rename guide from tls to securing-nomad 2017-08-11 21:02:52 -07:00
Michael Schurter
bec5519126 Oops! Forgot demo/vagrant/cfssl.json file 2017-08-11 20:57:59 -07:00
Michael Schurter
69d561e15e Add openssl rand example; reword intermediate CAs
Thanks @jvoorhis!
2017-08-11 20:20:11 -07:00
Michael Schurter
8c3b901521 Merge pull request #3010 from hashicorp/b-vendor-test-deps
Vendor vault test deps
2017-08-11 12:10:20 -07:00
Alex Dadgar
2410c069d7 Merge pull request #3011 from hashicorp/b-cv-fix-TestEnvAWSFingerprint_aws
Updated AWS fingerprint test for ami-id
2017-08-11 10:58:22 -07:00
Michael Schurter
6485664c15 Vendor vault test deps
This is a weird one because `make bootstrap` does a `go get vault` so CI
never fails due to missing Vault dependencies. However developer
machines will have whatever version of vault they grabbed last time they
bootstrapped a new dev environment.

This can lead to surprising build issues and different devs testing
slightly different code.

So let's vendor all test deps to try to keep the Nomad repo
self-contained.
2017-08-11 10:31:05 -07:00
Alex Dadgar
3149f13b54 Merge pull request #3009 from nicolaevladescu/master
Fix documentation bug on json jobs
2017-08-11 10:29:11 -07:00
Alex Dadgar
1f7dd3176a changelog 2017-08-11 10:14:35 -07:00
Alex Dadgar
7b3c0fe2e9 Merge pull request #2992 from decoomanj/master
Added dnsoptions to the docker driver
2017-08-11 10:12:36 -07:00
Alex Dadgar
3af6e7aa98 Update docker.html.md 2017-08-11 10:12:22 -07:00
Charlie Voiselle
7dc43b0584 Updated AWS fingerprint test for ami-id
In https://github.com/hashicorp/nomad/pull/2999, I changed ami-id
to non-unique.  This updates the test to reflect that.
2017-08-11 12:54:27 -04:00
Jan De Cooman
9c016a7f6a added a newline 2017-08-11 11:53:24 +02:00
Nicolae Vlădescu
054a9eeb0b Fix navigation highlight for JSON Jobs 2017-08-11 11:37:40 +03:00
Nicolae Vlădescu
48b5555623 Fix documentation bug
Fix documentation bug: distinct_host -> distinct_hosts
2017-08-11 11:29:53 +03:00
Jan De Cooman
d7cdb7d848 updated message in test 2017-08-11 09:24:15 +02:00
Alex Dadgar
c53b5e0cc7 changelog 2017-08-10 14:08:26 -07:00
Alex Dadgar
f0f2c8085f Merge pull request #3006 from hashicorp/b-unmount
Unmount task directories when alloc is terminal
2017-08-10 14:07:34 -07:00
Alex Dadgar
5ad955ef07 Unmount task directories when alloc is terminal
This PR unmounts directories from tasks when the alloc is terminal
rather than when it is garbage collected.

/cc @angrycub
2017-08-10 13:28:17 -07:00
Alex Dadgar
1f3966e65e changelog 2017-08-10 13:08:18 -07:00
Alex Dadgar
f49c026438 Merge pull request #2984 from hashicorp/b-tags
Fix alloc health with checks using interpolation
2017-08-10 13:07:25 -07:00
Alex Dadgar
4d323e14df Address comments 2017-08-10 13:07:08 -07:00
Alex Dadgar
582addda29 changelog 2017-08-10 13:01:56 -07:00
Alex Dadgar
a066856d72 Merge pull request #3001 from hashicorp/f-template-events
Template emits events explaining why it is blocked
2017-08-10 13:00:58 -07:00
Alex Dadgar
9cc5e195ad address comments 2017-08-10 13:00:06 -07:00
Chelsea Komlo
6abd6d851e Merge pull request #2998 from hashicorp/f-migrate-nomad-status
Migrate nomad status to nomad job status
2017-08-10 15:38:00 -04:00
Alex Dadgar
660b8ebacb Merge pull request #2999 from hashicorp/b-cv-aws-ami-id-nonunique
AMI ID is potentially non-unique
2017-08-10 10:40:35 -07:00
Alex Dadgar
38e42b6cf5 Merge pull request #3004 from adamatan/master
Code highlighting
2017-08-10 10:28:38 -07:00
Adam Matan
868abd868d Code highlighting 2017-08-10 14:23:25 +03:00
Jan De Cooman
cbeb42e1a1 removed empty line 2017-08-10 11:06:26 +02:00
Alex Dadgar
1e7ae913e2 Template emits events explaining why it is blocked
This PR does the following:
* Adds a mechanism to emit events in the TaskRunner
* Vendors a new version of Consul-Template that allows extraction of
missing dependencies
* Adds logic to our consul_template.go to determine missing events and
emit them in a batched fashion.
* Refactors the consul_template code to split the run method and take in
a config struct rather than many parameters.

Fixes https://github.com/hashicorp/nomad/issues/2578
2017-08-09 18:01:27 -07:00
Alex Dadgar
6c0bb2ba2c Vendor new consul-template 2017-08-09 14:42:16 -07:00
Charlie Voiselle
dbcf3ff516 AMI ID is potentally non-unique
Changed the keys map to reflect that.
2017-08-09 12:53:54 -04:00
Chelsea Holland Komlo
7a476c6049 migrate nomad status to nomad job status 2017-08-09 15:16:04 +00:00
Jan De Cooman
ce8550d6fb fixed typo 2017-08-09 14:44:38 +02:00
Jan De Cooman
b4ec045e9a added dnsoptions to the docker driver 2017-08-09 13:30:06 +02:00
Alex Dadgar
02808f9568 Merge branch 'master' of github.com:hashicorp/nomad 2017-08-08 11:09:37 -07:00
Alex Dadgar
2d3dd7f7cd Fix broken Template Diff Test 2017-08-08 11:09:27 -07:00
Rob Genova
35430492b0 Merge pull request #2986 from hashicorp/f-terraform-fixes
Terraform: enable Consul UI and bind Nomad to all interfaces
2017-08-08 11:09:25 -07:00
Alex Dadgar
56b4dc97b8 changelog 2017-08-08 11:05:31 -07:00
Alex Dadgar
2a1b8865f3 Merge pull request #2988 from jvoorhis/redact-vault-token
Redact Vault.Token from AgentSelf response.
2017-08-08 11:04:48 -07:00
Jeremy Voorhis
f7041f5710 Handle nil values when redacting vault token. 2017-08-08 10:54:11 -07:00
Alex Dadgar
b14cc6243f Merge pull request #2980 from hashicorp/b-doc-missing-node-allocations
Re-added Allocations documentation
2017-08-08 10:23:02 -07:00