Commit Graph

6187 Commits (dev_version_changes)

Author SHA1 Message Date
Megan Marsh 37dcf6183c
skip credential validation if we are not exporting an image (#10520)
5 years ago
Megan Marsh 3242b7ee10
read iops and throughput as pointers so we can test for the nil case;… (#10518)
5 years ago
Megan Marsh 3aab42b770 remove confusing from_scratch reference which is not relevant in this config
5 years ago
Sylvia Moss 3c7944624a
(3) Add amazon-ami data source (#10467)
5 years ago
Megan Marsh ab98409069
Merge pull request #10488 from Direnol/yandex/update-dump-method
5 years ago
fr123k 056ac4a3ea
Add skip_create_image option to the openstack builder (#10496)
5 years ago
Felix Hillingshaeuser 490616a301
Improve cloud init logging for proxmox builder (#10499)
5 years ago
Megan Marsh 94e22e6664
Merge pull request #10490 from marinsalinas/master
5 years ago
Megan Marsh a9c4c056c9
Merge pull request #10458 from seventieskid/gcp-on-gitlab-using-docker
5 years ago
Megan Marsh 1cb9aea752 change markdown references to new pathing
5 years ago
Marin Salinas 170286a427 fix: [bsusurrogate] override bsu when omi root device is set
5 years ago
Roman Mingazeev 379a33de42 yandex/update-dump-method
5 years ago
Megan Marsh bc01ffe2dd
Merge pull request #10456 from triarius/spot-instance-lt-resource-tags
5 years ago
Daniel Frederick Crisman 1e8b0723f5
minor doc update with missing "use" vsphere config (#10474)
5 years ago
Gareth Rees 2dd2ef3c49 - Isolate OSLogin service account derivation from google metadata server to OSLogin step only
5 years ago
Narthana Epa cf30b49e6c
Use run_tags (resp run_volume_tags) to tags intances (resp volumes) created from the spot instance launch template
5 years ago
seventieskid 707d2d8236 Refined logging and return scope
5 years ago
Gareth Rees f525e884ed Timeout on metadata server
5 years ago
Narthana Epa bb94df2d02
Add mocking of launch template id
5 years ago
Narthana Epa f7588a3737
Add printing of launch template id
5 years ago
Narthana Epa f7e68f1d71
Add spot tags as resource tags of instances and volumes in launch template
5 years ago
Darwin Liu 8ef4cfa070 Add in a sanity check for valid vnc ports
5 years ago
Darwin Liu 2b698478a6 Adjusted QEMU step_run_tests.go to reflect previous changes
5 years ago
Darwin Liu 4f2e9117c3 QEMU: Minor fix to VNC mapping parameters and output
5 years ago
Wilken Rivera 04dbbe2d8e Fix broken links detected by link checker
5 years ago
Ali Rizvi-Santiago 9b1d31cee7 Added a fallback to the vmware builder when trying to determine the networkmapping configuration.
5 years ago
Megan Marsh 28245ec143
Merge pull request #10134 from borancar/feat/azure_pfx_support
5 years ago
Megan Marsh d1d5706048
Merge pull request #10362 from nielspardon/master
5 years ago
Megan Marsh ce99640fe2 fix test fixture path
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 5f34bbd56e add extra line before package declaration so this line does not become the synopsis of a package for godoc
5 years ago
Niels Pardon 0e56b83196 OpenStack builder: Make external source image props configurable
5 years ago
Megan Marsh 75803397cb
Document exception to encryption (#10395)
5 years ago
Megan Marsh eecac40d77
Merge pull request #10394 from anssijun/aws-ebs-retry-spot-instance-tagging
5 years ago
Megan Marsh 1113301c1b fix conflicts
5 years ago
Dany Garcia 905d8401ea removing unused import
5 years ago
Dany Garcia 0b13d44a23 exporting reusable validatekmskey function
5 years ago
Dany Garcia 3389fded48 merging latest master
5 years ago
Dany Garcia 39bb3a6c55 incorrect error message regarding parameter names
5 years ago
Dany Garcia 504c3807f7 adding support for root volume encryption for amazon-chroot
5 years ago
Anssi Junnola 82a25ec419 Fix retry logic in AWS spot instance tagging
5 years ago
Megan Marsh 4f419506fd
Merge pull request #10384 from Pyrrvs/vmware-dhcp-leases-bigsur
5 years ago
Pyrrvs 12a6fddbd8 handle apple dhcp lease with missing 'name' and 'lease' informations
5 years ago
Roman Mingazeev 354166350d yandex: do not use cloud-config fileds due to possible collision
5 years ago
Pyrrvs f0612e4688 improve parser by skipping all lines containing a '{' or a '}'. fix unecessary []byte cast (linter issue).
5 years ago
gla 7201ce9248 make packer compatible MacOS BigSur by making vmware fusion drivers able to lookup the VM IP address in apple dhcpd leases instead of vmware leases.
5 years ago
Roman Mingazeev bbd9ee8589 fix export when using empty ubuntu image
5 years ago
Roman Mingazeev aa0efcf73e
Yandex/ssh communicator in export (#10352)
5 years ago
Gareth Rees 355b93730b
Gcp oslogin issue 10170 (#10360)
5 years ago
Roman Mingazeev f8e85f94fd
fix set user-agent (#10361)
5 years ago
Mike Tougeron e0e82e2192
Support AWS gp3 volumes (#10338)
5 years ago
Megan Marsh 26946f1300
Merge pull request #10320 from seventieskid/gcp-wait-to-add-ssh-keys-10312
5 years ago
Megan Marsh 1d2ee0bf81
Merge pull request #10337 from serverwentdown/serverwentdown/duplicate-output-file
5 years ago
Megan Marsh 3c346867f4 fix nil pointer dereference
5 years ago
Megan Marsh 76177b50ce Refactor provisioner acceptance tests to shell directly out to Packer rather than import the core. Modify test case formatting to more closely reflect the builder test cases.
5 years ago
Roman Mingazeev 9fabad6f1d rebase && some fixes
5 years ago
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
5 years ago
Megan Marsh 8ecd16db81 regenerate code
5 years ago
Megan Marsh 1ecd715221 refactor code so that packer/version is not a dependency of sdk code or plugin code
5 years ago
Megan Marsh 2bf912bddf
Merge pull request #10203 from aleksandrserbin/feature/launch-template-tags
5 years ago
Megan Marsh 88e03280b6
Extract plugin-specific examples to plugin directories (#10228)
5 years ago
Paul Meyer 5ea90fea5b
Merge pull request #10210 from sumit-kalra/master
5 years ago
Megan Marsh efc117fb55
Merge pull request #10218 from hashicorp/clean_plugin_sdk
5 years ago
Simon Gottschlag 65b7d3b604
Add Azure CLI authentication (#10157)
5 years ago
Megan Marsh 2d90ffe7a4 move GeneratedData struct and PlaceholderMsg to same package under common
5 years ago
Megan Marsh f13f3d4d5f fix single tag interpolation to allow golang template engine usage
5 years ago
Megan Marsh 7a1680df97
modify a ton of error messages to make them specifically placable. (#10191)
5 years ago
Megan Marsh 45b5f0c2ee move custom http client creation with env proxy args into same package as other network related helpers
5 years ago
Megan Marsh 7b57e28600 move localexec to common/shell-local dir since it is related to shelling out locally
5 years ago
Aleksandr Serbin a763c8ab02 amazon: validate IOPS only for io volumes
5 years ago
Aleksandr Serbin 09c2620c48 amazon: validate IOPS max and min values
5 years ago
Megan Marsh 23552bfbd7
Merge pull request #10213 from chrisroberts/vagrant-driv-stderr
5 years ago
Megan Marsh d8fec2e9e5
move the hyperv-only powershell dependency into the hyperv subdirectory (#10198)
5 years ago
Marin Salinas 8b5e2903b9
feat: add hk endpoint support for osc builder (#10207)
5 years ago
Aleksandr Serbin 0cf9b55c5c amazon-ebs: validate IOPS ratio
5 years ago
Chris Roberts 8248f52ff7 Return error if ssh-config command fails
5 years ago
Aleksandr Serbin 7cb8af1441 amazon: remove region from state for chroot builder
5 years ago
Aleksandr Serbin 8dab31b548 amazon: use spot tags for launch template tags
5 years ago
js-g 749a1372d2 test (builder/oracle-oci): add config test for LaunchMode
5 years ago
js-g ba6173b84c fix (builder/oracle-oci): remove subnet from LaunchInstanceDetails
5 years ago
js-g c3ffb3dc22 feat (builder/oracle-oci): add launch mode property to image
5 years ago
Sumit Kalra 2b69a5f496 azure-arm builder: Create keyvaults with SoftDelete enabled
5 years ago
Marin Salinas f2b386a9d0 feat: add x509 certificate support
5 years ago
Aleksandr Serbin d561b404d6 amazon-ebs: add tags to launch template
5 years ago
Aleksandr Serbin 4669c0f852 amazon-ebs: log state details on change
5 years ago
Megan Marsh 845a10867e
Merge pull request #10003 from hashicorp/ssm_session_retry
5 years ago
Megan Marsh 72fd763207 fix crash
5 years ago
Rémy Léone 0cfaf4a620 Fix
5 years ago
Wilken Rivera 01d5e5ca76 test/amazon/ebs: Add acceptance test for Session Manager Interface connectivity
5 years ago
Adrien Delorme aae1992649 remove default PauseBeforeSSM, this will have to be set manually
5 years ago
Adrien Delorme 6c45f04467 Delete ssm_mock_funcs.go
5 years ago
Adrien Delorme 5d06a6e6df rename file correctly
5 years ago
Adrien Delorme c6e2dd5538 remove unit test file for now, I think that an acceptance test will be easier here
5 years ago
Adrien Delorme a4bd744955 simplify things a bit more
5 years ago
Adrien Delorme aef3d24213 Update step_create_ssm_tunnel.go
5 years ago
Adrien Delorme f329cb5b93 simplify code
5 years ago
Adrien Delorme b058de072a move packer/builder/amazon/common.IsAWSErr to builder/amazon/common/awserrors.Matches
5 years ago
Adrien Delorme 8e355d0fe7 Move ssm code to its own ssm package and make it singlethreaded
5 years ago
Rémy Léone db96c5c9ae Fix
5 years ago
Rémy Léone 3413fc5c46 Fix
5 years ago
Rémy Léone adb74ba15d Fix
5 years ago
Megan Marsh 69312458c4
Merge pull request #10111 from hashicorp/azr_selectable_temp_keygen_type_gcp
5 years ago
Rémy Léone 288e29b1e0 scaleway: use the SDK functions to load profile from file and env
5 years ago
Wilken Rivera 646b973bd3 Remove logic to retry a connection that reuses an existing SSM Session
5 years ago
Wilken Rivera dff9cde775 Remove waitgroups
5 years ago
Wilken Rivera eb11009e2a Check for closed channels as opposed to using a separate closeRetry channel
5 years ago
Megan Marsh fb3d357e84
fix step_shutdown when a null communicator is used (#10178)
5 years ago
sylviamoss aa73cc7d7e add close chan to avoid unwanted retries
5 years ago
sylviamoss 1f62249097 add retry terminated session chan
5 years ago
sylviamoss 8e3f3e514c improve logs
5 years ago
sylviamoss b2c7897f58 add WaitGroup to avoid data race
5 years ago
sylviamoss 1c2b469acd add retry channel to ssm driver
5 years ago
Megan Marsh 8f3a115c5a
Merge pull request #10173 from hashicorp/azr-fix-hcl2-gcp-image_encryption_key
5 years ago
Megan Marsh dc38fadeeb
Merge pull request #10155 from hashicorp/logging_for_10042
5 years ago
Megan Marsh 8adbba6904 switch to guard clause format
5 years ago
Adrien Delorme ef32147a4a Fix GCP HCL image_encryption_key fields and use the same casing in JSON and HCL2
5 years ago
Megan Marsh c4866504e1
respect the destroy flag in content library config (#10165)
5 years ago