Commit Graph
18348 Commits
Author SHA1 Message Date
Megan Marsh 8b420944c5 debugs 2018-01-25 14:34:00 -08:00
Megan Marsh 46c3113613 it compiles :) 2018-01-25 14:34:00 -08:00
Megan Marsh 8aa716cd4c stub out step_snapshot 2018-01-25 14:33:43 -08:00
Megan Marsh 007e8f7c14 finish stubbing out step_create_IP_reservation 2018-01-25 14:33:43 -08:00
Megan Marsh 7d72870179 add buffer to read template into 2018-01-25 14:33:42 -08:00
Megan Marsh 0117f53721 add error message 2018-01-25 14:33:42 -08:00
Megan Marsh a66dfe1972 fleshing out step_create_instance 2018-01-25 14:33:42 -08:00
Megan Marsh 4fe89be32a fleshing out steps 2018-01-25 14:33:42 -08:00
Megan Marsh 75ee66f934 add stubbed out steps 2018-01-25 14:33:42 -08:00
Matthew Hooker 967b858fc3 add go-oracle client 2018-01-25 14:33:42 -08:00
Matthew Hooker 3bf431a423 construct OCI client 2018-01-25 14:33:41 -08:00
Matthew Hooker 9e8d845c03 create instance reservation 2018-01-25 14:33:41 -08:00
Matthew Hooker 543caf3ec5 WIP OCI Classic builder 2018-01-25 14:33:41 -08:00
Matthew Hooker 48e12b6bee only set role name if it's set. 2018-01-25 10:39:21 -08:00
Matthew Hooker 00a55e209a Merge pull request #5817 from brianterry/role_in_amazon_import
Added role in amazon-import
2018-01-25 10:39:04 -08:00
Brian Terry 380147200c Added role in amazon-import 2018-01-25 10:56:30 -05:00
Matthew Hooker 7f4112ba22 Merge pull request #5810 from hashicorp/multistep-context
Add context to build steps
2018-01-24 17:28:02 -08:00
Matthew Hooker 5e444ff7ab update multistep documentation 2018-01-24 17:27:08 -08:00
Matthew Hooker 3e2895afec comments 2018-01-24 17:09:18 -08:00
Matthew Hooker eafda52411 use amazon steps from master 2018-01-24 17:09:18 -08:00
Matthew Hooker aa667577a5 update context library 2018-01-24 17:09:18 -08:00
Matthew Hooker 2afd81741c use correct context 2018-01-24 17:09:18 -08:00
Matthew Hooker ce4f30c5ae fix tests 2018-01-24 17:09:17 -08:00
Matthew Hooker 8cd403425e test fixes WIP 2018-01-24 17:09:17 -08:00
Matthew Hooker 5d48d658b4 Wire context through misc steps
Some steps actually need to pass the context around, so let's create
a ctx variable and pass it.
2018-01-24 17:09:17 -08:00
Matthew Hooker 7a189a83a1 fix imports
`find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports -w {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker a831d522be change run signatures
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.

`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker a0c625ea44 Revert "working with opt-in"
This reverts commit 4068ffdaf541354e75507add7ca0b193993fcd52.
2018-01-24 17:09:16 -08:00
Matthew Hooker e98f201602 working with opt-in 2018-01-24 17:09:16 -08:00
Matthew Hooker 62e3d1362f pass context through step.run again 2018-01-24 17:09:16 -08:00