Commit Graph

3163 Commits

Author SHA1 Message Date
Abhishek Chanda
00556d4b3b Add missing import and remove unsued one 2015-10-06 15:56:39 -07:00
Abhishek Chanda
740187e669 Do not run containers interactively 2015-10-06 15:56:39 -07:00
Abhishek Chanda
0bc00223ed Do not register to the metadata service 2015-10-06 15:56:39 -07:00
Abhishek Chanda
61b4be2389 Remove a stray comment 2015-10-06 15:56:39 -07:00
Abhishek Chanda
0e659aefe7 Fix constructing the handle 2015-10-06 15:56:39 -07:00
Abhishek Chanda
481ba6ecb6 Add a test fort he rkt driver 2015-10-06 15:56:39 -07:00
Abhishek Chanda
f893fb7c35 Fix name of prefix 2015-10-06 15:56:39 -07:00
Abhishek Chanda
6a2a938b4e Add a driver for rkt
rkt docs here
https://github.com/coreos/rkt
2015-10-06 15:56:39 -07:00
Alex Dadgar
d31d62144d Merge pull request #222 from hashicorp/b-runc-throttle-device
Switch from using cgroups BlkioThrottleReadIOpsDevice to BlkioWeight
2015-10-06 15:47:07 -07:00
Alex Dadgar
50862f8e31 Switch to using BlkioWeight 2015-10-06 15:44:01 -07:00
Chris Bednarski
7017276df6 Merge branch 'docker-use-environment' of https://github.com/carlosdp/nomad into b-docker-port 2015-10-06 15:36:06 -07:00
Chris Bednarski
095dc9ae57 Updated Throttle Read/Write to match upstream changes in runc; now takes a list of ThrottleDevice structs instead of an int 2015-10-06 15:31:47 -07:00
Alex Dadgar
bfbdd19e1c Merge branch 'master' of https://github.com/hashicorp/nomad 2015-10-06 10:51:25 -07:00
Alex Dadgar
257be30096 OS dependant build dependencies 2015-10-06 10:51:18 -07:00
Alex Dadgar
930921de4b Merge pull request #214 from hashicorp/f-dev-alloc-cleanup
Cleanup allocations when in dev mode
2015-10-06 09:35:18 -07:00
Chris Bednarski
ac2bcc406d Merge pull request #203 from hashicorp/b-init-redis-port
Change to the default redis port and use docker port mapping
2015-10-06 00:36:38 -07:00
Chris Bednarski
629a56ee70 This is needed for 1.4.2 compat; not sure what removed it 2015-10-06 00:32:34 -07:00
Chris Bednarski
28fef04b64 Add skip detection for all docker tests 2015-10-06 00:27:05 -07:00
Kevin Fishner
ce5a73eab5 Merge pull request #218 from hashicorp/ga-id-update
Fix google analytics ID
2015-10-05 22:23:34 -04:00
Kevin Fishner
022b6fb6c5 Update _footer.erb 2015-10-05 22:23:09 -04:00
Alex Dadgar
6a602dc32c Fix long link in CHANGELOG 2015-10-05 14:53:53 -07:00
Alex Dadgar
440a950f6c CHANGELOG for 0.1.1 2015-10-05 14:39:29 -07:00
Alex Dadgar
7a800791d1 Update demo Vagrantfile 2015-10-05 14:26:07 -07:00
Alex Dadgar
8ea27261e5 Remove prerelease for v0.1.1 2015-10-05 13:41:35 -07:00
Alex Dadgar
265271e721 OS specific build dependencies 2015-10-05 13:36:25 -07:00
Daniel Imfeld
983e8516e4 Consolidate GCEMetadataClient into EnvGCEFingerprint
This allows easier reuse of the same client across multiple functions.
2015-10-05 13:13:25 -05:00
Daniel Imfeld
69ec26e952 And add a comment to the constant. 2015-10-05 12:59:02 -05:00
Daniel Imfeld
458adfa124 Use a constant for the default GCE metadata URL 2015-10-05 12:57:45 -05:00
Daniel Imfeld
444d6f63e6 isAWS should return false on GCE
GCE and AWS both expose metadata servers, and GCE's 404 response
includes the URL in the content, which maatches the regex. So,
check the response code as well and if a 4xx code comes back,
take that to meanit's not AWS.
2015-10-05 00:42:34 -05:00
Daniel Imfeld
9faa553068 Fingerprinting code for GCE nodes
This reads the following:

* hostname
* instance id
* machine-type
* zone
* internal IP
* external IP (if any)
* tags
* attributes

Atributes are placed under the platform.gce.attr.* hierarchy.

Tags are set up as platform.gce.tag.TagName=true.
2015-10-05 00:40:43 -05:00
Alex Dadgar
02fb48fbc1 Cleanup allocations when in dev mode 2015-10-04 13:36:03 -07:00
Carlos Diaz-Padron
078a025725 Use environment to connect to Docker by default
Uses the environment definition for docker by default. Docker will
default to the unix/tcp socket if the environment is not set.
2015-10-04 12:59:54 -07:00
Armon Dadgar
69e7d21e9a scheduler: tasks updated should only check if number of dynamic ports is different 2015-10-04 15:53:02 -04:00
Ryan Uber
be30e4f787 Merge pull request #211 from Carevoyance/website_typo
Fix website typo in jobs.html.md
2015-10-03 19:37:29 -07:00
Daniel Imfeld
be652ac645 Typo: singel -> single 2015-10-03 21:33:41 -05:00
Kevin Fishner
5390f522d0 Merge pull request #210 from hashicorp/vs-k8s
Update to versus section
2015-10-03 18:51:46 -04:00
Kevin Fishner
39aa11ab87 update description 2015-10-03 18:50:23 -04:00
Ryan Uber
74f070677d Merge pull request #195 from errordeveloper/master
Clean-up provisioning output
2015-10-03 12:55:45 -07:00
Ilya Dmitrichenko
3242629a21 Clean-up provisioning output 2015-10-03 10:41:58 +01:00
Alex Dadgar
f348dcd5d5 Merge pull request #206 from hashicorp/f-driver-envvars
Pass environment variables through to drivers
2015-10-02 17:54:52 -07:00
Alex Dadgar
7f359cfe99 update test to reflect not uppercasing passed env vars 2015-10-02 17:49:18 -07:00
Antoine POPINEAU
78f74c57ae Removed capitalization of user-defined envvars. 2015-10-02 17:46:55 -07:00
Antoine POPINEAU
b42d987e19 Updated website documentation. 2015-10-02 17:46:55 -07:00
Antoine POPINEAU
962c509586 Moved the envvars logic to TaskEnvironment and TaskEnvironmentVariables(). Added tests there. 2015-10-02 17:46:55 -07:00
Antoine POPINEAU
7b0b492d33 Forgot to fix my test after testing it. 2015-10-02 17:46:55 -07:00
Antoine POPINEAU
9c17c0a1d8 Added a jobspec directive to specify envvars. Updated Docker driver to use them accordingly. 2015-10-02 17:46:55 -07:00
Alex Dadgar
ccb36b3647 Merge pull request #205 from hashicorp/b-default-link-speed
Add a default link speed
2015-10-02 17:39:08 -07:00
Alex Dadgar
3fa7c34e66 Add debug line when setting link speed to default 2015-10-02 17:32:17 -07:00
Alex Dadgar
d8f3bd26e6 Merges 2015-10-02 17:32:11 -07:00
Ryan Uber
97e442e1b2 Merge pull request #204 from hashicorp/b-options
Parse client options
2015-10-02 17:03:34 -07:00