Commit Graph

51 Commits

Author SHA1 Message Date
Wilken Rivera c262467413
Extract Azure plugin components from Packer (#10979)
* Remove Azure plugin components and docs

* Add Azure plugin to vendored_plugins

* Updates Azure to use remote plugin docs

* Revendor packer-plugin-azure at v0.0.2

* Update to new version of the Packer plugin SDK v0.2.1
* Update to the official version of go-getter@v2.0.0
* Update salt provisioner to use new go-getter API

* Update vendored plugins to working versions

This changes fixes an issue with the go.sum for the Azure plugin.
It also revendors the plugins for puppet, chef, and ansible as v0.0.1
of those plugins where not usable.
2021-05-13 16:13:21 -04:00
Megan Marsh 00cc425b84 docs tweaks 2020-10-14 12:58:04 -07:00
James Cradock 153d4111fa
Fix typo in build argument description (#10066) 2020-10-08 14:58:22 +02:00
Ash Jindal bb7c45a455 Fix zsh auto-completion
Closes #8158

This fixes the following errors when attempting to auto-complete with packer v.1.4.3:
(installed via Homebrew on macOS Mojave)

 `invalid option definition: -except=[(foo,bar,baz) Validate all builds other than these].`
 `invalid option definition: -only=[(foo,bar,baz) Validate only these builds].`
2019-09-26 12:13:02 +01:00
Adrien Delorme 9281fada2d prevent a breaking change so that we can merge the `-parallel-builds` option first. 2019-05-02 16:24:28 +02:00
Brett Wandel 92e75f838a added the ability to limit number of builds running in parallel 2019-04-13 22:31:54 +10:00
Shana Matthews 9e5726b98a
update account link 2019-04-08 19:48:58 -07:00
Adrien Delorme 75af18661f Document --except & --only flags for post-processors 2019-01-11 13:00:10 +01:00
Josh Soref 66738ccaf4 Try to make help more consistent
Also try to synchronize the completion script
2018-10-10 21:34:35 -04:00
Megan Marsh d883dfe67a
Merge pull request #6566 from hashicorp/atlas-deprecation
Complete Atlas deprecation.
2018-08-23 14:35:33 -07:00
Matthew Hooker 6ecdc130ae
zsh completion 2018-08-20 10:42:32 -07:00
Abhinay Kumar f7f6a842e3
bug-fix: syntax error in createApplication()
setup throws an error: `az: error: unrecognized arguments: az ad app list` due to a syntax error in `createApplication()` method. This patch will fix the issue of the same.
2018-08-15 08:53:50 +05:30
Matthew Hooker ddf23a2c46
Complete Atlas deprecation.
Removes the push command and the Atlas post-processor.  Please see our
guide on building immutable infrastructure with Packer on CI/CD for
ideas on implementing these features yourself.
https://www.packer.io/guides/packer-on-cicd/
2018-08-02 20:23:28 -07:00
andrew-best-diaxion d2e8fd4952 forces az cli to output in JSON where required
This check in forces the scipt to output in JSON when that output is being piped to jq.
2018-04-16 08:01:31 +10:00
andrew-best-diaxion e911f03b6d Revert "azure-cli output config check added"
This reverts commit 0f0fc1b99c.
2018-04-16 07:45:17 +10:00
andrew-best-diaxion 0f0fc1b99c azure-cli output config check added
Adds a check to contrib/azure-setup.sh which ensure the users azure-cli is configured to output json.
2018-04-13 14:02:55 +10:00
Mykola Marzhan 3cfbec623a handle multiple Azure accounts correctly 2018-03-30 09:23:31 +03:00
Josh Soref faf7928a41 spelling: conservative 2018-03-13 07:22:23 +00:00
Christopher Boumenot 00ed312e04 azure: fix commands, improve UX 2018-03-03 08:46:22 +00:00
SharePointOscar db1566f6d2 Merge branch 'master' of https://github.com/SharePointOscar/packer 2018-01-31 18:00:36 -08:00
SharePointOscar 59ecaee2fe implemented changes as per feedback for Azure CLI 2.0 2018-01-31 18:00:13 -08:00
Oscar Medina 361a175fc9
Removed static value from code
The parameter within the contains() should not be hard-coded, using $meta_name variable value.
2018-01-28 07:49:58 -08:00
SharePointOscar 6327ab6f3d changed verbiage on cli name 2018-01-27 12:56:43 -08:00
SharePointOscar 6770bb8091 changed verbiage on cli name 2018-01-27 12:55:16 -08:00
SharePointOscar 0868c21d13 updated to use new Azure CLI 'az' and respective commands 2018-01-27 12:49:41 -08:00
Bengt Brodersen 5280a027d8 Update _packer 2017-08-03 23:11:52 +02:00
Bengt Brodersen 40b792746a Improve Completion through better option and file completion 2017-08-02 09:18:38 +02:00
Bengt Brodersen 4cc8f25464 Update zsh completion, add file completion 2017-07-31 10:43:38 +02:00
Matthew Hooker 2fb898cddf
add sleep and retry to azure setup script 2017-04-03 17:14:27 -07:00
Eugene Chuvyrov e343ad238b Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:20:45 -08:00
Eugene Chuvyrov 9f3393f7e9 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:16:07 -08:00
Eugene Chuvyrov f7c6180ff7 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:09:23 -08:00
Eugene Chuvyrov 3ccbb6ca91 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:05:20 -08:00
Eugene Chuvyrov eb75dbb693 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:02:31 -08:00
Eugene Chuvyrov 403fe17f96 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-08 00:00:15 -08:00
Eugene Chuvyrov ab48ed3fe6 Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-07 23:18:10 -08:00
Eugene Chuvyrov a5c6d3743e Changed Service Principal Creation sequence to comply with newer CLI reqs 2016-11-07 23:14:15 -08:00
Eugene Chuvyrov fdbb7a0b3f Removed Azure CLI version checking 2016-11-07 23:02:05 -08:00
Matthew Hooker 2128a391e0 Merge pull request #4127 from spuder/fix/azure-setup
Abort if azure-setup.sh using incompatible cli.
2016-11-07 10:30:52 -08:00
Spencer Owen ef907282ef fixes typo 2016-11-06 17:15:25 -07:00
Spencer Owen f381d81206 Throw error if azure-setup.sh using incompatible cli. 2016-11-06 17:08:13 -07:00
Rich d36f79ac44 Changes How Azure AD Apps are Created
- Adds the required fields to `azure ad sp create` command.
- Also stores the object and client Ids.
- Removes the createApplication method and call.
- echos out the parameters in a JSON object style.
2016-08-24 11:59:21 +01:00
Rich c0140f4cb7 Adds Location to the Script
The script now asks the user for the region the resource group
and storage account will be created in.
2016-08-16 13:53:23 +01:00
Christopher Boumenot e65f0c2347 Update to support azure-cli 0.10.1.
Storage creation has changed the command line options.  The option -type
-type has changed to --sku-name, and the user must specifcy --kind.
2016-06-28 23:12:32 +00:00
Paul Meyer 163da48345 builder/azure-arm: Make tenant_id optional
Look up tenant id if not specified by the user
2016-06-23 10:23:09 -07:00
Chris Bednarski 4d7418a2dc Added sleeps to the azure-setup script so it is more likely to converge before running the next command 2016-03-14 20:08:36 -07:00
Chris Bednarski c84ae85ac1 Alphabetize azure configuration so it looks nicer 2016-03-14 20:08:35 -07:00
Chris Bednarski 507efda4f4 Finalized azure-setup for creating all of the requisite resources in the target subscription 2016-03-14 20:08:28 -07:00
Chris Bednarski 3ad8bf266a Initial work on azure-setup script 2016-03-14 20:08:27 -07:00
knakayama f103ba820c Fix zsh-completion 2016-02-15 12:28:01 +09:00