Commit graph

7046 commits

Author SHA1 Message Date
Michael Schurter aede1478db Create AssertUntil helper func 2017-04-06 17:05:09 -07:00
Michael Schurter 521354ee99 Improve test timings
1234ms was far longer than needed and not sleeping between iterations
was just mean.
2017-04-06 11:10:36 -07:00
Michael Schurter a81c387adf Require TLS for server RPC when enabled
Fixes #2525

We used to be checking a RequireTLS field that was never set. Instead we
can just check the TLSConfig.EnableRPC field and require TLS if it's
enabled.

Added a few unfortunately slow integration tests to assert the intended
behavior of misconfigured RPC TLS.

Also disable a lot of noisy test logging when -v isn't specified.
2017-04-06 09:34:36 -07:00
Alex Dadgar ac401f5e18 Merge pull request #2521 from hashicorp/t-windows
Variety of Windows specific test fixes
2017-04-04 16:47:46 -07:00
Alex Dadgar 5c5a2e5470 fix badge 2017-04-04 16:38:49 -07:00
Alex Dadgar c7eaa3b34d install with tags 2017-04-04 16:32:26 -07:00
Alex Dadgar d2d1172596 remove vault main from vendor 2017-04-04 16:24:27 -07:00
Alex Dadgar 503cdb649d Download specific consul/vault 2017-04-04 16:17:28 -07:00
Alex Dadgar 09502334e1 vault testutil changes bin name based on OS 2017-04-04 15:14:35 -07:00
Alex Dadgar d0da30324e Split driver tests 2017-04-04 15:12:14 -07:00
Alex Dadgar f95af65c75 Split task runner tests 2017-04-04 15:02:09 -07:00
Alex Dadgar 6b62f7f7b7 set gobin 2017-04-04 14:52:45 -07:00
Alex Dadgar 7a958bdfdd Change testserver binary lookup 2017-04-04 14:45:29 -07:00
Alex Dadgar b8d92e868c README 2017-04-04 14:30:31 -07:00
Alex Dadgar aacc554302 version bump 2017-04-04 14:29:41 -07:00
Alex Dadgar 376bd8e38d Merge pull request #2520 from hashicorp/f-appveyor
AppVeyor for Windows Server 2016 CI environment
2017-04-04 14:29:01 -07:00
Alex Dadgar 2e782ee801 Drop verbose 2017-04-04 12:50:12 -07:00
Alex Dadgar 44b9018973 try to get make to work 2017-04-04 12:39:38 -07:00
Seth Vargo f6c78b9cb7
Use Nomad's color 2017-04-01 20:58:49 -04:00
Seth Vargo a64d06afa1
Update Gemfile 2017-04-01 20:54:14 -04:00
Seth Vargo 24f7da06e9
Add favicons 2017-04-01 20:53:35 -04:00
Alex Dadgar d8733c3f96
Release v0.5.6 2017-03-31 17:17:42 -07:00
Alex Dadgar d950cfe00b version bump 2017-03-31 17:07:03 -07:00
Alex Dadgar c52000f792 FinishedAt only records when the task has actually started 2017-03-31 17:06:05 -07:00
Alex Dadgar e131b6fa80 Small format fix 2017-03-31 16:21:50 -07:00
Alex Dadgar 16966fc2f0 Changelog 2017-03-31 16:16:35 -07:00
Alex Dadgar 60dd38d034 Merge pull request #2512 from hashicorp/f-logs-startedat
Track task start/finish time & improve logs errors
2017-03-31 16:14:44 -07:00
Alex Dadgar 81b78f77e1 Track task start/finish time & improve logs errors
This PR adds tracking to when a task starts and finishes and the logs
API takes advantage of this and returns better errors when asking for
logs that do not exist.
2017-03-31 16:14:11 -07:00
Alex Dadgar bb03a42ab6 Bump required go 2017-03-30 10:57:43 -07:00
Alex Dadgar a359235f78 bump 2017-03-29 14:56:02 -07:00
Alex Dadgar 8d4a6a4536 Merge pull request #2503 from hashicorp/debug-vault
Fix variable capture and add tests
2017-03-29 14:53:48 -07:00
Alex Dadgar 54a4d01bf6 Fix error checking 2017-03-29 13:59:43 -07:00
Alex Dadgar 6bee23047a Fix variable capture and add tests
This PR fixes token revocation and adds tests to make sure it is
working. The 0.5.6 RC1's token revocation does not work becasue the
token's value is captured at the instantiation of the deferred
stoprenewal statement rather than its exectution.
2017-03-29 13:17:50 -07:00
Cameron Stokes 02f8bc8080 Grammar fix. 2017-03-29 11:49:09 -07:00
Michael Schurter 2717be8feb Merge pull request #2498 from neumayer/fixtypo
Fix typo and be consistent in naming
2017-03-29 09:12:38 -07:00
Robert Neumayer 804f83f1fb Fix typo and be consistent in naming 2017-03-29 09:33:54 +02:00
Alex Dadgar cfc001625f
Release v0.5.6-rc1 2017-03-28 14:18:23 -07:00
Alex Dadgar 81a63aaf76 bump version 2017-03-28 13:32:52 -07:00
Alex Dadgar 51cb550c74 Merge pull request #2497 from hashicorp/v-vendor
Vendor consul & consul-template
2017-03-28 13:16:13 -07:00
Michael Schurter dd37cb23be Mention #2289 ##2482 in changelog 2017-03-28 12:49:31 -07:00
Michael Schurter ae3810052d Merge pull request #2482 from hashicorp/f-2289-better-artifact-err
Improve artifact download error message
2017-03-28 12:48:22 -07:00
Alex Dadgar c6dd744cfd add missing 2017-03-28 12:41:38 -07:00
Michael Schurter 33ed383911 Merge pull request #2494 from hashicorp/b-2491-task-env
Don't take a reference a var in a loop
2017-03-28 12:26:41 -07:00
Michael Schurter 2d07b75308 Recoverable struct field must be exported 2017-03-28 12:18:57 -07:00
Alex Dadgar 2e297a5191 Vendor consul 2017-03-28 12:00:27 -07:00
Alex Dadgar 4f5563c169 Consul-template 2017-03-28 11:51:15 -07:00
Alex Dadgar 0e0ab0fb25 Merge pull request #2496 from vrenjith/patch-1
disk is not a supported entry at task level
2017-03-28 11:38:47 -07:00
vrenjith b78474b7a1 Update task.html.md 2017-03-29 00:06:47 +05:30
vrenjith d494897000 disk is not a supported entry at task level
Removed the reference to `disk` in the `resources` overview statement
2017-03-29 00:05:17 +05:30
Michael Schurter 1653b42400 Merge branch 'master' into b-2491-task-env 2017-03-28 11:28:00 -07:00