Commit Graph

469 Commits (ba767d1663db82d02fa18c087e4d99043d141fd3)

Author SHA1 Message Date
Megan Marsh 28797dd709 replace the homegrown vault delete functions in azure with the sdk ones.
6 years ago
Megan Marsh e7dba3e55e fix error cleaning up existing keyvault
6 years ago
Adrien Delorme 88297c796d Merge branch 'master' into hcl2_singular_blocks
6 years ago
Adrien Delorme b5e8750f5f Change key/value to name/value to remain consistent with Terraform
6 years ago
Adrien Delorme 87d6b2433f make generate
6 years ago
Adrien Delorme 9a74ce60d5 Update config.go
6 years ago
Adrien Delorme 45695608b5 WIP
6 years ago
Adrien Delorme dab689ce2e WIP
6 years ago
Megan Marsh 6008f911fd
Merge pull request #8847 from takaishi/support-keyboard-interactive
6 years ago
Adrien Delorme 6e6490d688 WIP
6 years ago
r_takaishi f50ff1d270 make generate
6 years ago
Megan Marsh aeedc9af7a
Merge pull request #8879 from mbrancato/specify_keyvault_sku
6 years ago
Wilken Rivera 7b705545d9
docs: Various doc clean-ups to fix code block formatting and syntax highlighting (#8868)
6 years ago
Mike Brancato ebb161ae41 Fix config documentation
6 years ago
Mike Brancato 892622987c Add KeyVault parameter and fix whitespace
6 years ago
Mike Brancato 0f09638f7a Add HCL2 spec for KeyVault SKU
6 years ago
Mike Brancato 3c6b248bd5 Fix formatting
6 years ago
Mike Brancato 926e3ac2e4 Add support for configurable KeyVault SKU
6 years ago
Wilken Rivera 66ad6f3483
builders: Fix gosimple S1007 linting issue (#8871)
6 years ago
Sylvia Moss ce674ff272
Add exclude mapstructure tag to exclude from hcl2spec struct (#8785)
6 years ago
Wilken Rivera c99dc56544 Update Azure ARM documentation
6 years ago
Megan Marsh 2181f10e79 fix statebag setup; simplify conditional
6 years ago
Megan Marsh 7dd1fa44db regenerate code
6 years ago
Megan Marsh 9643ad35f1 add tests
6 years ago
Megan Marsh 6d6b94d515 Add ability to use custom keyvault into azure builds
6 years ago
Wilken Rivera 561f02cc2f
builder/azure-arm: Update logic for setting subscriptionID (#8685)
6 years ago
Sylvia Moss 08b0bd1d2c
Fix HCL2 code generation for slices within another slice (#8669)
6 years ago
nywilken 654cc4c4d5 builder/azure-arm: Set WinRMPassword on the communicator config
7 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
7 years ago
Megan Marsh b0b10f6939
Merge pull request #8496 from ryanhartje/delete_arm_deployment_on_cleanup
7 years ago
Ryan Hartje c4a9715e50 updated the deleteTemplate invocation to a defer at the start of cleanup
7 years ago
Aishwarya Thangappa 9f24869e36 Update the error handling for end-of-life-date parsing
7 years ago
Aishwarya Thangappa 9569d35d14 Set expiry for image versions in SIG
7 years ago
Megan Marsh dca2c03cdb
Merge pull request #7866 from hashicorp/sharing_info
7 years ago
Ryan Hartje bfc3b72050 attempting to resolve deployment quota issue due to non-cleanup
7 years ago
nywilken 1eb55c2ae3 builder/azure: Remove double override of GalleryImageVersionsClient.PollDuration
7 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
7 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
7 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
7 years ago
Kris Hicks 40357e2534 docs/builder/azure-arm: Remove errant html comment (#8484)
7 years ago
Megan Marsh 3389d843f0 update all provisioners that used the winrmpassword tooling to use the new generateddata option
7 years ago
Megan Marsh 6f418d0e54 get data sharing to a working state with the powershell provisioner
7 years ago
Megan Marsh 601007e3e2 pas data into provisioners well
7 years ago
Lars Lehtonen df031db9da builder/azure/common/template: remove unused TemplateBuilder.getResourceByType2() (#8419)
7 years ago
Megan Marsh d5ba530b26 make it clear we expect pem format not some other formate (#8344)
7 years ago
Megan Marsh 6c704f7046 Revert "fix template imports"
7 years ago
Megan Marsh 517834d528 Revert "Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name""
7 years ago
Lars Lehtonen 6862e3534f
builder/azure/chroot: fix dropped error
7 years ago
Paul Meyer 3be7d81ce2 Move common steps together
7 years ago
Paul Meyer e6dfe301ac Move CommandWrapper & ShellCommand to common
7 years ago
Paul Meyer b54a2ee09d Set correct user agent for Azure clientset
7 years ago
Megan Marsh 5614f307fb regerate code
7 years ago
Megan Marsh d15f43e4eb
Merge pull request #8232 from hashicorp/artifact-tree
7 years ago
Megan Marsh 836aaafaa3
Merge pull request #8203 from sumit-kalra/master
7 years ago
Adrien Delorme 8b76453e7f make generate
7 years ago
Adrien Delorme 4542666e25 fix func calls after master merge
7 years ago
Adrien Delorme cf1555bf17 Merge remote-tracking branch 'origin/master' into artifact-tree
7 years ago
Paul Meyer 575de8659e
Merge pull request #8226 from larohra/IncreasePollingDuration
7 years ago
Paul Meyer b716299d8e PR comment
7 years ago
Paul Meyer d3dc1be71c Doc updates
7 years ago
Paul Meyer 9b724d4ca0 Add artifact
7 years ago
Paul Meyer 0866cb3714 Reorganize client/common packages
7 years ago
Paul Meyer fe584f4448 Format updates
7 years ago
Paul Meyer 19a3502b36 Add 'vm' template function
7 years ago
Paul Meyer f72c4ec7a3 Update example and docs
7 years ago
Paul Meyer b5c0742951 Add test that verifies disksize bug (2/2)
7 years ago
Paul Meyer 98175c06d5 Add test that verifies disksize bug (1/2)
7 years ago
Paul Meyer eb5dc9326d Adding more tests
7 years ago
Paul Meyer 5943881051 Default for Gen 1 VMs
7 years ago
Paul Meyer 716f19a457 make fmt
7 years ago
Paul Meyer 8c73450f3d fixup! Add documentation to config struct
7 years ago
Paul Meyer 11ef06b94d Add StepVerifySourceDisk
7 years ago
Paul Meyer cb729e5a38 Add documentation to config struct
7 years ago
Paul Meyer 27a5bfe11c Add implementation for disk as source
7 years ago
Paul Meyer eff3f2bdcf Add test for disk input validation
7 years ago
Paul Meyer 57cff8961a Allow skipping OSDisk cleanup
7 years ago
Paul Meyer 6dee4d2d32 Wait for detach optimization
7 years ago
Paul Meyer bbac79f0a4 Make PIR images work
7 years ago
Paul Meyer b5401d552a Make from_scratch work
7 years ago
Paul Meyer b9b5bb2951 Use DiskStorageAccountTypes
7 years ago
Paul Meyer b4d0865548 Update azure-chroot builder
7 years ago
Paul Meyer e11a5bdb40 Put os disk id in state
7 years ago
Paul Meyer 77b782c5b5 Add StepEarlyCleanup
7 years ago
Paul Meyer 977ca5be1c Add StepCopyFiles and StepChrootProvision
7 years ago
Paul Meyer 9a3e6661b1 Add StepMountExtra
7 years ago
Paul Meyer addbdedea9 Add StepPostMountCommands
7 years ago
Paul Meyer d1f8b8545d Add StepAttachDisk
7 years ago
Paul Meyer 4d750ddefa Reuse amazon/chroot/step_pre_mount_commands.go
7 years ago
Paul Meyer 45d3f28c67 Add StepCreateNewDisk
7 years ago
Paul Meyer 3d329cf87d Add chroot builder framework
7 years ago
Paul Meyer 369ec9a84c Create disk attacher component
7 years ago
Paul Meyer 3c33aa4fc5 Add metadata client
7 years ago
Paul Meyer 113dc12346 Add function to detect whether Packer is running on Azure
7 years ago
Paul Meyer f106adbd12 Add Azure client set for chroot builder
7 years ago
Paul Meyer 2ded8f25ec Add metadata client
7 years ago
Paul Meyer 72fdce09ba Allow GetServicePrincipalToken to be called independently
7 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Adrien Delorme f8402f1b91 builder.azure.common: make CloudEnvironment private so it doesn't temper with hcl2 code generation
7 years ago
Adrien Delorme d2f5daf98f
Merge pull request #8209 from dvrkps/patch-3
7 years ago
Megan Marsh 0e70e0e5a4 fix template imports
7 years ago
Megan Marsh 44f91c9afc Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name"
7 years ago
larohra 936ae42b00 Added a new parameter in config to override the default Azure Go SDK PollingDuration timeout
7 years ago
Davor Kapsa 29a6938de6
clean and return nil for retry.Config
7 years ago
Sumit Kalra 4bd09f381e
Fixing documentation (#6)
7 years ago
Davor Kapsa 4c615341ef
Ignore retry.Config var
7 years ago
Davor Kapsa fb267dd1dc
Add error check
7 years ago
Sumit Kalra 595b103bbe
Adding NSG to the ARM deployment template when needed (#3)
7 years ago
Adrien Delorme d4600a7716 fix go imports
7 years ago
Megan Marsh 0026792d2f remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name
7 years ago
larohra 23c320d59e Increased the default polling duration to 60mins
7 years ago
Sumit Kalra 91d19adcd7 Ensuring that specifying allowed inbound IP and VNet are mutually exclusive (#2)
7 years ago
Sumit Kalra 132779c343 Adding config to specify allowed inbound IP addresses and CIDR blocks (#1)
7 years ago
Paul Meyer c72a612b44 Re-added tests for FillParamters
7 years ago
Paul Meyer 094a8840d8 Improve comments for FillParameters
7 years ago
Paul Meyer feeae1514e Refactor client config
7 years ago
Adrien Delorme a841da960d Merge branch 'master' of ssh://github.com/hashicorp/packer into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme f11341c0b4 azure builder: avoid a panic in getObjectIdFromToken
7 years ago
Adrien Delorme f66ca58a46 Update azure docs for config.go
7 years ago
Adrien Delorme 783b02bd15 Update config.go
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Megan Marsh 6a201211a9 fix polling issues in azure
7 years ago
Christian Muehlhaeuser 216afbaa8b
Fixed various typos
7 years ago
Amrita Dutta 4c09dfde87 Fix bug while publishing SIG destination id for every managed image
7 years ago
Amrita Dutta 78be7ab4e4 fix typo
7 years ago
Amrita Dutta ba76d86cab remove comment
7 years ago
Amrita Dutta 85036231c4 Final commit
7 years ago
Amrita Dutta 78f001431e add example config file
7 years ago
Amrita Dutta 994dca5f78 fix bug in step_publish w.r.t managed image RG
7 years ago
Amrita Dutta 963336d421 Remove un-intended import
7 years ago
Amrita Dutta 76dbf4fb3b Remove subscription id from SIG destination input
7 years ago
Amrita Dutta 1d6de7167f Another update to replication logic
7 years ago
Amrita Dutta de591cff77 Fix append in builder.go
7 years ago
Amrita Dutta f7e08a097a Replication region changes
7 years ago
Amrita Dutta c9cdb34589 Update validation logic for missing replication region
7 years ago
Amrita Dutta f1f93f0665 normalize replication regions
7 years ago
Amrita Dutta 59a0f7f6e6 add validation checks for replication regions + formatting
7 years ago
Amrita Dutta d13b9574d6 Use user - provided version number instead of generating timestamp on our own
7 years ago
Amrita Dutta 34dac69112 pass subscription id via state bag
7 years ago
Amrita Dutta 540c904fd4 add missing check to not publish to SIG if config.SharedGalleryDestination.SigDestinationGalleryName is null
7 years ago
Ubuntu 6504d3ae5c Changes to ARM builder for publishing to SIG
7 years ago
Ubuntu fb9fd58dfb Imports for publishing to SIG
7 years ago
Adrien Delorme d81ca5728d azure-arm: rewrap struct comments for documentation generation
7 years ago
Adrien Delorme 4399684372 make fmt autogenerated docs
7 years ago
Adrien Delorme e6cbb013ba add // go:generate struct-markdown to all previously edited files
7 years ago
Adrien Delorme f1917edd34 generate the comments for config struct of builders scraping doc website
7 years ago
Amrita Dutta 1438e2e449 SIG as destination validation changes
7 years ago
Amrita Dutta 700c95c613 Update Azure SDK for Go to v30.0.0
7 years ago
Megan Marsh 3e73abc93a refresh line endings
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago