Chris Bednarski
8cd34d3947
Use docker.NewClient; move dockerClient before it's used
2015-10-06 16:26:31 -07:00
Abhishek Chanda
bd91c51643
Use Start to run commands
...
Run blocks
2015-10-06 15:56:39 -07:00
Abhishek Chanda
ef84902f79
Add prefix to all message logs for rkt driver
2015-10-06 15:56:39 -07:00
Abhishek Chanda
4be849445d
Fix function call
...
Make it skip if rkt is not installed
2015-10-06 15:56:39 -07:00
Abhishek Chanda
99b3660047
Register rkt as a built in driver
2015-10-06 15:56:39 -07:00
Abhishek Chanda
528632da3d
Add missing import and remove unsued one
2015-10-06 15:56:39 -07:00
Abhishek Chanda
612aa69f34
Do not run containers interactively
2015-10-06 15:56:39 -07:00
Abhishek Chanda
578aa89e81
Do not register to the metadata service
2015-10-06 15:56:39 -07:00
Abhishek Chanda
ab6d756dfe
Remove a stray comment
2015-10-06 15:56:39 -07:00
Abhishek Chanda
02eb3659c9
Fix constructing the handle
2015-10-06 15:56:39 -07:00
Abhishek Chanda
b6b7d9e875
Add a test fort he rkt driver
2015-10-06 15:56:39 -07:00
Abhishek Chanda
bcb74acbca
Fix name of prefix
2015-10-06 15:56:39 -07:00
Abhishek Chanda
8efe3e18ba
Add a driver for rkt
...
rkt docs here
https://github.com/coreos/rkt
2015-10-06 15:56:39 -07:00
Alex Dadgar
9f6ad73e45
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
f40397e6ef
Switch to using BlkioWeight
2015-10-06 15:44:01 -07:00
Chris Bednarski
5e73e746dc
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
ef3af6996b
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
7e11f4fcca
Merge branch 'master' of https://github.com/hashicorp/nomad
2015-10-06 10:51:25 -07:00
Alex Dadgar
8572743482
OS dependant build dependencies
2015-10-06 10:51:18 -07:00
Alex Dadgar
88dee76a57
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
c479e76da5
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
42afc2bfeb
This is needed for 1.4.2 compat; not sure what removed it
2015-10-06 00:32:34 -07:00
Chris Bednarski
58217619e3
Add skip detection for all docker tests
2015-10-06 00:27:05 -07:00
Kevin Fishner
999822703b
Merge pull request #218 from hashicorp/ga-id-update
...
Fix google analytics ID
2015-10-05 22:23:34 -04:00
Kevin Fishner
ce11fd15ff
Update _footer.erb
2015-10-05 22:23:09 -04:00
Alex Dadgar
13e9238a66
Fix long link in CHANGELOG
2015-10-05 14:53:53 -07:00
Alex Dadgar
9e97636cc7
CHANGELOG for 0.1.1
2015-10-05 14:39:29 -07:00
Alex Dadgar
d2a52c7d19
Update demo Vagrantfile
2015-10-05 14:26:07 -07:00
Alex Dadgar
52fc2a7c26
Remove prerelease for v0.1.1
2015-10-05 13:41:35 -07:00
Alex Dadgar
4fd50fa04e
OS specific build dependencies
2015-10-05 13:36:25 -07:00
Daniel Imfeld
32d5c61779
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
a85dda68fe
And add a comment to the constant.
2015-10-05 12:59:02 -05:00
Daniel Imfeld
adbb23e267
Use a constant for the default GCE metadata URL
2015-10-05 12:57:45 -05:00
Daniel Imfeld
46bbfc3549
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
a43a262e66
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
f441c4c65d
Cleanup allocations when in dev mode
2015-10-04 13:36:03 -07:00
Carlos Diaz-Padron
aaddc7bf6c
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
32f4e9e401
scheduler: tasks updated should only check if number of dynamic ports is different
2015-10-04 15:53:02 -04:00
Ryan Uber
b3f2fa7589
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
2dbb421ac5
Typo: singel -> single
2015-10-03 21:33:41 -05:00
Kevin Fishner
9d4843c2fb
Merge pull request #210 from hashicorp/vs-k8s
...
Update to versus section
2015-10-03 18:51:46 -04:00
Kevin Fishner
0117c5f5dd
update description
2015-10-03 18:50:23 -04:00
Ryan Uber
caeb9cfee8
Merge pull request #195 from errordeveloper/master
...
Clean-up provisioning output
2015-10-03 12:55:45 -07:00
Ilya Dmitrichenko
f2f7dc4479
Clean-up provisioning output
2015-10-03 10:41:58 +01:00
Alex Dadgar
3fed4efb8d
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
aeb400cd8a
update test to reflect not uppercasing passed env vars
2015-10-02 17:49:18 -07:00
Antoine POPINEAU
a03ce2b39c
Removed capitalization of user-defined envvars.
2015-10-02 17:46:55 -07:00
Antoine POPINEAU
0e5adfb518
Updated website documentation.
2015-10-02 17:46:55 -07:00
Antoine POPINEAU
56944536fc
Moved the envvars logic to TaskEnvironment and TaskEnvironmentVariables(). Added tests there.
2015-10-02 17:46:55 -07:00
Antoine POPINEAU
2c9cc76a7d
Forgot to fix my test after testing it.
2015-10-02 17:46:55 -07:00