Megan Marsh
|
becf7723e6
|
move builder/testing to acctest inside sdk
|
2020-12-03 11:57:06 -08:00 |
|
Megan Marsh
|
f3f4fef44a
|
fix import
|
2020-12-03 11:43:06 -08:00 |
|
Megan Marsh
|
98f5fa453c
|
move aws specific acceptance test helper into amazon builder dir
|
2020-12-03 11:34:45 -08:00 |
|
Megan Marsh
|
5576bb5caa
|
move packer config constants next to the packer config
|
2020-12-03 10:17:35 -08:00 |
|
Megan Marsh
|
863e20ad65
|
move builder/testing framework into sdk; it imports the core but I think we just need to accept that. It doesn't expose the core directly to the SDK.
|
2020-12-02 09:46:42 -08:00 |
|
Megan Marsh
|
39354f64e5
|
move helper/communicator dir into packer-plugin-sdk
fix imports; fix website and generated partials
|
2020-12-02 08:41:32 -08:00 |
|
Megan Marsh
|
faa3832537
|
extract builder interface to sdk
|
2020-12-02 08:41:31 -08:00 |
|
Megan Marsh
|
56a45b04ab
|
Move hook and communicator definitions to packer-plugin-sdk
|
2020-11-30 14:30:30 -08:00 |
|
Megan Marsh
|
a6fdeca099
|
move logsecretfilter into packer sdk
|
2020-11-30 14:30:30 -08:00 |
|
Megan Marsh
|
14bdb9516c
|
move Artifact and artifact mock to the sdk
|
2020-11-30 14:29:52 -08:00 |
|
Megan Marsh
|
c70870cb83
|
move multierror and multierrorappend into sdk
|
2020-11-30 14:29:06 -08:00 |
|
Megan Marsh
|
001886670d
|
move Ui definition into the packer plugin sdk.
|
2020-11-30 14:26:54 -08:00 |
|
Megan Marsh
|
030f40a7b6
|
Merge pull request #10286 from hashicorp/hcl2template_extraction
move hcl2template kv types into the config/custom_types
|
2020-11-20 12:48:26 -08:00 |
|
Megan Marsh
|
ea1ac530b0
|
move hcl2template kv types into the config/custom_types with trilean definitions
|
2020-11-18 15:46:59 -08:00 |
|
Megan Marsh
|
cbaecf9077
|
remove unused SkipValidation field which was a duplicate of the SkipRegionValidation field.
remove duplicate temporary key pair name
change communicator code
|
2020-11-18 14:21:40 -08:00 |
|
Megan Marsh
|
9e47696dff
|
move helper/config to bundle with the other template definitions
|
2020-11-18 10:34:59 -08:00 |
|
Megan Marsh
|
3f6deb8828
|
move multistep into the plugin sdk
|
2020-11-17 16:31:03 -08:00 |
|
Megan Marsh
|
7d658149ea
|
update tests and website and generated partials to reflect new package format
|
2020-11-17 10:36:01 -08:00 |
|
Megan Marsh
|
e04eaa89e6
|
move steps and step configs from packer/common to packer/common/commonsteps
|
2020-11-13 11:15:04 -08:00 |
|
Megan Marsh
|
6402362018
|
create packer-plugin-sdk directory and begin moving the relevant folders into it.
|
2020-11-13 10:47:36 -08:00 |
|
Megan Marsh
|
8ecd16db81
|
regenerate code
|
2020-11-10 08:16:59 -08:00 |
|
Megan Marsh
|
2bf912bddf
|
Merge pull request #10203 from aleksandrserbin/feature/launch-template-tags
amazon-ebs: add tags to launch template
|
2020-11-09 09:14:02 -08:00 |
|
Megan Marsh
|
efc117fb55
|
Merge pull request #10218 from hashicorp/clean_plugin_sdk
Clean plugin sdk
|
2020-11-06 12:35:23 -08:00 |
|
Megan Marsh
|
2d90ffe7a4
|
move GeneratedData struct and PlaceholderMsg to same package under common
|
2020-11-06 10:45:38 -08:00 |
|
Megan Marsh
|
f13f3d4d5f
|
fix single tag interpolation to allow golang template engine usage
|
2020-11-05 16:27:53 -08:00 |
|
Aleksandr Serbin
|
8dab31b548
|
amazon: use spot tags for launch template tags
- use `spot_tags` instead of `run_tags` for launch template
- move region to `StepRunSpotInstance` from state
|
2020-11-03 22:16:00 +01:00 |
|
Aleksandr Serbin
|
d561b404d6
|
amazon-ebs: add tags to launch template
|
2020-11-01 16:25:43 +01:00 |
|
Megan Marsh
|
845a10867e
|
Merge pull request #10003 from hashicorp/ssm_session_retry
Add retry mechanism to retry SSM session creation
|
2020-10-29 16:02:54 -07:00 |
|
Wilken Rivera
|
01d5e5ca76
|
test/amazon/ebs: Add acceptance test for Session Manager Interface connectivity
Test Results
```
...
2020/10/29 09:35:39 ui: test: Starting session with SessionId: wilken-00bcfae4d314f54e7
2020/10/29 09:35:40 [DEBUG] TCP connection to SSH ip/port failed: dial tcp [::1]:8047: connect: connection refused
2020/10/29 09:35:40 ui: test: Port 8047 opened for sessionId wilken-00bcfae4d314f54e7.
2020/10/29 09:35:45 [INFO] Attempting SSH connection to localhost:8047...
2020/10/29 09:35:45 [DEBUG] reconnecting to TCP connection for SSH
2020/10/29 09:35:45 ui: test: Connection accepted for session wilken-00bcfae4d314f54e7.
2020/10/29 09:35:45 [DEBUG] handshaking with SSH
2020/10/29 09:35:45 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: invalid packet length, packet too large
2020/10/29 09:35:52 [INFO] Attempting SSH connection to localhost:8047...
2020/10/29 09:35:52 [DEBUG] reconnecting to TCP connection for SSH
2020/10/29 09:35:52 [DEBUG] handshaking with SSH
2020/10/29 09:35:52 [DEBUG] handshake complete!
2020/10/29 09:35:52 [DEBUG] Opening new ssh session
2020/10/29 09:35:53 [INFO] agent forwarding enabled
2020/10/29 09:35:53 ui: ==> test: Connected to SSH!
2020/10/29 09:35:53 Running the provision hook
2020/10/29 09:35:53 ui: ==> test: Stopping the source instance...
2020/10/29 09:35:53 ui: test: Stopping instance
2020/10/29 09:35:54 ui: ==> test: Waiting for the instance to stop...
2020/10/29 09:36:25 ui: ==> test: Creating AMI packer-ssm-test-1603978447 from instance i-0853cb6186a3406d5
2020/10/29 09:36:25 ui: test: AMI: ami-0868a41bbb2df77b3
2020/10/29 09:36:25 ui: ==> test: Waiting for AMI to become ready...
2020/10/29 09:37:59 ui: ==> test: Terminating the source AWS instance...
2020/10/29 09:37:59 ui error: ==> test: Bad exit status: -1
2020/10/29 09:38:15 ui: ==> test: Cleaning up any extra volumes...
2020/10/29 09:38:15 ui: ==> test: No volumes to clean up, skipping
2020/10/29 09:38:15 ui: ==> test: Deleting temporary security group...
2020/10/29 09:38:16 ui: ==> test: Deleting temporary keypair...
2020/10/29 09:38:16 Deregistering image ID (ami-0868a41bbb2df77b3) from region (us-east-1)
2020/10/29 09:38:17 Deregistered AMI id: ami-0868a41bbb2df77b3
2020/10/29 09:38:17 Deleted snapshot: snap-09602f15994bc9f51
--- PASS: TestBuilderAcc_SessionManagerInterface (249.87s)
PASS
```
|
2020-10-29 09:39:19 -04:00 |
|
Adrien Delorme
|
b058de072a
|
move packer/builder/amazon/common.IsAWSErr to builder/amazon/common/awserrors.Matches
to avoid cyclic dependency issues
|
2020-10-29 12:02:41 +01:00 |
|