Commit Graph

5450 Commits

Author SHA1 Message Date
Diptanu Choudhury
50e3217211 Avoiding copying files if they are already present in chrootw (#1753) 2016-09-27 11:43:27 -07:00
Alex Dadgar
ec9e395b27 Merge pull request #1752 from hashicorp/f-consul-template
Consul template structs
2016-09-26 15:38:24 -07:00
Alex Dadgar
757ba24875 Parse 2016-09-26 15:36:11 -07:00
Alex Dadgar
99d3f15035 Template diff 2016-09-26 15:36:11 -07:00
Alex Dadgar
56b9767f8e Add template structs 2016-09-26 15:36:11 -07:00
Alex Dadgar
b097191ec6 Test fix 2016-09-26 15:35:59 -07:00
Alex Dadgar
417cda78d2 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
f74eb65b3c Merge pull request #1744 from hashicorp/sethvargo/init_format
Update the sample jobfile syntax
2016-09-26 11:26:33 -07:00
Alex Dadgar
e853e2de7a 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
a240f1de04 Merge pull request #1748 from jippi/patch-1
Fix syntax error in JSON example
2016-09-26 11:11:52 -07:00
Alex Dadgar
7211d73833 Merge pull request #1750 from hashicorp/sethvargo/update_hashicorp
Update middleman-hashicorp
2016-09-26 11:08:37 -07:00
Alex Dadgar
7f6468583b 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
4d30e32305 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
00b6ee4cfa Update middleman-hashicorp 2016-09-26 11:33:29 -05:00
Christian Winther
4a0c2e96d0 Fix syntax error in JSON example 2016-09-26 16:26:07 +02:00
Michal Wieczorek
21c9be9c34 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
c1ee623c78 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
279c4c62fd 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
bc82dd67b5 Closing files when files are removed 2016-09-23 22:17:53 -07:00
Diptanu Choudhury
44be9eb0c3 Not setting a drained node as preferred node (#1740) 2016-09-23 21:15:50 -07:00
Alex Dadgar
e2fda9b84a Merge pull request #1738 from sandstrom/patch-1
Timestamp changelog
2016-09-23 13:45:30 -07:00
sandstrom
c6ed4504c6 Timestamp changelog 2016-09-23 22:38:28 +02:00
Diptanu Choudhury
dd3af85114 Adding a snapshot endpoint on the client (#1730) 2016-09-21 21:28:12 -07:00
Alex Dadgar
cf344d711d Handle the various valid root cases 2016-09-21 17:30:57 -07:00
Alex Dadgar
36de582e0c 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
61925e12da Renew root tokens where applicable 2016-09-21 16:49:15 -07:00
Alex Dadgar
a81de3a161 Add env 2016-09-21 16:37:04 -07:00
Alex Dadgar
fd7c8197c9 no -v 2016-09-21 14:21:37 -07:00
Diptanu Choudhury
7297bf1c1b 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
3beedc5ef4 Merge pull request #1727 from kaskavalci/patch-4
Change error message
2016-09-21 13:53:13 -07:00
Alex Dadgar
cd644522b2 Merge pull request #1731 from hashicorp/f-vault-diff
Vault diff
2016-09-21 13:52:51 -07:00
Alex Dadgar
3d4cbace37 Vault diff 2016-09-21 13:49:34 -07:00
Alex Dadgar
25d79ed92c Merge pull request #1729 from hashicorp/f-vault-anywhere
Vault block improvements
2016-09-21 12:56:16 -07:00
Alex Dadgar
c3fb00cf6a tasks updated 2016-09-21 11:31:09 -07:00
Alex Dadgar
ee67630889 Struct and parse 2016-09-21 11:31:09 -07:00
Alex Dadgar
268bece1ab Vault defined at all levels 2016-09-21 11:31:09 -07:00
Alex Dadgar
279ee8132b Fix VaultPolicies returning non-empty map when there are no policies 2016-09-21 11:14:09 -07:00
Halil Kaskavalci
b872ca0c20 Lowercase message 2016-09-21 20:43:15 +03:00
Halil Kaskavalci
fc5f716e4b Change error message
Local Disk -> Ephemeral Disk
2016-09-21 17:57:19 +03:00
Alex Dadgar
d49dda45e3 Merge pull request #1713 from hashicorp/f-alloc-runner-vault
Vault integration in client
2016-09-20 16:15:55 -07:00
Alex Dadgar
e5fd8e60a2 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
7c89f18447 Link to Artifact section. 2016-09-20 15:18:59 -07:00
Diptanu Choudhury
58e5282378 Fixed the logic of calculating queued allocation in sys sched (#1724) 2016-09-20 12:05:19 -07:00
Diptanu Choudhury
0150970620 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
60e114a997 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
926f5ee004 Fix bug in which dead nodes weren't being properly handled by system scheduler 2016-09-19 11:49:27 -07:00
Alex Dadgar
5c3acf1b78 Fix comment 2016-09-17 11:31:17 -07:00
Alex Dadgar
00243e8a01 Task runner test 2016-09-15 17:39:08 -07:00
Alex Dadgar
cd8784894d Alloc runner tests 2016-09-15 17:24:09 -07:00
Alex Dadgar
038991b5e3 Handle recovery failure 2016-09-15 12:50:44 -07:00