Commit Graph

2144 Commits

Author SHA1 Message Date
Armon Dadgar 266fd248cb Clarify the compatibility 2015-01-25 13:59:37 -08:00
Armon Dadgar 95f49ead61 Merge pull request #641 from ceh/lock-docs
docs: describe child process handling on Windows for lock command
2015-01-25 13:49:35 -08:00
Emil Hessman 2a80aacb86 docs: describe child process handling on Windows for lock command
Add website documentation for how the lock command handles child
process termination on Windows.
2015-01-25 11:42:29 +01:00
Emil Hessman 3539224c42 make.bat: add Makefile functionality for Windows
Converted the Makefile functionality into several bat files to better
support building on Windows. All targets have been introduced in the
make.bat file, except for "cov" and "format".

Running make.bat with no arguments runs the all target per default,
just like Makefile.
If an argument is supplied, it must be one of all, cover, deps,
integ, test, vet, or updatedeps.

For example

  > make.bat test

runs the test target.
2015-01-25 06:35:56 +01:00
Ryan Uber 72fe5f4cd2 Merge pull request #637 from ceh/win-build
command: fix Windows build
2015-01-24 21:31:35 -08:00
Emil Hessman c8224b3f94 command: fix Windows build
Add a per GOOS implementation to send signals to PIDs
since syscall.Kill does not exist on Windows.

It will always send a SIGKILL on Windows since there
seems to be no POSIX compatible notion.

Fixes build on Windows.
2015-01-25 05:00:52 +01:00
Ryan Uber dd0c9dfbbc agent/http: fix service registration with nil checks value 2015-01-23 18:50:51 -08:00
Ryan Uber 068c4137cb agent/http: clean up socket setup 2015-01-23 17:57:04 -08:00
Ryan Uber adb3bd4c5e agent: make check tests more reliable 2015-01-23 16:07:20 -08:00
Ryan Uber 661c7f021b Update CHANGELOG 2015-01-23 13:29:00 -08:00
Armon Dadgar 6c00ea3261 Merge pull request #632 from ceh/release-go1.4
Vagrantfile: use Go 1.4 release branch from new git repo
2015-01-23 13:15:27 -08:00
Ryan Uber 1b3225cb9d Merge pull request #635 from ceh/spell
website: fix minor typos in docs
2015-01-23 13:15:12 -08:00
Ryan Uber 3b864656b7 Merge pull request #634 from hashicorp/f-httpargs-conflict
agent: error from KVS endpoint if incompatible flags are passed.
2015-01-23 13:13:40 -08:00
Emil Hessman 9be514e747 website: fix minor typos in docs 2015-01-23 22:11:15 +01:00
Ryan Uber 26c9d96ccb agent: error from KVS endpoint if incompatible flags are passed. Fixes #432 2015-01-23 12:48:39 -08:00
Emil Hessman cf9a877046 Vagrantfile: use Go 1.4 release branch from new git repo 2015-01-23 21:00:12 +01:00
Ryan Uber cd267771aa Merge pull request #631 from joeholley/cover_uri_fix
Update URI for cover as per https://groups.google.com/forum/#!topic/consul-tool/AytN6_RqTDQ
2015-01-23 10:11:59 -08:00
Joseph Holley 1a002ea87e Update URI for cover 2015-01-23 10:35:46 -06:00
Ryan Uber ab9e13ffb6 Use separate updatedeps target for Makefile 2015-01-22 17:37:35 -08:00
Ryan Uber 15de24c844 agent: more lenient dns response test 2015-01-22 15:31:12 -08:00
Armon Dadgar f4543ffc78 CHANGELOG update, gofmt 2015-01-22 13:42:22 -08:00
Armon Dadgar 8bbf2cc090 Updating changelog, bump to 0.5.0rc1 2015-01-22 13:31:11 -08:00
Armon Dadgar e5e519df4b Merge pull request #625 from hashicorp/f-maintcmd
New "maint" command
2015-01-22 11:56:49 -08:00
Ryan Uber ae672b32f6 command/maint: better arg conflict checking 2015-01-22 11:20:32 -08:00
Ryan Uber 17d2443f91 command/maint: clean up 2015-01-22 11:14:28 -08:00
Ryan Uber 361b3109c2 website: update maint command documentation for list mode 2015-01-22 10:34:14 -08:00
Ryan Uber fa19d09390 command/maint: display active maintenance when no args are passed 2015-01-22 10:26:17 -08:00
Armon Dadgar 9600174ab7 Merge pull request #627 from sttts/api-agent-service-address
Add agent service Address field to the api
2015-01-22 10:00:18 -08:00
Dr. Stefan Schimanski b46d20727b Add test case for service Address field 2015-01-22 11:50:20 +01:00
Dr. Stefan Schimanski 1ef12ae24b Add agent service Address field to the api
The Address field was introduced in #570. This patch extends this to the api.
2015-01-22 10:26:27 +01:00
Armon Dadgar 99671ba0d7 website: Cleanup the 'lock' documentation 2015-01-21 17:35:06 -08:00
Armon Dadgar 14d55cb40a Merge pull request #622 from hashicorp/f-sockets
Unix domain sockets
2015-01-21 16:30:03 -08:00
Armon Dadgar 7e27d923be Merge pull request #621 from hashicorp/f-leave
Changing interaction between Leave and RemovePeers
2015-01-21 16:28:19 -08:00
Ryan Uber 8c1c230ce3 agent: use const for default maintenance reason strings 2015-01-21 14:53:52 -08:00
Ryan Uber e416d6dbd3 website: document reason flag for http api 2015-01-21 14:33:01 -08:00
Ryan Uber 5cd8800b60 agent: fix test 2015-01-21 14:12:18 -08:00
Ryan Uber 61322641ea website: document maint command 2015-01-21 14:07:54 -08:00
Ryan Uber a51ab988a3 command: more maint command tests 2015-01-21 13:49:10 -08:00
Ryan Uber a96cfc9cc3 command: test maint command 2015-01-21 13:37:32 -08:00
Ryan Uber 718cd94b50 agent: prevent duplicate error messages for maintenance api 2015-01-21 13:28:26 -08:00
Ryan Uber 8081403ad9 command: maint command works 2015-01-21 13:11:23 -08:00
Ryan Uber d10529c233 api: support reason flag for maintenance mode 2015-01-21 13:02:47 -08:00
Ryan Uber 515ef304e0 command: starting maint command 2015-01-21 13:00:14 -08:00
Ryan Uber d65f4035b9 agent: support passing ?reason= for custom notes field values on maintenance checks 2015-01-21 12:21:57 -08:00
Ryan Uber 2a688d6f45 Merge pull request #617 from hashicorp/f-httpdoc
Split HTTP API documentation into a page per section
2015-01-21 11:35:12 -08:00
Ryan Uber f1092f4b3f website: update maintenance mode endpoint 2015-01-21 11:15:15 -08:00
Ryan Uber 420d4d0ba4 api: finish up maintenance tests 2015-01-21 11:08:57 -08:00
Ryan Uber 40cfd527cb agent: fix maintenance check ID 2015-01-21 11:03:42 -08:00
Ryan Uber b71ffb1fa3 agent: change node maintenance endpoint 2015-01-21 10:57:44 -08:00
Ryan Uber 98d47d2b9a api: add node/service maintenance mode functions 2015-01-21 10:51:43 -08:00