Commit Graph

6181 Commits (8ce3aae2f7f16c85a5465f922dcafe54090ed3e2)

Author SHA1 Message Date
Roman Mingazeev 1c08463204 rebase
5 years ago
Roman Mingazeev efe6d2f08f add comment and remove overrides
5 years ago
Roman Mingazeev 23118c451c fix delete
5 years ago
Roman Mingazeev 4eb3daec8e lint
5 years ago
Roman Mingazeev 478fda12ba reuse common configs
5 years ago
Roman Mingazeev adb4a14471
do better mount image (#10335)
5 years ago
Megan Marsh cda3aa205a linting
5 years ago
Megan Marsh 352f064b55 fix docker acceptance tests. Turns out they were broken on the main branch too; needed to move noop progress bar into the sdk to be used in the builder testui.
5 years ago
Megan Marsh 8f51a8bfae move provisioner acceptance tests into sdk alongside builder acceptance tests. Reorganize slightly to make sure no import cycles of doom get formed
5 years ago
Megan Marsh becf7723e6 move builder/testing to acctest inside sdk
5 years ago
Megan Marsh f3f4fef44a fix import
5 years ago
Megan Marsh 98f5fa453c move aws specific acceptance test helper into amazon builder dir
5 years ago
Megan Marsh 2d04ef9b99 remove commented code
5 years ago
Megan Marsh afc798c30a Modify vmware_vmx acceptance tests to use builderT framework
5 years ago
Megan Marsh 3681e2a7ee fix pathing
5 years ago
Megan Marsh 5576bb5caa move packer config constants next to the packer config
5 years ago
Megan Marsh 8558d1241f move TestUi func to sdk
5 years ago
Megan Marsh a0e81806d3
Merge pull request #10328 from hashicorp/sdk_testing
5 years ago
Ambrose Chua 436ac8ef26 Fix duplication of main disk in QEMU
5 years ago
Ambrose Chua f5d5e28012
Update step_copy_disk.go (#10333)
5 years ago
Gareth Rees 937e39d9f4 Amend commit author to align with Hashicorp license
5 years ago
Gareth Rees d6831a4de3 Amend commit author for license pass
5 years ago
Gareth Rees 833855eec5 Amend commit author for license pass
5 years ago
Gareth Rees 3ab9bae79c Amend commit author for license pass
5 years ago
Gareth Rees a05c554d14 Amend commit author for license pass
5 years ago
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.
5 years ago
Megan Marsh 39354f64e5 move helper/communicator dir into packer-plugin-sdk
5 years ago
Megan Marsh 307f56f560 move postprocessor to sdk, fix generation code
5 years ago
Megan Marsh b4bc3f1c7b move provisioner interface into sdk
5 years ago
Megan Marsh faa3832537 extract builder interface to sdk
5 years ago
jhawk28 89199a4c57
WaitForIP should not return an error if an IP is not found (#10321)
5 years ago
Megan Marsh 19bdc8b49e fix conflicts
5 years ago
Megan Marsh 0eff73293a fix imports, vendoring, and linting
5 years ago
Megan Marsh d5971ca25e fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK
5 years ago
Megan Marsh 56a45b04ab Move hook and communicator definitions to packer-plugin-sdk
5 years ago
Megan Marsh a6fdeca099 move logsecretfilter into packer sdk
5 years ago
Megan Marsh 14bdb9516c move Artifact and artifact mock to the sdk
5 years ago
Megan Marsh c70870cb83 move multierror and multierrorappend into sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Megan Marsh a56477c2e4
Merge branch 'master' into yandex/prepare-user-data
5 years ago
Megan Marsh 862700b1a5
Merge pull request #10306 from bugfood/fix-attach
5 years ago
Wilken Rivera d82b9d2072
builder/qemu: Add ok check for state values (#10249)
5 years ago
Corey Hickey fdb36e329d allow attaching guest additions without a communicator
5 years ago
Roman Mingazeev 2b8fcead23 support shellscript
5 years ago
Roman Mingazeev 0101eb1bb1 support merge cloud user-data
5 years ago
Megan Marsh b50fe930e5
fix retries (#10290)
5 years ago
Megan Marsh 5a804de9a3
Merge pull request #10212 from OblateSpheroid/GH8211
5 years ago
Megan Marsh f4041ee4d0
Merge pull request #10200 from aleksandrserbin/feature/describe-instance-on-fail
5 years ago
Megan Marsh 10c1b638b6 fix spaces vs tabs in formatting from github commit resolution
5 years ago
Megan Marsh ba1e60ff35
Update builder/amazon/common/block_device_test.go
5 years ago
Megan Marsh b3401b4f4d
Merge branch 'master' into feature/aws-ebs-io-validation
5 years ago
Megan Marsh 6bf4e89615
Merge pull request #10181 from remyleone/profile
5 years ago
Megan Marsh 8ec7ee0ab7
Merge pull request #10093 from ufukty/digitalocean-connect-with-private-ip
5 years ago
Megan Marsh 60e62bbb51
Merge pull request #10287 from hashicorp/implement_9990
5 years ago
Megan Marsh 030f40a7b6
Merge pull request #10286 from hashicorp/hcl2template_extraction
5 years ago
sylviamoss 99e7ac5f42 fix test and generated code
5 years ago
sylviamoss 3b523e147e add config opt to additional storage to cloned vm
5 years ago
Megan Marsh ea1ac530b0 move hcl2template kv types into the config/custom_types with trilean definitions
5 years ago
Megan Marsh cbaecf9077 remove unused SkipValidation field which was a duplicate of the SkipRegionValidation field.
5 years ago
Megan Marsh f8f1ebf0c7 move version and useragent definitions into sdk
5 years ago
Megan Marsh 9e47696dff move helper/config to bundle with the other template definitions
5 years ago
Megan Marsh 007337989e move communicator helpers into communicator dir
5 years ago
Megan Marsh 3f6deb8828 move multistep into the plugin sdk
5 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
5 years ago
Megan Marsh 1ffc358ada move tmp helper func into packer-plugin-sdk
5 years ago
Megan Marsh 4ead224c3b
Merge pull request #10256 from hashicorp/plugin-sdk-4
5 years ago
Megan Marsh 94a660147e rename retry so it doesn't stutter
5 years ago
Megan Marsh bf7daa1d93
Merge pull request #10255 from hashicorp/plugin-sdk-3
5 years ago
Megan Marsh efe11da4a3
Merge pull request #10254 from hashicorp/plugin-sdk-2
5 years ago
Megan Marsh 220bca460e
Merge pull request #10253 from hashicorp/plugin-sdk-1
5 years ago
Megan Marsh 3e54e9ea80
Merge pull request #10235 from hashicorp/refactor_version_code
5 years ago
loloolllool 54afe0b880 Generating new hcl2specs for proxmox builder.
5 years ago
lollen 2bdfd53756 Proxmox-builder pass through boot-order
5 years ago
Megan Marsh f52a2ad0fa move retry function that is only used by osc builder into that builder's common dir instead of the global common dir. Fix bug in quemu where the wrong retry value is checked against.
5 years ago
Megan Marsh c4d0c5505a fix tests
5 years ago
Megan Marsh e04eaa89e6 move steps and step configs from packer/common to packer/common/commonsteps
5 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
5 years ago
Megan Marsh df9febef1b move communicators into sdk-internals directory
5 years ago
Megan Marsh 6871a3a85d
Merge pull request #10250 from Direnol/yandex/change-disk-creation-method
5 years ago
Roman Mingazeev 6be26e50e0
Update builder/yandex/config.go
5 years ago
Roman Mingazeev 5bf03df694 fix fmt
5 years ago
Roman Mingazeev 6a327b1330 add labels for temp disk
5 years ago
Roman Mingazeev fe9dca4c75 change disk creation method to manual
5 years ago
Megan Marsh 3db40194af version files
6 years ago
Megan Marsh 8ecd16db81 regenerate code
6 years ago
Megan Marsh 1ecd715221 refactor code so that packer/version is not a dependency of sdk code or plugin code
6 years ago
Megan Marsh 2bf912bddf
Merge pull request #10203 from aleksandrserbin/feature/launch-template-tags
6 years ago
Megan Marsh 88e03280b6
Extract plugin-specific examples to plugin directories (#10228)
6 years ago
Paul Meyer 5ea90fea5b
Merge pull request #10210 from sumit-kalra/master
6 years ago
Megan Marsh efc117fb55
Merge pull request #10218 from hashicorp/clean_plugin_sdk
6 years ago
Simon Gottschlag 65b7d3b604
Add Azure CLI authentication (#10157)
6 years ago
Megan Marsh 2d90ffe7a4 move GeneratedData struct and PlaceholderMsg to same package under common
6 years ago
Megan Marsh f13f3d4d5f fix single tag interpolation to allow golang template engine usage
6 years ago
Megan Marsh 7a1680df97
modify a ton of error messages to make them specifically placable. (#10191)
6 years ago
Megan Marsh 45b5f0c2ee move custom http client creation with env proxy args into same package as other network related helpers
6 years ago
Megan Marsh 7b57e28600 move localexec to common/shell-local dir since it is related to shelling out locally
6 years ago
Aleksandr Serbin a763c8ab02 amazon: validate IOPS only for io volumes
6 years ago
Aleksandr Serbin 09c2620c48 amazon: validate IOPS max and min values
6 years ago
Megan Marsh 23552bfbd7
Merge pull request #10213 from chrisroberts/vagrant-driv-stderr
6 years ago
Megan Marsh d8fec2e9e5
move the hyperv-only powershell dependency into the hyperv subdirectory (#10198)
6 years ago
Marin Salinas 8b5e2903b9
feat: add hk endpoint support for osc builder (#10207)
6 years ago
Aleksandr Serbin 0cf9b55c5c amazon-ebs: validate IOPS ratio
6 years ago
Chris Roberts 8248f52ff7 Return error if ssh-config command fails
6 years ago
Aleksandr Serbin 7cb8af1441 amazon: remove region from state for chroot builder
6 years ago
Aleksandr Serbin 8dab31b548 amazon: use spot tags for launch template tags
6 years ago
js-g 749a1372d2 test (builder/oracle-oci): add config test for LaunchMode
6 years ago
js-g ba6173b84c fix (builder/oracle-oci): remove subnet from LaunchInstanceDetails
6 years ago
js-g c3ffb3dc22 feat (builder/oracle-oci): add launch mode property to image
6 years ago
Sumit Kalra 2b69a5f496 azure-arm builder: Create keyvaults with SoftDelete enabled
6 years ago
Marin Salinas f2b386a9d0 feat: add x509 certificate support
6 years ago
Aleksandr Serbin d561b404d6 amazon-ebs: add tags to launch template
6 years ago
Aleksandr Serbin 4669c0f852 amazon-ebs: log state details on change
6 years ago
Megan Marsh 845a10867e
Merge pull request #10003 from hashicorp/ssm_session_retry
6 years ago
Megan Marsh 72fd763207 fix crash
6 years ago
Rémy Léone 0cfaf4a620 Fix
6 years ago
Wilken Rivera 01d5e5ca76 test/amazon/ebs: Add acceptance test for Session Manager Interface connectivity
6 years ago
Adrien Delorme aae1992649 remove default PauseBeforeSSM, this will have to be set manually
6 years ago
Adrien Delorme 6c45f04467 Delete ssm_mock_funcs.go
6 years ago
Adrien Delorme 5d06a6e6df rename file correctly
6 years ago
Adrien Delorme c6e2dd5538 remove unit test file for now, I think that an acceptance test will be easier here
6 years ago
Adrien Delorme a4bd744955 simplify things a bit more
6 years ago
Adrien Delorme aef3d24213 Update step_create_ssm_tunnel.go
6 years ago
Adrien Delorme f329cb5b93 simplify code
6 years ago
Adrien Delorme b058de072a move packer/builder/amazon/common.IsAWSErr to builder/amazon/common/awserrors.Matches
6 years ago
Adrien Delorme 8e355d0fe7 Move ssm code to its own ssm package and make it singlethreaded
6 years ago
Rémy Léone db96c5c9ae Fix
6 years ago
Rémy Léone 3413fc5c46 Fix
6 years ago
Rémy Léone adb74ba15d Fix
6 years ago
Megan Marsh 69312458c4
Merge pull request #10111 from hashicorp/azr_selectable_temp_keygen_type_gcp
6 years ago
Rémy Léone 288e29b1e0 scaleway: use the SDK functions to load profile from file and env
6 years ago
Wilken Rivera 646b973bd3 Remove logic to retry a connection that reuses an existing SSM Session
6 years ago
Wilken Rivera dff9cde775 Remove waitgroups
6 years ago
Wilken Rivera eb11009e2a Check for closed channels as opposed to using a separate closeRetry channel
6 years ago
Megan Marsh fb3d357e84
fix step_shutdown when a null communicator is used (#10178)
6 years ago
sylviamoss aa73cc7d7e add close chan to avoid unwanted retries
6 years ago
sylviamoss 1f62249097 add retry terminated session chan
6 years ago
sylviamoss 8e3f3e514c improve logs
6 years ago
sylviamoss b2c7897f58 add WaitGroup to avoid data race
6 years ago
sylviamoss 1c2b469acd add retry channel to ssm driver
6 years ago
Megan Marsh 8f3a115c5a
Merge pull request #10173 from hashicorp/azr-fix-hcl2-gcp-image_encryption_key
6 years ago
Megan Marsh dc38fadeeb
Merge pull request #10155 from hashicorp/logging_for_10042
6 years ago
Megan Marsh 8adbba6904 switch to guard clause format
6 years ago
Adrien Delorme ef32147a4a Fix GCP HCL image_encryption_key fields and use the same casing in JSON and HCL2
6 years ago
Megan Marsh c4866504e1
respect the destroy flag in content library config (#10165)
6 years ago
Adrien Delorme bab29060fe regen hcl after master merge
6 years ago
Adrien Delorme f5e037e8b4 Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
6 years ago
blz-ea 73370570f4
Fix Proxmox builder unhandled buildvar type (#10154)
6 years ago
Megan Marsh 25f4e24772
Merge pull request #10150 from nshalman/nshalman/tag-snapshots
6 years ago
Megan Marsh 7646ecf8c6 fix tests
6 years ago
Megan Marsh 4862b2c0f0
Merge pull request #10163 from hashicorp/fix-azure_arm-manageddisk-deletion-regression
6 years ago
Megan Marsh fc619dc977
Merge pull request #9626 from featheredtoast/add-proxmox-vm-clone
6 years ago
Megan Marsh 56c7a9cda5 rebase
6 years ago
netapp-jgriffit 15467aa868 Update builder/vsphere/common/step_shutdown.go
6 years ago
James Griffith 185f3d9d48 vsphere clone config not yet using warnings, leaving code commented out
6 years ago
James Griffith c8ad66f419 update to docs as suggested
6 years ago
James Griffith c86a48fbc9 syntax change
6 years ago
James Griffith f86f7c4464 Another instance using `Prepare()` needed an update
6 years ago
James Griffith 09edada93d moved the warning into Prepare() and updated the invocation
6 years ago
James Griffith 572de129d7 update documentation
6 years ago
James Griffith 1048cdbcc4 check for no communicator and provide messaging to user
6 years ago
James Griffith 2ecf5cc9aa Communicator is not needed unless shutdown_command is populated
6 years ago
James Griffith 6b39b1eed6 StepShutdown should still occur if Comm.Type is none
6 years ago
James Griffith 65ff092fd4 hashicorp/packer#9924
6 years ago
Megan Marsh 19bd997f11 add directory existence check
6 years ago
Wilken Rivera a1d69bfe91 Fix liniting issues
6 years ago
Wilken Rivera afd33679f5 builder/azure_arm: Fix build failures due to the deletion of attached managed disks
6 years ago
Megan Marsh 8f67f939f9
Merge pull request #10158 from Direnol/yandex-add-support-iam-auth
6 years ago
Roman Mingazeev 75befba67e add more doc
6 years ago
Roman Mingazeev 60595ad522 remove extra log
6 years ago
Roman Mingazeev 72fe3bbc26
Update builder/yandex/access_config.go
6 years ago
Roman Mingazeev ae7fc84557 Added support for IAM credential in the token field and YC_TOKEN env
6 years ago
Megan Marsh 7fac596b37 don't try to delete a cd file if the upload of the cd itself failed
6 years ago
Megan Marsh 3be53e10af
Merge pull request #10128 from nayyara-samuel/add-state-timeout-linode
6 years ago
Megan Marsh c4001734d0
Merge pull request #10143 from hashicorp/do_9951
6 years ago
Megan Marsh 00037d8e69
Merge pull request #10145 from hashicorp/fix_10135
6 years ago
Megan Marsh 70cb4097e1 review comments, add plugin type for a few missing builders
6 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
6 years ago
Megan Marsh f1f834b8fe commhostport isn't present if communicator is null; protect casting in a check
6 years ago
Nahum Shalman 83a672f2c9 amazon/ebssurrogate: apply snapshot tags right when taking snapshot
6 years ago
Megan Marsh 796c40f89b builder/vsphere: skip iso download if hashed file is already present in remote packer_cache
6 years ago
Wilken Rivera a2ba700ac0 Remove deprecated object ids from configs
6 years ago
Adrien Delorme 522d122858 regen all code
6 years ago
Adrien Delorme 4aea2efd0f HCL2: fully name SSHTemporaryKeyPair fields so that they don't conflict and can be generated
6 years ago
Wilken Rivera 1621ab59d8
tests/azure/arm: Update test image name (#10133)
6 years ago
Megan Marsh 799c548c40
Merge pull request #10116 from OblateSpheroid/GH8915
6 years ago
Boran Car 9b89439ec2 Rearrange cert add after err check for idiomatic
6 years ago
Boran Car 1082bffddd Add Azure PFX certificate support
6 years ago
Adrien Delorme d1e0214bec avoid panic debugging ssh key
6 years ago
Adrien Delorme f51b231c17 Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
6 years ago
Adrien Delorme 536421efaf debug mode: don't dump the ssh key if its from a file
6 years ago
js-g 2f26e6d823 tests (builder/oracle-oci): test base image filter in config
6 years ago
Nayyara Samuel 32ebabfcf5 Add documented `state_timeout` parameters to Linode builder
6 years ago
Ufuk 2124d3d6b8 builder/digitalocean: tests added for new features vpc_uuid and connect_with_private_ip
6 years ago
Megan Marsh b8e6e2c081
Merge pull request #10085 from 10000coins/f-aws-tenancy
6 years ago
Megan Marsh ef1b401a22
Merge pull request #10102 from mattr-/update-amazon-builder-for-io2
6 years ago
Bryan Hundven ecc8c6a44a Replace `create_image` with `skip_create_image`, as requested
6 years ago
Bryan Hundven 476eefa26b Add 'create_image' option to googlecompute
6 years ago
Megan Marsh 456214eb51
Merge pull request #10056 from marinsalinas/new_client
6 years ago
Evan Pipho 608307cd1e Re-allow spot + tenancy. Validate tenancy is set to a usable value
6 years ago
Evan Pipho d5d1a8708e Add tests for Tenancy vs Spot Price
6 years ago
Evan Pipho 6967e02103 Add support for source instance tenancy to amazon builders
6 years ago
js-g 0c34d6ca12 feat (builder/oracle-oci): add regex search on base image name
6 years ago
js-g 27128dc62f feat (builder/oracle-oci): allow filtering on base image
6 years ago
Adrien Delorme 54032d6c11 gen code and docs
6 years ago
Adrien Delorme f4f731b83c Refactor google compute's temporary ssh keygen genertion to use the sshkey package
6 years ago
Matt Rogers 15f97421e2
builder/amazon: Add io2 as a supported volume type
6 years ago
Wilken Rivera c7ba5c9a14
Fix line ending issues for test files (#10096)
6 years ago
Marin Salinas 22a49a2f2e chore: fix test
6 years ago
Marin Salinas 472b008a94 chore: fix test
6 years ago
Megan Marsh 4810a3d86f
Merge pull request #10077 from hashicorp/document_3348
6 years ago
Marin Salinas 2578bbbb50 chore: fix test
6 years ago
Marin Salinas 09f57537bf chore: fix lint issues on osc builder
6 years ago
Ufuk a100fe496b go fmt
6 years ago
Marin Salinas 56807553fc chore: fix lint issues on osc builder
6 years ago
Ufuk 49cd4baa0c VPCUUID and ConnectWithPrivateIP have been added to builder/digitalocean
6 years ago
Jeff Wong 0f12414126
Merge branch 'master' into add-proxmox-vm-clone
6 years ago
Megan Marsh 01ed398756
fix up alicloud docs to make it clearer that disk_size and other disk device options are not top level fields. (#10080)
6 years ago
Jeff Wong 2861ad9074
clean up imports
6 years ago
Megan Marsh 709a173060 fix docs linking issue
6 years ago
Megan Marsh b05fd9303e document that users must re-apply packer defualts for drive and device arguments
6 years ago
Megan Marsh 774a168957
Merge pull request #10064 from hashicorp/refactor_step_run
6 years ago
Megan Marsh 3e35630d8d remove slashes to prevent windows test fails
6 years ago
Megan Marsh 62a401ef28
Fix 10060 (#10065)
6 years ago
Jeff Wong 93531b3ec5
[proxmox] Adds proxmox fixer and fixer test
6 years ago
Jeff Wong a140c13943
[proxmox] add proxmox builder alias
6 years ago
Megan Marsh d6aa172edc remove typo'd option from docs
6 years ago
Megan Marsh 8e632866b1 typo
6 years ago
Megan Marsh b54b778572 major refactor of the step_run. Splits step into two major parts:
6 years ago
Patrik d4d78feed2
feat(scaleway): get image by label if not an UUID (#10061)
6 years ago
abarbare a478bf6f37
fix: update scaleway website documentation (#10058)
6 years ago
Ricardo Rosales 809f38be3a
[azure-chroot] Updating parameter `exlude_from_latest` to `exclude_from_latest` (#10034)
6 years ago
Jeff Wong cd3bdc9e38
REFACTOR: do not pass comm ref through statebag
6 years ago
Jeff Wong fdda18e392
Use Trilean for boolean value, and allow for missing values for defaults
6 years ago
Jeff Wong 977022fb35
Go format
6 years ago
Jeff Wong a26e3e6887
[Proxmox] FIX: tests, add required iso_file to basic iso config tests
6 years ago
Megan Marsh 61c6085651
final fix to make service account impersonation work with iap tunnels (#10054)
6 years ago
Megan Marsh 7ee9a4b638
Merge pull request #9968 from upodroid/google-impersonation
6 years ago
Adrien Delorme f6d362d392 skip Ctx
6 years ago
Adrien Delorme 25d7e7ce17 fix tests
6 years ago
Adrien Delorme 5b3ff89cb0 proxmox: move iso.storageConfig to common.storageConfig
6 years ago
Adrien Delorme 1260e123aa proxmox.Config: remove mapstructure:",squash" tag
6 years ago
Adrien Delorme b2be255057 Merge remote-tracking branch 'origin/master' into pr/featheredtoast/9626-1
6 years ago
Megan Marsh deb08409f1
Merge pull request #10040 from OblateSpheroid/GH6844
6 years ago
Megan Marsh 721cbac645
Merge pull request #9996 from hashicorp/fix_9995
6 years ago
js-g c892f0582b GH#6844: allow image compartment to be specified
6 years ago
Megan Marsh 157b5cdc28
Merge pull request #10017 from kostasns/oci_boot_volume
6 years ago
upodroid b1c74f9df0 Merge branch 'master' of github.com:hashicorp/packer into google-impersonation
6 years ago
upodroid f13099edfb rebase the branch
6 years ago
Kostas 8c07e21be8 update hcl2spec
6 years ago
Kostas 18c4f271ac rename variable; add docs
6 years ago