Matthew Hooker
dd2384483b
add context to steps
2018-01-25 14:42:39 -08:00
Megan Marsh
7d85b31b29
make fmt
2018-01-25 14:34:03 -08:00
Megan Marsh
00db189c9c
add docs page
2018-01-25 14:34:03 -08:00
Megan Marsh
1fffbacdd3
fix ordering of deleting security rules and lists
2018-01-25 14:34:03 -08:00
Matthew Hooker
76ea73c5b2
I don't think we need to delete this artifact right now
2018-01-25 14:34:03 -08:00
Matthew Hooker
603881d990
add oci/classic artifact
2018-01-25 14:34:03 -08:00
Matthew Hooker
44befb0857
rename
2018-01-25 14:34:02 -08:00
Matthew Hooker
b9a90b9261
Check for error when creating ip reso
2018-01-25 14:34:02 -08:00
Megan Marsh
7d23cfae0a
allow user to add a security list for SSH access; add cleanup for packer-generated rules and lists
2018-01-25 14:34:02 -08:00
Megan Marsh
531cb2244d
add separated out steps
2018-01-25 14:34:02 -08:00
Megan Marsh
53ff257cf0
it LLIIIIIIIIIVES
2018-01-25 14:34:02 -08:00
Megan Marsh
89159f3a87
fix bugs in cleanup
2018-01-25 14:34:02 -08:00
Megan Marsh
f6c60aac78
clean up instance
2018-01-25 14:34:01 -08:00
Megan Marsh
256382547b
snapshot step works
2018-01-25 14:34:01 -08:00
Megan Marsh
69ba710c2a
PROGRESS! Now it only fails on the snapshot step
2018-01-25 14:34:01 -08:00
Megan Marsh
f208a071a4
fix communicator
2018-01-25 14:34:01 -08:00
Megan Marsh
6556a851dc
fix ssh key handling
2018-01-25 14:34:01 -08:00
Megan Marsh
a8a0072049
oops need to add this moved file to git
2018-01-25 14:34:01 -08:00
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
Matthew Hooker
030b5fd4f0
WIP add context to state bag
2018-01-24 17:09:16 -08:00
Matthew Hooker
07a5af66f8
remove ctx arg from step.run
2018-01-24 17:09:15 -08:00