Commit Graph

7045 Commits

Author SHA1 Message Date
Michael Schurter
985bde83d6 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
11206c7c3e 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
ee53b2207d Merge pull request #2521 from hashicorp/t-windows
Variety of Windows specific test fixes
2017-04-04 16:47:46 -07:00
Alex Dadgar
462dbc4553 fix badge 2017-04-04 16:38:49 -07:00
Alex Dadgar
5feeee3f62 install with tags 2017-04-04 16:32:26 -07:00
Alex Dadgar
4e7813b257 remove vault main from vendor 2017-04-04 16:24:27 -07:00
Alex Dadgar
b7e17b5b25 Download specific consul/vault 2017-04-04 16:17:28 -07:00
Alex Dadgar
67175cc47c vault testutil changes bin name based on OS 2017-04-04 15:14:35 -07:00
Alex Dadgar
1dbd63ad2a Split driver tests 2017-04-04 15:12:14 -07:00
Alex Dadgar
1458d9b35a Split task runner tests 2017-04-04 15:02:09 -07:00
Alex Dadgar
1fa0eca3cc set gobin 2017-04-04 14:52:45 -07:00
Alex Dadgar
fc78bf8bc5 Change testserver binary lookup 2017-04-04 14:45:29 -07:00
Alex Dadgar
cbc4fe162e README 2017-04-04 14:30:31 -07:00
Alex Dadgar
4cf2b34299 version bump 2017-04-04 14:29:41 -07:00
Alex Dadgar
8b31a583d0 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
c3bef21e5a Drop verbose 2017-04-04 12:50:12 -07:00
Alex Dadgar
cdfff4fd32 try to get make to work 2017-04-04 12:39:38 -07:00
Seth Vargo
f7888c84d1 Use Nomad's color 2017-04-01 20:58:49 -04:00
Seth Vargo
252c1ec63d Update Gemfile 2017-04-01 20:54:14 -04:00
Seth Vargo
f9cdab5032 Add favicons 2017-04-01 20:53:35 -04:00
Alex Dadgar
4cd2cf1c3c Release v0.5.6 2017-03-31 17:17:42 -07:00
Alex Dadgar
eba232a07c version bump 2017-03-31 17:07:03 -07:00
Alex Dadgar
c934063713 FinishedAt only records when the task has actually started 2017-03-31 17:06:05 -07:00
Alex Dadgar
e5476981e4 Small format fix 2017-03-31 16:21:50 -07:00
Alex Dadgar
3f48e2cc15 Changelog 2017-03-31 16:16:35 -07:00
Alex Dadgar
92f5e82b31 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
d212f6fe94 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
2ec3e61f90 Bump required go 2017-03-30 10:57:43 -07:00
Alex Dadgar
aaf7343b17 bump 2017-03-29 14:56:02 -07:00
Alex Dadgar
043e7f4891 Merge pull request #2503 from hashicorp/debug-vault
Fix variable capture and add tests
2017-03-29 14:53:48 -07:00
Alex Dadgar
031303a68d Fix error checking 2017-03-29 13:59:43 -07:00
Alex Dadgar
4596542197 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
a8b836beec Grammar fix. 2017-03-29 11:49:09 -07:00
Michael Schurter
70fe3279d7 Merge pull request #2498 from neumayer/fixtypo
Fix typo and be consistent in naming
2017-03-29 09:12:38 -07:00
Robert Neumayer
46dcbc5c5e Fix typo and be consistent in naming 2017-03-29 09:33:54 +02:00
Alex Dadgar
d3a238f588 Release v0.5.6-rc1 2017-03-28 14:18:23 -07:00
Alex Dadgar
d122ef094b bump version 2017-03-28 13:32:52 -07:00
Alex Dadgar
643df689eb Merge pull request #2497 from hashicorp/v-vendor
Vendor consul & consul-template
2017-03-28 13:16:13 -07:00
Michael Schurter
f525f6acf3 Mention #2289 ##2482 in changelog 2017-03-28 12:49:31 -07:00
Michael Schurter
4d3c571859 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
39fff80c18 add missing 2017-03-28 12:41:38 -07:00
Michael Schurter
c58efbce13 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
ae9d49502a Recoverable struct field must be exported 2017-03-28 12:18:57 -07:00
Alex Dadgar
f807bcb83d Vendor consul 2017-03-28 12:00:27 -07:00
Alex Dadgar
536493998d Consul-template 2017-03-28 11:51:15 -07:00
Alex Dadgar
635215dbf6 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
57673dc62a Update task.html.md 2017-03-29 00:06:47 +05:30
vrenjith
90f8bae938 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
7f2bbe70c1 Merge branch 'master' into b-2491-task-env 2017-03-28 11:28:00 -07:00
Alex Dadgar
540e8ee036 changelog and version 2017-03-28 11:22:00 -07:00