Commit Graph

5449 Commits

Author SHA1 Message Date
Alex Dadgar 231617d58e Merge pull request #1752 from hashicorp/f-consul-template
Consul template structs
2016-09-26 15:38:24 -07:00
Alex Dadgar fca2becaa5 Parse 2016-09-26 15:36:11 -07:00
Alex Dadgar b4c3f015bc Template diff 2016-09-26 15:36:11 -07:00
Alex Dadgar e925f8ca58 Add template structs 2016-09-26 15:36:11 -07:00
Alex Dadgar b28e817b1d Test fix 2016-09-26 15:35:59 -07:00
Alex Dadgar ff2dc0b0a7 Merge pull request #1742 from hashicorp/b-text-file-busy
Closing files when files are removed
2016-09-26 11:50:27 -07:00
Alex Dadgar 1f2587ca20 Merge pull request #1744 from hashicorp/sethvargo/init_format
Update the sample jobfile syntax
2016-09-26 11:26:33 -07:00
Alex Dadgar c00202c255 Merge pull request #1745 from mwieczorek/windows-named-pipes
Update vendor package github.com/fsouza/go-dockerclient
2016-09-26 11:17:00 -07:00
Alex Dadgar 7f410585fd Merge pull request #1748 from jippi/patch-1
Fix syntax error in JSON example
2016-09-26 11:11:52 -07:00
Alex Dadgar 27c8f3f77b Merge pull request #1750 from hashicorp/sethvargo/update_hashicorp
Update middleman-hashicorp
2016-09-26 11:08:37 -07:00
Alex Dadgar d87ea36a94 Merge pull request #1751 from dvusboy/fix_broken_link
[docs] Add the missing '/' to make the URL path absolute
2016-09-26 11:06:40 -07:00
K.C. Wong ee58605fce Add the missing '/' to make the URL path absolute
* without that '/' it becomes a relative link and thus it is
  broken
2016-09-26 10:44:58 -07:00
Seth Vargo e6b39239de
Update middleman-hashicorp 2016-09-26 11:33:29 -05:00
Christian Winther b537f194c3 Fix syntax error in JSON example 2016-09-26 16:26:07 +02:00
Michal Wieczorek 67b688d292 Update vendor package github.com/fsouza/go-dockerclient
Added dependencies of updated github.com/fsouza/go-dockerclient:
- golang.org/x/net/context/ctxhttp
- github.com/docker/engine-api/types/swarm
- github.com/Microsoft/go-winio
- github.com/docker/engine-api/types/mount
2016-09-24 21:53:49 +02:00
Seth Vargo 4523f112fe
Update the sample jobfile syntax
- Uses spaces instead of tabs for the sample job file. Even though Nomad
  is written in Go, the HCL style guide uses two spaces for indentation,
  and this will match Terraform and Vault in terms of configuration.
- Locks to redis:3.2 instead of floating latest. Running latest in
  production is a bad idea and we shouldn't encourage it even via
  example.
- Removes the linux constraint (native docker exists for both Mac and
  Windows now)
- Aligns equal signs and stuff as per the HCL formatter

