Megan Marsh
98857c42cf
add tests; fix a couple issues caught by said tests
2018-01-26 14:27:31 -08:00
Matthew Hooker
9edd98f7b0
Use more uuids and make messaging consistent.
2018-01-26 13:43:19 -08:00
Matthew Hooker
c6b43ce6e9
remove errouneous double prep
2018-01-26 13:13:13 -08:00
Matthew Hooker
71acccc1ed
add UI output with resource names
2018-01-26 13:12:35 -08:00
Matthew Hooker
18ffde4ecf
remove unused file
2018-01-26 12:59:46 -08:00
Megan Marsh
0e5be59947
wrap error message for clarity
2018-01-26 09:55:31 -08:00
Megan Marsh
ff9fef5ed2
switch to using a UUID for packer-generated keys, and clean them up at end of build
2018-01-26 09:51:16 -08:00
Megan Marsh
b6d21ecd63
validate that required fields are present
2018-01-26 08:53:24 -08:00
Megan Marsh
25bc1da8fe
remove unsused access config
2018-01-26 08:48:23 -08:00
Megan Marsh
de2e5edf2e
remove errant change in amazon builder
2018-01-26 08:43:51 -08:00
Matthew Hooker
4622bb4585
return no artifact if no snapshot was created
2018-01-25 16:32:37 -08:00
Matthew Hooker
77277ebc98
add logging behind "PACKER_OCI_CLASSIC_LOGGING" env var
2018-01-25 16:32:34 -08:00
Matthew Hooker
0fad49e897
simplify
2018-01-25 15:05:36 -08:00
Matthew Hooker
4dc42942f5
fix multistep path
2018-01-25 14:46:02 -08:00
Matthew Hooker
6dc0bd759a
import context
2018-01-25 14:43:55 -08:00
Matthew Hooker
dd2384483b
add context to steps
2018-01-25 14:42:39 -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
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
8cd403425e
test fixes WIP
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
366dc3da0a
move multistep imports to helper.
...
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Matthew Hooker
ebe995c0ff
run goimports
2018-01-22 17:21:10 -08:00
Andrew Pryde
bb497c2453
Fixed incorrect test failure message in oci client
2017-10-18 11:11:14 +01:00