23 Commits

Author SHA1 Message Date
Clint
b3f0e9badf
Stepwise docker env (#9292)
* add first stepwise test env, Docker, with example transit test

* update transit stepwise test

* add other tests that use stepwise

* cleanup test, make names different than just 'transit'

* return the stderr if compile fails with error

* minor cleanups

* minor cleanups

* go mod vendor

* cleanups

* remove some extra code, and un-export some fields/methods

* update vendor

* remove reference to vault.CoreConfig, which really wasn't used anyway

* update with go mod vendor

* restore Precheck method to test cases

* clean up some networking things; create networks with UUID, clean up during teardown

* vendor stepwise

* Update sdk/testing/stepwise/environments/docker/environment.go

haha thanks :D

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* Update sdk/testing/stepwise/environments/docker/environment.go

Great catch, thanks

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* fix redundant name

* update error message in test

* Update builtin/credential/userpass/stepwise_test.go

More explicit error checking and responding

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* Update builtin/logical/aws/stepwise_test.go

`test` -> `testFunc`

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* Update builtin/logical/transit/stepwise_test.go

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* fix typos

* update error messages to provide clarity

* Update sdk/testing/stepwise/environments/docker/environment.go

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* update error handling / collection in Teardown

* panic if GenerateUUID returns an error

* Update sdk/testing/stepwise/environments/docker/environment.go

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>

* Update builtin/credential/userpass/stepwise_test.go

Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>

* Update builtin/logical/aws/stepwise_test.go

Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>

* Update builtin/logical/transit/stepwise_test.go

Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>

* Update sdk/testing/stepwise/environments/docker/environment.go

Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>

* import ordering

* standardize on dc from rc for cluster

* lowercase name

* CreateAPIClient -> NewAPIClient

* testWait -> ensure

* go mod cleanup

* cleanups

* move fields and method around

* make start and dockerclusternode private; use better random serial number

* use better random for SerialNumber

* add a timeout to the context used for terminating the docker container

* Use a constant for the Docker client version

* rearrange import statements

Co-authored-by: Michael Golowka <72365+pcman312@users.noreply.github.com>
Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>
2020-06-26 17:52:31 -05:00
Jeff Mitchell
2963f5066c Updating plugin deps 2019-08-14 17:23:29 -04:00
Jeff Mitchell
278bdd1f4e
Switch to go modules (#6585)
* Switch to go modules

* Make fmt
2019-04-13 03:44:06 -04:00
Jeff Mitchell
b5455293d4
Update deps (#6580)
* Update deps

* Change azure dep to match plugin
2019-04-12 11:51:37 -04:00
Jeff Mitchell
dba48d5265
Re-add dockertest and fix up imports and update script (#4909) 2018-07-11 17:49:13 -04:00
Jeff Mitchell
2240c71cc0 Bump deps 2018-07-09 12:41:21 -04:00
Chris Hoffman
c8ab530f8a
Bump Deps (#4868)
* bump deps

* revert script changes

* adding govendor miss
2018-07-06 12:09:34 -04:00
Jeff Mitchell
1bb6bf2559 Bump deps 2018-02-10 19:29:52 -05:00
Jeff Mitchell
43493f2767 Bump deps 2018-01-26 18:51:00 -05:00
Jeff Mitchell
61402cf522 Bump deps 2017-11-07 11:57:05 -05:00
Jeff Mitchell
6df6041088 Bump deps 2017-10-27 15:06:04 -04:00
Jeff Mitchell
0911358f1a more dep syncing 2017-09-15 21:47:22 -04:00
Jeff Mitchell
3c143bd0d3 Bump deps 2017-09-15 12:44:57 -04:00
Calvin Leung Huang
2fffe60fa0 Update vendored docker deps 2017-09-07 11:05:33 -04:00
Jeff Mitchell
b0e29bb2ec Bump deps 2017-09-05 18:06:47 -04:00
Jeff Mitchell
75c8c88c47 Sirupsen->sirupsen 2017-07-25 15:49:10 -04:00
Jeff Mitchell
79c47b9433 Bump deps 2017-07-18 10:15:54 -04:00
Jeff Mitchell
08cea6aad1 Bump deps 2017-06-16 11:14:18 -04:00
Jeff Mitchell
b938163ad1 Update vendoring 2017-06-05 10:51:53 -04:00
Jeff Mitchell
d468da79e0 Bump deps 2017-05-24 09:40:58 -04:00
Jeff Mitchell
cccfb2dc13 Bump deps 2017-04-17 11:17:06 -04:00
Jeff Mitchell
7902612773 Bump deps 2017-03-30 20:03:13 -04:00
Jeff Mitchell
7a31da8d94 Add dockertest.v3 to vendor 2017-02-26 16:53:19 -05:00