Commit Graph

6114 Commits (azr_implicit_requried_plugin_2)

Author SHA1 Message Date
Megan Marsh bf7daa1d93
Merge pull request #10255 from hashicorp/plugin-sdk-3
6 years ago
Megan Marsh efe11da4a3
Merge pull request #10254 from hashicorp/plugin-sdk-2
6 years ago
Megan Marsh 220bca460e
Merge pull request #10253 from hashicorp/plugin-sdk-1
6 years ago
Megan Marsh 3e54e9ea80
Merge pull request #10235 from hashicorp/refactor_version_code
6 years ago
loloolllool 54afe0b880 Generating new hcl2specs for proxmox builder.
6 years ago
lollen 2bdfd53756 Proxmox-builder pass through boot-order
6 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.
6 years ago
Megan Marsh c4d0c5505a fix tests
6 years ago
Megan Marsh e04eaa89e6 move steps and step configs from packer/common to packer/common/commonsteps
6 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
6 years ago
Megan Marsh df9febef1b move communicators into sdk-internals directory
6 years ago
Megan Marsh 6871a3a85d
Merge pull request #10250 from Direnol/yandex/change-disk-creation-method
6 years ago
Roman Mingazeev 6be26e50e0
Update builder/yandex/config.go
6 years ago
Roman Mingazeev 5bf03df694 fix fmt
6 years ago
Roman Mingazeev 6a327b1330 add labels for temp disk
6 years ago
Roman Mingazeev fe9dca4c75 change disk creation method to manual
6 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
Marin Salinas 49e4d83cd7 refactor: remove oapi references in bsusurrogate builder
6 years ago
Marin Salinas aa3ec3fd0f refactor: change chroot builder to new SDK
6 years ago
Marin Salinas c0c0f003f9 refactor: fix bsu builder to accept proxy
6 years ago
Marin Salinas d813c3647d refactor: change bsuvolume builder to new SDK
6 years ago
Braunson b2047bd938
Put the correct AzureTags type in StateBag (#10014)
6 years ago
Kostas 72166febee allow to specify boot volume size
6 years ago
Megan Marsh 4c0ac6917e switch to using aws base config, which means we're using code tested and maitnained by the terraform crowd.
6 years ago
sylviamoss c8874c9382 improve docker_tag cast to avoid failures
6 years ago
Lik bdb1c47532
Pass QemuImgArgs to stepConvertDisk (#10001)
6 years ago
sylviamoss aa9c162c60 improve docker_tags artifact state read
6 years ago
sylviamoss e758891878 make shell-local post-processor return copy of previous artifact
6 years ago
Roman Tomjak b6ff793496
builder/proxmox: add support for io threads (#9969)
6 years ago
Niels Pardon a2ceb54b1a
Add support for external source image url (#9992)
6 years ago
Niels Pardon 29d23c13d0
Add additional debugging for OpenStack (#9972)
6 years ago
Sylvia Moss 96e3def294
Add pause_before_ssm config to pause before establishing the Session Manager session (#9988)
6 years ago
Megan Marsh 108455a7dc
Merge pull request #9983 from hashicorp/tools_upload_path
6 years ago
Megan Marsh d66b358100
Merge pull request #9991 from hashicorp/b-amazon-ssm-infinite-loop
6 years ago
Megan Marsh 8d0058dad6 allow user to set tools source path
6 years ago
Wilken Rivera 2f2b5683a2 amazon/ssm_driver: Update log polling logic
6 years ago
Adrien Delorme 654fade0a9
azure arm: make map[string]*string => map[string]string to simplify things (#9985)
6 years ago
Megan Marsh e41100290e
Merge pull request #9981 from hashicorp/assume_role
6 years ago
Megan Marsh 429d431365 Implement assume_role for Packer. This functionality is copied shamelessly
6 years ago
Megan Marsh 9170204a93
Merge pull request #9963 from hashicorp/implement_9868
6 years ago
sylviamoss 75d649e051 add step_remove_cdrom tests
6 years ago
sylviamoss 2de3f2755a add step_remove_floppy tests
6 years ago
sylviamoss 7cd6ee2b3b add FindDatastore driver test
6 years ago
sylviamoss b881a59bc8 refactor vcenter simulator setup
6 years ago
sylviamoss 7b1af2c4e8 add step_add_floppy unit tests
6 years ago
sylviamoss b46f587450 vsphere-clone use common step_add_cdrom
6 years ago
upodroid be56632f7e fix vendoring
6 years ago
upodroid 9b121e85f9 fix dodgy pointers
6 years ago
Upo 3f6230470b
Merge branch 'master' into google-impersonation
6 years ago
upodroid 2faacfd5d7 add service account impersonation
6 years ago
Marco Molteni 4d7e42220b
scaleway: add pre validate step (check image and snapshot names) (#9840)
6 years ago
Megan Marsh 77817f80a2
Merge pull request #9956 from hashicorp/do_6734
6 years ago
Megan Marsh b7b43a41f3 review cleanup
6 years ago
sylviamoss 778d77e4a2 add floppy and cd to vsphere-clone
6 years ago
Sylvia Moss d347bbec4c
Retry fleet creating only on invalid IAM instance profile (#9946)
6 years ago
Anthony Dong eca9b2f30d
aws ebs_surrogate: fix unhonored kms_key_id (#9959)
6 years ago
Sylvia Moss ce2047f30b
vSphere StepAddCDRom tests (#9955)
6 years ago
Megan Marsh 1d218d9e65 add QemuImgArgs option to set specialized flags in qemu-img
6 years ago
Megan Marsh 1052733fca Skip qemu-img convert if format of output file matches format of input file.
6 years ago
Megan Marsh 83ee4e7d13 miscellaneous qemu cleanup. Fix generator strings; generate code
6 years ago
Megan Marsh 3577c4a283 refactor multistep array construction in qemu builder to push majority of conditionals into their steps rather than the multistep constructor code.
6 years ago
Megan Marsh 9ac76be190 clean up step_run
6 years ago
Megan Marsh 5b714497e6 qemu: split config and config tests into their own files to match best practices from other builders
6 years ago
Megan Marsh 6c0c603fbf stub out test
6 years ago
Sylvia Moss 9737b85bbc
Remove usb_keyboard option (#9945)
6 years ago
Wilken Rivera b4be598148
Fix static check issues SA1019 for googlecompute plugins (#9950)
6 years ago
Sylvia Moss 7736ae6c67
Add VMware vnc_over_websocket option (#9938)
6 years ago
Sylvia Moss bdd736b800
Interpolate vagrantfile_template on Vagrant post-processor (#9923)
6 years ago
Megan Marsh bc69db2433
Merge pull request #9941 from hashicorp/cd_files_vsphere
6 years ago
Megan Marsh ef01bb5ba6 generated code
6 years ago
Megan Marsh e70e8c8651 add cd_files
6 years ago
Jeff Wong 5d15f5e2f4 No longer need a 15 second sleep
6 years ago
Megan Marsh f28cabb162
Merge pull request #9940 from hashicorp/fix_9936
6 years ago
Megan Marsh b08dd28b85 skip slot 7 in disk creation so we don't use reserved slot
6 years ago
Megan Marsh e00f6afff8
Merge pull request #9918 from hashicorp/fix_7408
6 years ago
Megan Marsh 6d2df7fb55
Merge pull request #9932 from hashicorp/cd_files_on_virtualbox
6 years ago
Jeff Wong 3c9969d841 cleanup goimports for linter
6 years ago
Megan Marsh eab7672519 regenerate code
6 years ago
Megan Marsh e723609ef1 regenerate hcl config
6 years ago
Megan Marsh 6935f47809 add tests for disk defaulting
6 years ago
Megan Marsh eae3fda901 refactor out disk defaulting so it can be used to default the vmx cdrom too
6 years ago
Megan Marsh 9140985ab0 implement cd_files for qemu builder
6 years ago
Megan Marsh f774983d36 implement on hyperv
6 years ago
Jeff Wong 018a1a5da0 Correct full clone logic
6 years ago