Commit Graph

1397 Commits

Author SHA1 Message Date
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
Antoine POPINEAU 722141bfa6 Added a jobspec directive to specify envvars. Updated Docker driver to use them accordingly. 2015-10-02 17:46:55 -07:00
Alex Dadgar 0c55f62393 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 e60e6ff8f5 Add debug line when setting link speed to default 2015-10-02 17:32:17 -07:00
Alex Dadgar 4cc8588cb5 Merges 2015-10-02 17:32:11 -07:00
Ryan Uber b34c47064d Merge pull request #204 from hashicorp/b-options
Parse client options
2015-10-02 17:03:34 -07:00
Ryan Uber ccf217ce2e agent: test options config 2015-10-02 17:02:32 -07:00
Ryan Uber 30fa300825 Merge branch 'parse-client-options' of https://github.com/carlosdp/nomad into b-options 2015-10-02 16:58:05 -07:00
Chris Bednarski e9ee102ceb Change to the default redis port and use docker port mapping 2015-10-02 16:35:24 -07:00
Alex Dadgar 2a8142db5c Merge pull request #202 from achanda/doc_fix
Fix network mode
2015-10-02 16:18:23 -07:00
Abhishek Chanda f3cc677527 Fix network mode
net is not a valid network mode
2015-10-02 16:11:38 -07:00
Chris Bednarski 8d0f06777c Merge pull request #200 from legal90/f-parallels
Add support of Parallels Desktop for Mac
2015-10-02 11:46:02 -07:00
Mikhail Zholobov 1bd8f27bd7 Add support of Parallels Desktop for Mac 2015-10-02 11:40:24 -07:00
Chris Bednarski 687bc2f611 Change to pre-release version 2015-10-02 11:30:44 -07:00
Alex Dadgar faf8002d2d go-fmt 2015-10-02 10:54:04 -07:00
Alex Dadgar 0c7f3e21d7 Merge pull request #199 from achanda/double_call
Fix two issues where settings were not taking effect
2015-10-02 10:52:41 -07:00
Abhishek Chanda 3751b46673 Make sure createHostConfig is called only once
The second call discards any mods to port binding or
network type

Fixes #185 and #196
2015-10-02 10:43:37 -07:00
Alex Dadgar 74f2bf28d2 Merge pull request #189 from apognu/dev/net-fingerprint
Fingerprint: config parameter for interface and native method for IP address
2015-10-02 08:56:04 -07:00
Antoine POPINEAU f35ebe14ad Merge branch 'master' into dev/net-fingerprint 2015-10-02 09:38:35 +02:00
Antoine POPINEAU 36daef1625 Renamed all instances of `Iface` to `NetworkInterface`. 2015-10-02 09:29:18 +02:00
Alex Dadgar 191ea91cdd Merge pull request #184 from achanda/docker_net
Enable setting networking mode for docker
2015-10-01 19:32:48 -07:00
Alex Dadgar 98209eb019 Merge pull request #192 from hashicorp/f-client-agent-cmdline
Fix anchor links and add new agent cli commands
2015-10-01 19:29:27 -07:00