- Closes #1743
2016-09-24 14:42:25 -04:00
Seth Vargo 18c657a1b7
Convert example job file constraint to comment
This improves the "getting started" happy path experience for non-linux
users who are running the native Docker tools on their machines. There
is no need to constrain this job to linux, since driver detection for
docker will already (basically) do this.
2016-09-24 14:12:30 -04:00
Diptanu Choudhury 12c7873db2 Closing files when files are removed 2016-09-23 22:17:53 -07:00
Diptanu Choudhury dae7f88118 Not setting a drained node as preferred node (#1740) 2016-09-23 21:15:50 -07:00
Alex Dadgar 9caa7a2789 Merge pull request #1738 from sandstrom/patch-1
Timestamp changelog
2016-09-23 13:45:30 -07:00
sandstrom ec947e61ae Timestamp changelog 2016-09-23 22:38:28 +02:00
Diptanu Choudhury 589356fd55 Adding a snapshot endpoint on the client (#1730) 2016-09-21 21:28:12 -07:00
Alex Dadgar d64ef28c39 Handle the various valid root cases 2016-09-21 17:30:57 -07:00
Alex Dadgar d810e1c432 Merge pull request #1733 from hashicorp/f-vault-renew-root
Renew root tokens where applicable
2016-09-21 17:00:09 -07:00
Alex Dadgar f99d84d2c3 Renew root tokens where applicable 2016-09-21 16:49:15 -07:00
Alex Dadgar 22f150b17a Add env 2016-09-21 16:37:04 -07:00
Alex Dadgar 15e6c724ae no -v 2016-09-21 14:21:37 -07:00
Diptanu Choudhury 45afc0b4e1 Added logic to ensure scheduler knows job defn has been updated when ephemeral disks has been updated (#1725) 2016-09-21 14:00:02 -07:00
Alex Dadgar 08d79893b0 Merge pull request #1727 from kaskavalci/patch-4
Change error message
2016-09-21 13:53:13 -07:00
Alex Dadgar 9971cdeb77 Merge pull request #1731 from hashicorp/f-vault-diff
Vault diff
2016-09-21 13:52:51 -07:00
Alex Dadgar 59df3dcf58 Vault diff 2016-09-21 13:49:34 -07:00
Alex Dadgar 379ca7382b Merge pull request #1729 from hashicorp/f-vault-anywhere
Vault block improvements
2016-09-21 12:56:16 -07:00
Alex Dadgar bc500a536c tasks updated 2016-09-21 11:31:09 -07:00
Alex Dadgar 12de69a66f Struct and parse 2016-09-21 11:31:09 -07:00
Alex Dadgar 5e846ce2f9 Vault defined at all levels 2016-09-21 11:31:09 -07:00
Alex Dadgar 5a9919bfbf Fix VaultPolicies returning non-empty map when there are no policies 2016-09-21 11:14:09 -07:00
Halil Kaskavalci d166f8e3bf Lowercase message 2016-09-21 20:43:15 +03:00
Halil Kaskavalci 389beda383 Change error message
Local Disk -> Ephemeral Disk
2016-09-21 17:57:19 +03:00
Alex Dadgar 50efdb00e9 Merge pull request #1713 from hashicorp/f-alloc-runner-vault
Vault integration in client
2016-09-20 16:15:55 -07:00
Alex Dadgar 64de46432a Merge pull request #1677 from hashicorp/f-vault-implicit-constraint
Vault implicit Task Group constraint + allow root tokens
2016-09-20 16:15:32 -07:00
Cameron Stokes 6b9cc984d1 Link to Artifact section. 2016-09-20 15:18:59 -07:00
Diptanu Choudhury 36edabb487 Fixed the logic of calculating queued allocation in sys sched (#1724) 2016-09-20 12:05:19 -07:00
Diptanu Choudhury f7a9b39e8c Ensuring that we are not emitting stats when handle is nil (#1723)
* Ensuring that we are not emitting stats when handle is nil

* Updated the changelog
2016-09-20 11:29:34 -07:00
Alex Dadgar 683380c25c Merge pull request #1715 from hashicorp/b-dead-system-nodes
Fix bug where dead nodes weren't properly handled by system scheduler
2016-09-19 11:49:44 -07:00
Alex Dadgar 47551e93b4 Fix bug in which dead nodes weren't being properly handled by system scheduler 2016-09-19 11:49:27 -07:00
Alex Dadgar 83905075e5 Fix comment 2016-09-17 11:31:17 -07:00
Alex Dadgar 40fc1d1dfd Task runner test 2016-09-15 17:39:08 -07:00
Alex Dadgar 0fefaef008 Alloc runner tests 2016-09-15 17:24:09 -07:00
Alex Dadgar 0f40bd41a3 Handle recovery failure 2016-09-15 12:50:44 -07:00
Alex Dadgar 688e616200 Fix token renewal 2016-09-15 11:20:51 -07:00