Commit Graph

348 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
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
Megan Marsh 3e72e65a6c
Merge pull request #7456 from hashicorp/do_5770
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Adrien Delorme 9836dad0c9 introduce the clean_resource_name to clean image names and deprecate the old ones
7 years ago
Paul Meyer eb274c4e87 Power off before shapshotting
7 years ago
Paul Meyer e4bea87a20
Merge pull request #7211 from riezebosch/master
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Joel Lopes c8a60c77d1 Add comments
7 years ago
Joel Lopes 1c030cb54b Use IMDS to get subscription for Azure MSI
7 years ago
Manuel Riezebosch d79b54e46a feat(arm-builder): print warning on zone resiliency for currently not supported locations
7 years ago
Manuel Riezebosch f31031f6b1 feat(arm-builder): zone resilient from config
7 years ago
Paul Meyer 68516fc05c Fix Azure interactive authentication
7 years ago
Paul Meyer e189db97d4 [azure] deallocate instead of just power-off
7 years ago
Paul Meyer aa29facdae Allow certificate bearer JWT client authentication
7 years ago
Paul Meyer 7e34579b7e Factor out Azure client credential config
7 years ago
Christopher Boumenot f9230aeb95 azure: fix snapshot regression
7 years ago
Christopher Boumenot c7d8f4e150 azure: configuration for disk caching
8 years ago
Christopher Boumenot 06c2c35e4c
Merge pull request #6980 from amydutta/amdut/snapshot
8 years ago
Amrita Dutta b8def0b3fb Added test to check for missing OS disk snapshot name and data disk snapshot prefix
8 years ago
Amrita Dutta 67342750a3 Addressed PR comments
8 years ago
Adrien Delorme 175b6a7971 add test for MSI configuration
8 years ago
Adrien Delorme 1958ef6e81 remove unecessary check
8 years ago
Adrien Delorme 08e8b1850e
remove unnecessary parenthesis
8 years ago
Amrita Dutta 2d6b18e63e Fix tests after bug fix
8 years ago
Amrita Dutta 213fbbae00 Updated go version and reformatted
8 years ago
Amrita Dutta a297d73b98 correcting wrong log message
8 years ago
Amrita Dutta 06525dd885 adding logs in the steps
8 years ago
Adrien Delorme 1ab0173e69 azure builder: allow to auth with managed identities ( MSI )
8 years ago
Amrita Dutta 8881bc2d64 Fix bug in snapshot client creation
8 years ago
Mikhail Ushanov 536252683e builders: reuse private key file reading function
8 years ago
Amrita Dutta 8d8c86366b Config tests + typo fix
8 years ago
Amrita Dutta 8c326dbab7 Formatting changes
8 years ago
Amrita Dutta b2d1675d39 Added tests
8 years ago
Amrita Dutta 369b2dae5e Inlining suggested functions
8 years ago
Amrita Dutta 593363c5be fix typo in last commit
8 years ago
Amrita Dutta 1266d5146d addressed PR comments + add file for data disk snapshots
8 years ago
Amrita Dutta d12d23d34b OS disk snapshot
8 years ago
Megan Marsh cdc6c57b31
Merge pull request #6822 from hashicorp/fix_6774
8 years ago
Megan Marsh 53bce398bb add Managed Image test to azure artifact
8 years ago
Megan Marsh 5dc4ff95da fix azure artifact so it works with managed images as well as VHDs
8 years ago
mbearup c7180413b0 Fix tests for Shared Image Gallery
8 years ago
mbearup a3a2a9e970 Fix issue with composite literal in test
8 years ago
mbearup 335feaf89c Convert shared_image_gallery options to a struct
8 years ago
mbearup 5373b8586d Update tests for Azure Shared Image Gallery
8 years ago
mbearup b6bb5d4b4d Fix format/spacing for config.go
8 years ago
mbearup d21b13cb85 Modify variable names for Shared Image Gallery.
8 years ago
mbearup 55be0da5da Initial changes to support Shared Image Gallery
8 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Megan Marsh a0edaf6c46 Going to revert this change for now, becuase of potential issues that arise from calling Prepare() twice
8 years ago
Adrien Delorme 4682b3a9d2 refactor possible random strings into common/random
8 years ago
Adrien Delorme 170b2f3383 builder/azure/common.RandomString-> common/random.String
8 years ago
Christopher Boumenot 2e294da82a
Merge pull request #6644 from riezebosch/master
8 years ago
Manuel Riezebosch fcfa54fb1d [azure-arm] retry cleanup individual resources on error
8 years ago
Adrien Delorme 336cac29d4 also use config.SSHPrivateKey for azure-arm builds
8 years ago
Adrien Delorme 51d2aac9f6 SSHPrivateKey => SSHPrivateKeyFile
8 years ago
Matthew Hooker 3f1a9766f4
formatting verb fixes for go 1.11
8 years ago
Matthew Hooker e41e99954d
go 1.11 format rules
8 years ago
Megan Marsh b35acbd879 use statebag instead of SetSharedState for winRM password
8 years ago
Adrien Delorme 6bbcd3e914
Remove remaining unused ssh config funcs and add missing calls (#6622)
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Patrick Double 2868971a9b Fixes per code review
8 years ago
Patrick Double d796edc783 Add to vagrant post-processor support for Azure
8 years ago
Christopher Boumenot a3e6153068 azure: implement clean_image_name
8 years ago
Christopher Boumenot fa7f54cb55 azure: satisfy Azure password requirements
8 years ago
Mike 5ea6429cd6
managed_image_resource_group_name max length change
8 years ago
Hariharan Jayaraman b23d6c9589 fixing infinite loop issue deleting existing resources if we have a empty target resource
8 years ago
Hariharan Jayaraman a13a2511f9 Added additional error message if we failed to parse token
8 years ago
Hariharan Jayaraman 1bd7aa534e Addressed PR feedback
8 years ago
Hariharan Jayaraman 8a3e599cad Added text to point out two device auth
8 years ago
Hariharan Jayaraman da67df6d03 space fix
8 years ago
Hariharan Jayaraman 4992429e8c Minor comment fixes
8 years ago
Hariharan Jayaraman 00e809cb7e Refactored the change into a new function
8 years ago
Hariharan Jayaraman ea9b2a8b5f review feedback
8 years ago
Hariharan Jayaraman 667113338a missed formating
8 years ago
Hariharan Jayaraman 7f2277676a Ensure that Device Login tests dont block general acceptance tests
8 years ago
Hariharan Jayaraman 77fe1bffe4 Ensure that Device Login tests dont block general acceptance tests
8 years ago
Hariharan Jayaraman de1783240f Updates to remove space changes
8 years ago
Hariharan Jayaraman 91eed4da52 trim right of the keyvault url
8 years ago
Hariharan Jayaraman df5cc234fc updates
8 years ago
Hariharan Jayaraman 1f46271a6b Ensuring device login works for Windows build
8 years ago
Christopher Boumenot a5530d4546
Merge pull request #6269 from harijayms/asyncrgdelete
8 years ago
Hariharan Jayaraman e1b18d594a Updates based on PR feedback
8 years ago
Hariharan Jayaraman c8c9bbb22a Async delete Resource Group
8 years ago
Hariharan Jayaraman 13c0b0b370 Added warning for VHD creation and updated samples
8 years ago
Paul Meyer 8aee53ebe9
Merge pull request #6224 from paulmey/update-azure-sdk
8 years ago
Paul Meyer 169f9d22e6 Update 'the other place' too
8 years ago
Paul Meyer 80f57308d7 Process review feedback
8 years ago
Oskar Wycislak 78d68880c0 Randomize osDisk name for Azure Managed Image builds.
8 years ago
Paul Meyer 07d8c71a2d Create and use context for Builder.Run
8 years ago
Paul Meyer cf94086b5f Formatting fixes
8 years ago
Paul Meyer c13965c0ce Add acceptance tests
8 years ago
Paul Meyer a3fb24639a make tests pass again
8 years ago
Paul Meyer 09ce3c9803 Make it compile again
8 years ago
Megan Marsh 3afb243f11 use build name to ensure that winrm password and other shared state is not overwritten if two builders need the password in the same packer run.
8 years ago
Matthew Hooker d70451f82e
Merge pull request #6106 from sethvargo/sethvargo/useragent
8 years ago
Megan Marsh d236f26439 allow users to access winrm password in powershell and elevated powershell provisioners
8 years ago
Seth Vargo 5eeac07b63
Include existing azure user agent
8 years ago
Seth Vargo b17b333e29
Add a common package for specifying useragent and adopt that everywhere
8 years ago
Christopher Boumenot eb201724c1 azure: unit tests for naming temp resources
8 years ago
Megan Marsh 414dd80e61
Merge pull request #6013 from jsoref/spelling
8 years ago
Josh Soref aae5b50dab spelling: response
8 years ago
Megan Marsh 2de0652eb4
Merge pull request #6003 from boumenot/pr-azure-support-force
8 years ago
Josh Soref e43b8de3b1 spelling: network
8 years ago
Josh Soref 1e99dce12b spelling: inertness
8 years ago
Josh Soref 210f8e8312 spelling: hyphen
8 years ago
Josh Soref 04d6bfc696 spelling: environment
8 years ago
Christopher Boumenot 2a21032964 azure: randomize NIC and Public IP names
8 years ago
Christopher Boumenot 149ce52079 azure: respect -force for managed image deletion
8 years ago
Megan Marsh b1eaaed6fb
Merge pull request #5970 from boumenot/pr-azure-plan-info
8 years ago
Christopher Boumenot 1ef491d4c8 incorporate reviewer feedback
8 years ago
SwampDragons 585e31e47a
Merge pull request #5974 from boumenot/pr-azure-better-error-message
8 years ago
Christopher Boumenot d2e593de37 azure: support for marketplace plan information
8 years ago
Christopher Boumenot 8166ba2d8d azure: better error message
8 years ago
Christopher Boumenot e0ac07f5db azure: correct function name spelling
8 years ago
jmajoor 675dc06967 Tests for the optional disk_additional_size configuration.
8 years ago
jmajoor 33c3d2885d Add the additional disk steps to the Linux build
8 years ago
jmajoor 47947bd0f6 Apply gofmt
8 years ago
jmajoor efcdbfeab9 Add support for optionally building Azure VMs with additional disks.
8 years ago
Matthew Hooker 8cd403425e
test fixes WIP
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Arjen Schwarz c2ecdd98c6
5691: Invalid image URLs make Azure builder crash
8 years ago
Jamie Lennox d043c37ad4 Azure: Don't provide location for build_resource_group_name
9 years ago
Christopher Boumenot da0c13f622 azure: delete keyvault deployment
9 years ago
Christopher Boumenot a3c9485062 azure: sanity check resource group names
9 years ago
Christopher Boumenot 8985bd45ba azure: go fmt
9 years ago
Christopher Boumenot ee767e55d1 azure: change literal to constant
9 years ago
Christopher Boumenot 2684153cb2 azure: reject bad configuration faster
9 years ago
Christopher Boumenot 787f08f39b azure: add user message to indicate what is being deleted
9 years ago
Arjen Schwarz f43f3155d4
Remove breaking debug statement
9 years ago
Arjen Schwarz 0e706320ad
Issue #5045 - Add build_resource_group_name
9 years ago
Arjen Schwarz f4600a208f
Azure: Keep temporary resource group. Fixes #5045
9 years ago
Matthew Hooker d4895156e5
remove copyright notice
9 years ago
Christopher Boumenot 9a34fd15ca azure: improve docs and validation
9 years ago
Christopher Boumenot 0780667b4d azure: support storage account for managed images
9 years ago
Joao Albuquerque d909c702ee Working PublicPrivate
9 years ago
Christopher Boumenot ec96cacdf3 azure: write temporary ssh key to a file
9 years ago
Christopher Boumenot 06ea433104 azure: private SSH private key for debug
9 years ago
Christopher Boumenot 0d427939bc azure: Fix custom managed images
9 years ago
Christopher Boumenot 1874514e4f azure: go vet ./...
9 years ago
Christopher Boumenot 9425ece680 azure: Handle SDK changes
9 years ago
Christopher Boumenot b7e32cb10a azure: best error message possible
9 years ago
Christopher Boumenot c09f8b84b9 azure: fit and finish
9 years ago
Christopher Boumenot d782ad99f8 azure: pick better names
9 years ago
Christopher Boumenot 9f4fb56041 Support managed disk for platform images
9 years ago
Christopher Boumenot c6ff4aae59 Support for building from custom managed images
9 years ago
Christopher Boumenot 8cea6f5be5 azure: Update to SDK 10.0.3
9 years ago
Pavel Vasilevich 547cfa3602 Add information about artifact in manifest post-processor in azure-arm builder
9 years ago
Matthew Hooker 5ed3be9a8c
set azure metadata
9 years ago
Matthew Hooker 7aca9b7f71
builder/azure: replace panics with error returns
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker d1b20b3d9c
remove a bunch of dead code.
9 years ago
Thomas Conte d294d2c576 gofmt
9 years ago
Thomas Conte 1ec6578c02 Add two new variables to Azure builder config
9 years ago
Eike Verdenhalven 7ad77b9e93 integrate new winrm transport interface
9 years ago
Christopher Boumenot f908e18483 Merge pull request #3996 from boumenot/pr-issue-3968
10 years ago
Christopher Boumenot 7d07fa7afc azure: Allow user to set custom data
10 years ago
Christopher Boumenot bba643df9a azure: handle os_type errors more gracefully
10 years ago
Christopher Boumenot 249a943a1e azure: Allow user to override size of OS disk
10 years ago
Christopher Boumenot e42b3d8447 azure: fix error message
10 years ago
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
10 years ago
Christopher Boumenot ece0a78990 azure: tag all resources
10 years ago
Christopher Boumenot 871ca8c3d9 azure: Support for a user define VNET.
10 years ago
Christopher Boumenot 97b1915d51 Update Azure dependencies
10 years ago
Christopher Boumenot 323dc70ed6 Merge remote-tracking branch 'origin/master' into pr-3680-update-azure-sdk
10 years ago
Christopher Boumenot 6e9ef1c6eb Use WithBaseURI
10 years ago
Christopher Boumenot 7d259ab098 Update Azure dependencies.
10 years ago
Christopher Boumenot 408fe9bc18 Lint issues
10 years ago
Christopher Boumenot e33a325323 Use VerifyJSONStruct
10 years ago
Christopher Boumenot 130cea91d4 Update to an official version of Approvals
10 years ago
Christopher Boumenot 16c1abf1d4 Fix slow unit tests.
10 years ago
Paul Meyer 163da48345 builder/azure-arm: Make tenant_id optional
10 years ago
Paul Meyer cb6db06d11 builder/azure: Delete readme
10 years ago
Paul Meyer ee441366eb builder/azure: Remove extra polling code for deployments
10 years ago
Christopher Boumenot 6dda6f77d6 Add resource_group_name to test cases.
10 years ago
Christopher Boumenot 353ce2f2a6 Merge pull request #3575 from mitchellh/pr-custom-image-url
10 years ago
Paul Meyer 0c79293dde azure-arm: Validate that resource_group_name is being set
10 years ago
Christopher Boumenot 5950d3d92b Implement support for custom images.
10 years ago
Christopher Boumenot c1e7caf53c Validate capture variables to obey Azure's rules. (#3537)
10 years ago
Christopher Boumenot 83e6044595 Documentation for the Azure builder. (#3518)
10 years ago
Christopher Boumenot 5484b9c7d0 Do not use a communicator for unit tests. (#3539)
10 years ago
Christopher Boumenot d40e115ad7 Only cleanup if necessary. (#3517)
10 years ago
Christopher Boumenot a91156b134 Dump Azure configuration values.
10 years ago
Chris Bednarski 5ed3c8d563 Updated license information to reference builder/azure
10 years ago
Christopher Boumenot c7018a00c8 Add support for Windows to Azure.
10 years ago
Chris Bednarski 133048e86e Update LICENSE notice
10 years ago
Chris Bednarski 5b5888b230 Initial import of Microsoft contributed code
10 years ago