Commit Graph

5463 Commits (e2cbe0de48ddebbe909243c4c2cb876dfe2d858b)

Author SHA1 Message Date
Ali Rizvi-Santiago f17007d546 Removed the sentinelSignaller chan from the vmware builder parsers and its unit-tests, and also commented all of the goroutines that are used.
6 years ago
Ali Rizvi-Santiago 159ea595df More lint issues fixed...
6 years ago
Ali Rizvi-Santiago 32b64e0576 Fixed some lint issues in the unit tests for the vmware builder driver parsers.
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Adrien Delorme 0fa60c68fb
Drop the iso_checksum_type & iso_checksum_url fields (#8437)
6 years ago
Joshua Foster 828440d852 rebase and run generate
6 years ago
Joshua Foster 43714049e8 add set_host_for_datastore_uploads flag
6 years ago
Joshua Foster 9895f90451 dont set the host for the datastore upload
6 years ago
Ali Rizvi-Santiago 2a8bc45bc4 Added unit-tests for the netmap parsing components in the vmware builder.
6 years ago
Ali Rizvi-Santiago 7c1ad4adcf Added unit-tests for the dhcpd configuration components in the vmware builder, and fixed a few discovered race conditions.
6 years ago
Feiyu Shi fdb0b2ab03 Revert "validate if user assigned identity exists"
6 years ago
Feiyu Shi c016f3752a upgrade SIG source api-version to match identity api-version to avoid potential setback for identity
6 years ago
Megan Marsh 01839e272e
Merge pull request #9277 from nitrocode/add-source-ami-creation-date
6 years ago
nitrocode 6d29ec956b Added SourceAMICreationDate
6 years ago
Rui Lopes 4839b9189d builder/qemu: timeout waiting for the guest to become available in the network bridge
6 years ago
Feiyu Shi 3fdab998f8 check error
6 years ago
Megan Marsh 5dfd2a763e
send logs about floppy failure directly to UI not just logs (#9272)
6 years ago
Feiyu Shi 9bd19df040 validate if user assigned identity exists
6 years ago
Feiyu Shi b334458b91 use empty struct for UserAssignedIdentities map value; omitempty
6 years ago
Feiyu Shi c5e2eff847 change to []*Resource
6 years ago
Feiyu Shi 3e3fdaa24e make generate
6 years ago
Feiyu Shi 76a7ab25e2 add SetIdentity test
6 years ago
Feiyu Shi 764f99ec7b add correct api-version
6 years ago
Feiyu Shi f7f033a7fd add config validation test
6 years ago
Feiyu Shi 10b0a4548f add identity resource id validation
6 years ago
Feiyu Shi 7c1a62dfed set identity field in the template
6 years ago
Feiyu Shi d9c9bfbae8 add identity field to the template
6 years ago
Feiyu Shi b5b2982772 add user_assigned_managed_identities to the config
6 years ago
Megan Marsh 082d806b1f fix httpip acquisition
6 years ago
Rui Lopes 06fad6cc4f qemu: add support for using a network bridge
6 years ago
Megan Marsh 266bba279b linting
6 years ago
Megan Marsh aadd95497a fix tests
6 years ago
Megan Marsh a892d13d56 make package_include match output_vagrantfile parsing and abspath calculation
6 years ago
Megan Marsh 58b32ebefa
Merge pull request #9251 from hashicorp/fix_9249
6 years ago
jhawk28 820f353573
(vsphere-iso) remove deprecated network and disk fields (#9149)
6 years ago
Sylvia Moss 1c30a71d09
Replace file shared state by statebag (#9238)
6 years ago
Wilken Rivera c954831bb2 builder/azure-arm: Update runtime constants with a valid DataDiskName
6 years ago
Wilken Rivera f31f5bc61b docs/builder/azure-arm: Fix a small typo for the custom_managed_image_* config options
6 years ago
Evan Digby e4eaff6bba
s/Directoty/Directory (#9221)
6 years ago
Megan Marsh 0d900fd007
Merge pull request #9198 from hashicorp/fix_9190
6 years ago
Megan Marsh a17ef01ea9
Merge pull request #9212 from andrewsomething/asb/do-image-id
6 years ago
Megan Marsh 37d953881f
Merge pull request #9219 from hashicorp/azr_autodoc_alicloud_pp
6 years ago
Andrew Starr-Bochicchio 84f0079c3a Move to a new func to make testable.
6 years ago
Andrew Starr-Bochicchio a1f334daff Use constant and move check to template generator.
6 years ago
Andrew Starr-Bochicchio bf0ab6b722 Force test to be skipped unless PACKER_ACC set.
6 years ago
Wilken Rivera b5639d4697
tests/builder/amazon: Enhance the test coverage for SSM Tunnel related steps (#9213)
6 years ago
Adrien Delorme a50c27c05d single `
6 years ago
Adrien Delorme c2d3e494b6 alicloud: better docs + autogenerated post processor docs
6 years ago
Megan Marsh fe472f45ae don't put error in state, or we'll fail.
6 years ago
Megan Marsh 807a09a770 don't error if metadata can't be set. Old versions of openstack don't seem to play nicely with this API call
6 years ago
Wilken Rivera 6f5f6bf999 builder/amazon Fix invalid pointer issue for non SSMAgengtEnabled builds
6 years ago
Andrew Starr-Bochicchio 05d56034dd builder/digitalocean: Add acceptance test for creating Droplet using image ID.
6 years ago
Andrew Starr-Bochicchio 374a29d75c builder/digitalocean: Add logging of Droplet create attributes.
6 years ago
Andrew Starr-Bochicchio 80b4e0425e builder/digitalocean: Use correct type for image for Droplet creates.
6 years ago
Andrew Starr-Bochicchio e8783873d0 builder/digitalocean: Fix failing acceptance test.
6 years ago
Adrien Delorme 4ebcbad332
update consul and vault dependencies (#9205)
6 years ago
Megan Marsh 480c938162 generate virtualbox-vm docs instead of letting them be copy pasted
6 years ago
Megan Marsh 4ef34f7fba fix iso config prepare
6 years ago
Megan Marsh 9476aa03de
Merge pull request #9105 from hashicorp/google_iap
6 years ago
Megan Marsh fcef10fd2f
Merge pull request #9082 from hashicorp/f-amazon_builder-ssm-session-tunnel-poc
6 years ago
Megan Marsh a55b73473a fix logic
6 years ago
Megan Marsh dde162622d use local port in listener config, when set
6 years ago
Megan Marsh 81e043f2b0 fix windows tests
6 years ago
Megan Marsh 60600e6cf6 make windows work with account files containing spaces
6 years ago
Megan Marsh dae60799bc fix tests
6 years ago
Megan Marsh fda55fe928 deduplicate excess code
6 years ago
Megan Marsh 54b33ad8d1 fix tests
6 years ago
Megan Marsh 850303b8b8 get gcloud integration working on Windows
6 years ago
Megan Marsh c578afc62c working on windows
6 years ago
Megan Marsh 32752d4577 fix linting and tests
6 years ago
Megan Marsh b5744efb42 add config prepare tests
6 years ago
Megan Marsh f583674cd6 linding
6 years ago
Megan Marsh 4fc92d7858 add tests
6 years ago
Megan Marsh 937a4859d4 Make retries a bit smarter, clean up language to be gentler, and give up on parsing stdout for tunnel launch
6 years ago
Megan Marsh 3e1ddad0c7 fix behavior when not using IAP, try to use more sophisticated streaming than buffer.String()
6 years ago
Megan Marsh 9353635b43 send sigint instead of sigkill; we can at least ask the tunnel nicely to shut down.
6 years ago
Megan Marsh f67a8ab431 revert unneeded changes to driver roles
6 years ago
Megan Marsh 80ecd2013d basic untested implementation for Windows. May leave zombie processes lying around
6 years ago
Megan Marsh 3cd28e98a7 linting
6 years ago
Megan Marsh 365eb09842 import context
6 years ago
Megan Marsh eb05f6ff88 fix windows
6 years ago
Megan Marsh d713f7ec64 add conditional building becasue windows support is still forthcoming
6 years ago
Megan Marsh e6073bcec7 implement iap proxy for googlecompute. ssh-only so far
6 years ago
Ryo Tagami fdc73376ba
floppy_label Parameter for vsphere-iso Builder (#9187)
6 years ago
Markus Liljedahl d807e81adb
Changed default disk size for when using googlecompute to match minimum disk sice to the google api. Closes https://github.com/hashicorp/packer/issues/9023 (#9071)
6 years ago
Wilken Rivera 89fb7bb080 Apply suggestions from code review
6 years ago
Wilken Rivera 056f1f6e76 docs/amazon/builder: Add not about using a temporary_iam_instance_profile_policy_document
6 years ago
Wilken Rivera bf1da57a05 Update address to localhost to be consistent with other proxies
6 years ago
Wilken Rivera 7cea7466ba buider/amazon: Add `session_manager_port` option for setting a custom local port
6 years ago
Wilken Rivera 0d13c634b7 Update logging constructs for Session Manger driver
6 years ago
Wilken Rivera 81c40b8d08 Add section to docs about the session-manager-plugin tunnel
6 years ago
Wilken Rivera 5f68303504 Remove no longer needed port check
6 years ago
Wilken Rivera 3ae7ab994b step_create_ssm_tunnel: Add port availability check for LocalPortNumber
6 years ago
Wilken Rivera 08dc2cb847 Remove call to unstubbed session start
6 years ago
Wilken Rivera f498866c3a Update validation for session_manager connectivity
6 years ago
Wilken Rivera 2f09b74587 amazon/builder: Move port validation for security group into RunConfig.Prepare
6 years ago
Wilken Rivera 3f6b28b70c Add SSMTunnel step to other amazon builders, minus chroot
6 years ago
Wilken Rivera 743df19af2 Add tests for driver and ssm tunnel step
6 years ago
Wilken Rivera e53d6aea66 amazon/ssm_driver: Update to support command context
6 years ago
Wilken Rivera 5e14089851 tests/builder/amazon: Add basic testing for session_manager
6 years ago
Wilken Rivera 60e0ba7e68 Update iam instance profile name
6 years ago
Wilken Rivera d5a0262d6c builder/amazon/instance: Add session manager support
6 years ago
Wilken Rivera e515aefee3 Add validation checks for session_manager
6 years ago
Wilken Rivera c1d2477d18 builder/amzon: Update port configuration for WinRM
6 years ago
Wilken Rivera fbffbd1899 docs/builder/amazon: Add short blurb for connecting via the AWS session_manager interface
6 years ago
Wilken Rivera 520061dee6 builder/amazon: Update Session Manger connectivity
6 years ago
Wilken Rivera 3dd46eb5f4 Add PoC of connectivity using session-manager-plugin
6 years ago
Wilken Rivera 16604373ac initial ssm tunnel changes - not working
6 years ago
Ryan Hartje b86efe7604
Vbox Checksum Bugfix (#9101)
6 years ago
Megan Marsh 26d05abd4f
Merge pull request #9182 from hashicorp/fix_9131
6 years ago
Adrien Delorme 62556c464c
Update builder/docker/artifact_import.go
6 years ago
Megan Marsh 02c1cf5b28 support pushing multiple tags
6 years ago
Megan Marsh 49af617be3
Merge pull request #9179 from hashicorp/fix_9177
6 years ago
Megan Marsh 279fbb45ab
Merge pull request #9174 from hashicorp/do_9145
6 years ago
Megan Marsh 9baf2edd94 fix docs for video_ram to use correct units
6 years ago
Megan Marsh 5b4de6b16f fix tests
6 years ago
Megan Marsh aa09c52059 generated docs
6 years ago
Megan Marsh 2e2374b6be add tests
6 years ago
Megan Marsh f0d2680426
remove spot_price_auto_product from docs (#9173)
6 years ago
Megan Marsh 73eda08540 allow user defined output filename
6 years ago
Megan Marsh 6a682aca2e
Merge pull request #9124 from GennadySpb/yandex-export-post-processor
6 years ago
Megan Marsh 7e0cfd8b77 add undocumented tag to struct-markdown generator so that we can leave internal-use-only fields out of docs
6 years ago
Megan Marsh 3f8ee2b426
add exported files to VSphere artifact (#9020)
6 years ago
Rui Lopes 86ac132056
hyperv: add support for setting the boot order (#9046)
6 years ago
Wilken Rivera 86ab71f56e
test/azure/arm: Add regression test case for ssh_username overrides (#9136)
6 years ago
Megan Marsh 30061b3def
Merge pull request #9095 from VladRassokhin/vsphere-disable-shutdown
6 years ago
Megan Marsh 2a560a517e
Merge pull request #8946 from thor/feature/vgpu-profiles
6 years ago
Vladislav Rassokhin 03c4bebf00 Add disable_shutdown option to VSphere builders
6 years ago
Gennady Lipenkov aa595fa1aa Rename arg
6 years ago
Gennady Lipenkov 9489a46f32 Make some steps exportable, add 'GetInstanceMetadata' method
6 years ago
jhawk28 c43a52aafe
fix issue where -force is not working with vsphere builders (#9039)
6 years ago
Wilken Rivera e0d2f4fd69
builder/azure-arm: Fix SSH connection for temporary admin users specified in `ssh_username` (#9103)
6 years ago
Paul Meyer 26d768f429
[builder/azure-chroot] Shared image source (#9070)
6 years ago
Lars Lehtonen ab119d3270
builder/azure/chroot: fix dropped error (#9106)
6 years ago
Adrien Delorme da4a5224be
HCL2 singular blocks: use key/value or name/value depending on how the service names things (#9078)
6 years ago
Megan Marsh 50823e2573
Merge pull request #9093 from Hakujou/osc-bsu-fix
6 years ago
Matthew Sanabria 761abdda4e
Updating documentation for azure-arm builder (#9097)
6 years ago
GennadySpb 1155ab8e3c
Add 'target_image_folder_id' for builder/yandex (#9080)
6 years ago
Romain Lecat 1f4e8785f3 Compliance with oAPI spec for Outscale OSC-BSU
6 years ago
vijayrajah 5d2fee04b2
builder/azure: enable boot Diagnostics (#9053)
6 years ago
Wilken Rivera cc367bd0b7
Merge pull request #9045 from lausser/cloud-init
6 years ago
Paul Meyer 89f3aa0bd6
[builder/azure-arm] Use VM/build location for image location (#9068)
6 years ago
Megan Marsh 855808ec6f
Merge pull request #8970 from szamfirov/shielded_vm_support
6 years ago
Svetlin Zamfirov b706f02408 Fixing auto-generated code errors
6 years ago
Svetlin Zamfirov d827f4f757 Adding custom shielded images support (GCP)
6 years ago
Megan Marsh 08787ba31f
Merge pull request #9028 from vijayrajah/set_azure_custom_res_names
6 years ago
Vijay Rajah da7382980a Fix failing test & format code
6 years ago
vijayrajah fff06353b7
Update builder/azure/arm/tempname.go
6 years ago
Adrien Delorme 73242e8de4 make sure keyvalue and namevalue filters are using the same naming as the service being used
6 years ago
Gerhard Lausser dc2813c8e2 feat(proxmox): add ability to add a cloud-init drive
6 years ago
Wilken Rivera d580ea7950
Merge pull request #9069 from tencentyun/master
6 years ago
Thor K. Høgås ebfc5bcdcb
Merge branch 'master' into feature/vgpu-profiles
6 years ago
Wilken Rivera e8f8ebf132
builder/vmware: Add some additional debug logging to the driver version check (#9064)
6 years ago
Li Kexian 632610d9c0
fixed InstanceOperationInProgress error #9054
6 years ago
Megan Marsh 440f540e28 fix merge issues with generated code
6 years ago
Vladislav Rassokhin 5f2849b5b4 builder/vsphere-clone: support firmware changing
6 years ago
Vladislav Rassokhin 91a1ad63fa builder/vsphere-iso: support EFI Secure Boot using another value in `firmware` (#8873)
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Joshua Foster 7f0dbdebb2 clean up documentation for new NIC and storage params
6 years ago
Paul Meyer df47fd5076
Merge pull request #9021 from paulmey/azure-chroot-shared-image-destination
6 years ago
Paul Meyer 621bd8ccac Fix error message grammar
6 years ago
Paul Meyer 89a8238a07 Fix artifact output
6 years ago
Paul Meyer 47107e6355 Default polling delay 5 sec
6 years ago
Vijay Rajah 9209826bfe Update the doc with more info
6 years ago
Paul Meyer 4ffe5611b8 Add more tests
6 years ago
Megan Marsh a48c0ecf49 update docs for headless to help users know they may need to launch the gui
6 years ago
Vijay Rajah 1e66a1b355 Fix linting & code generation
6 years ago
Vijay Rajah 56bf8bd686 Merge branch 'set_azure_custom_res_names' of github.com:vijayrajah/packer into set_azure_custom_res_names
6 years ago
vijayrajah a3c580f2ac
Merge branch 'master' into set_azure_custom_res_names
6 years ago
Vijay Rajah 53f54000e6 generate spec & fix typo
6 years ago
Thor K. H 2a40f471b7 Add vgpu_profile support for using GRID vGPUs
6 years ago
Paul Meyer b12aedcda9 Remove lint
6 years ago
Paul Meyer 5c89d22fa2 generated & docs
6 years ago
Paul Meyer 2240ead39c [azure/chroot] Add shared image output
6 years ago
Paul Meyer 73edd9d3d2 Make skip_cleanup generic
6 years ago
Paul Meyer 90188bb18d add func for searching string slice
6 years ago
Paul Meyer a3d8bf27e1 Add snapshot and gallery clients
6 years ago
Paul Meyer cfe37057bd Use const for statebag key
6 years ago
Paul Meyer f3703a775f Use subscription id from client set
6 years ago
Paul Meyer 6131301fdd Standardize compute SDK version
6 years ago
Paul Meyer f73a673b99 Extract build steps generation
6 years ago
Paul Meyer c167ef91ce Move PIR :latest resolution to step
6 years ago
Paul Meyer f0ec912ba6 Make VirtualMachineImagesClient easier to mock
6 years ago
Paul Meyer a3b49cdc08 Stub metadata service for builder tests
6 years ago
Paul Meyer b3e361a139 Extract testUI func
6 years ago
Jeff Escalante 81b08898ba
update generated pages after rebase
6 years ago
Jeff Escalante 2999934326
fix generation script, bugfixes in source comments, update website paths in primary codebase
6 years ago
Jeff Escalante 9165be87da
packer.io prefix removal, html extension remove for in-code errors
6 years ago
Jeff Escalante af257c2bb9
fix all local relative links
6 years ago
Jeff Escalante 4afd107eeb
patch source files for extensions changes
6 years ago
Jeff Escalante 37300c7203
fix backtick errors
6 years ago
Jeff Escalante bcc848a83d
were rendering yay
6 years ago
Jeff Escalante 92d4553890
initial port
6 years ago
Megan Marsh 07be1a0a30
Merge pull request #8986 from vijayrajah/feature/datadisk-change_name
6 years ago
Moss 185deeeb38 Fix provisioner acc-test builder and provisioner store
6 years ago
Wilken Rivera b183c5498f provisioner/powershell: Add basic Powershell provisioner acceptance tests
6 years ago
Vijay Rajah cd41ad1a40 change resource names
6 years ago
Vijay Rajah 90a0c5ec49 fix more typos ( ')]' )
6 years ago
vijayrajah 620c791473
Merge branch 'master' into feature/datadisk-change_name
6 years ago
Vijay Rajah 1009e8c983 fix more typos
6 years ago