Commit Graph

813 Commits (dev_version_changes)

Author SHA1 Message Date
Adrien Delorme fee561f8ea
use the github.com/scaleway/packer-plugin-scaleway now (#11296)
4 years ago
Wilken Rivera d6a5234412 Unregister packer-image-iteration datasource
5 years ago
Wilken Rivera b10df3abb7
Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221)
5 years ago
Megan Marsh 48de1fc7da allow datasources to use other datasources
5 years ago
Megan Marsh fd80f8da8c Add two new data sources -- hcp-packer-iteration and hcp-packer-image. These data sources together will allow users to query hcp_packer for the image_ids they need to use as source images to their builds, with a simple UI and clear outputs.
5 years ago
Adrien Delorme 27d89ac8d4
update all plugins + pin go to go 1.17 (#11237)
5 years ago
Megan Marsh d6792820f4
Merge pull request #11227 from hashicorp/hcp_data_source
5 years ago
Adrien Delorme c083b53c4f
packer fix: state that the command does not work for hcl files (#11238)
5 years ago
Adrien Delorme d25373a8d6
move inspec provisioner out (#11230)
5 years ago
Adrien Delorme acb01cb800
move salt-masterless provisioner out (#11229)
5 years ago
Megan Marsh 980deeb684 Implement hcp packer data source. This is a rough copy of the terraform provider's data source, to make beta user experience consistent across both sources
5 years ago
Adrien Delorme eb8e302941
hcl2_upgrade: special case: vsphere fix (#11216)
5 years ago
Adrien Delorme 57f37c99ea
avoid hcl2_upgrade panic when file does not exist (#11206)
5 years ago
Wilken Rivera a534c743cf
HCP Packer registry enabled Packer client (#11154)
5 years ago
Adrien Delorme 9d0193ac14
add possibility to use variables everywhere in post-processor blocks (#11094)
5 years ago
Wilken Rivera e22346f0fa
Extract ProfitBricks Plugin (#11084)
5 years ago
Sylvia Moss 927093e5c0
improve regex to fix escaping on split function (#11083)
5 years ago
Yoan Blanc 36a7b28b5f
fix: print unchanged formatted file when using stdin (#11047)
5 years ago
Adrien Delorme 98990fc34e
hcl2_upgrade: allow to hcl2_upgrade with unknown builders, just log errors (#11049)
5 years ago
sylviamoss 444605c127 vendor oneandone
5 years ago
Wilken Rivera c262467413
Extract Azure plugin components from Packer (#10979)
5 years ago
Adrien Delorme e60a7e60b9 add test to repro #10975
5 years ago
Adrien Delorme 38837848f9
Breakout yandex (#10970)
5 years ago
Sylvia Moss bcb25f1916
Extract Tencent Cloud (#10967)
5 years ago
Adrien Delorme ef612c0eb1
Breakout hcloud (#10966)
5 years ago
Sylvia Moss 972497589e
extract and vendor lxc and lxd (#10965)
5 years ago
Adrien Delorme 2cd296874e
Triton plugin breakout (#10963)
5 years ago
Megan Marsh f161f2bed2
extract oracle plugin (#10962)
5 years ago
Megan Marsh 6b59525408
remove digitalocean directories, revendor, add to vendored_plugins, regenerate code, and update website paths (#10961)
5 years ago
Megan Marsh d0a15f9a15
Merge pull request #10956 from hashicorp/extract-converge
5 years ago
Megan Marsh af37f53439
Extract vagrant (#10960)
5 years ago
Wilken Rivera bb511e9592 Extract converge provisioner
5 years ago
Sylvia Moss 4be2c350bf
extract and vendor ucloud (#10953)
5 years ago
Megan Marsh b5666b84cd
Extract jdcloud (#10946)
5 years ago
Sylvia Moss 469f033c36
remove and vendor hyperv (#10952)
5 years ago
Sylvia Moss 2db338e322
Extract Hyperone (#10949)
5 years ago
Megan Marsh 9044deeb05 Delete cloudstack dir, revendor
5 years ago
Wilken Rivera 8bf03cbca7 Vendor packer-plugin-puppet
5 years ago
Wilken Rivera eb6527c8b6 Remove Puppet components and docs
5 years ago
Wilken Rivera a29f3340c2 Vendor packer-plugin-chef
5 years ago
Wilken Rivera 30bcf44c2c Remove Chef components and docs
5 years ago
Wilken Rivera 987080a409 Remove reference to openstackbuilder
5 years ago
Megan Marsh 6fa213235f extract and revendor
5 years ago
Megan Marsh b54121a72d delete and revendor alicloud plugin
5 years ago
Adrien Delorme 4de2954d01
Scaleway plugin breakout (#10939)
5 years ago
Sylvia Moss 25a999978b
Remove Parallels plugin (#10936)
5 years ago
Sylvia Moss d6904502ac
Extract outscale (#10941)
5 years ago
Adrien Delorme d22ba61ae0
ncloud breakout (#10937)
5 years ago
Adrien Delorme 9eaad88ac0
Move proxmox builder out + vendor it (#10930)
5 years ago
Megan Marsh 20faaef05c
Merge pull request #10929 from hashicorp/extract_qemu
5 years ago
Megan Marsh d0a4a71da8
Merge pull request #10927 from hashicorp/fix_typo
5 years ago
Adrien Delorme 1a41eac70b Update vendored_plugins.go
5 years ago
sylviamoss 7a85b7328e vendor qemu plugin
5 years ago
sylviamoss 642ed07476 remote qemu plugin
5 years ago
Sylvia Moss 88f8feecfe
Extract vmware plugin (#10920)
5 years ago
sylviamoss b448c3182c fix TEMPATE to TEMPLATE in fmt cmd
5 years ago
Adrien Delorme 9230a06920
move googlecompute plugin to github.com/hashicorp/packer-plugin-googlecompute (#10890)
5 years ago
Sylvia Moss 16658a9f47
Extract virtualbox plugin (#10910)
5 years ago
Wilken Rivera ceb96d061a
Extract ansible plugins (#10912)
5 years ago
sylviamoss 41c66d6935 vendor vsphere plugin
5 years ago
sylviamoss 38fe79948b remove vsphere components and docs
5 years ago
Adrien Delorme 77a29fc2f8
Allow to have `dynamic` blocks in a `build` block + tests (#10825)
5 years ago
Adrien Delorme a9bec7945e
remove .mdx extensions in links (#10823)
5 years ago
Sylvia Moss 505cbd2591
Vendor amazon plugin (#10800)
5 years ago
Adrien Delorme 0e3fcb589b
Implicit required_plugin blocks (#10732)
5 years ago
Adrien Delorme 7732f7998c
Add http_content func to serve variables from HTTP @ preseed (#10801)
5 years ago
Megan Marsh 0993c976fa
hcl2_upgrade escaped quotes fix (#10794)
5 years ago
Megan Marsh a40a782408 remove escaped dir
5 years ago
Adrien Delorme e2e6bce4c4 Update hcl2_upgrade_test.go
5 years ago
Megan Marsh 502708b86a
Refactor hcl2_upgrade (#10787)
5 years ago
Megan Marsh 4242cf3151 fix tests
5 years ago
Megan Marsh 0ecc4b5e52 add annotation warning to isotime func usage
5 years ago
Megan Marsh 6986fb0e81 make upgrade set isotime func properly
5 years ago
Adrien Delorme fe21ff905d test that folders containing a - file won't hang forever
5 years ago
Adrien Delorme 832c0f2b2a actually run fmt tests and then remove debug statements
5 years ago
teddylear 22d373c279 Adding more debug logic
5 years ago
Adrien Delorme be7d7313c5 add tests for piping fmt
5 years ago
Adrien Delorme a115b428ac simplify fmt test case a little
5 years ago
Adrien Delorme 4e22147909 Merge remote-tracking branch 'origin/master' into pr/teddylear/10457
5 years ago
Wilken Rivera 3c282de6c3 Add maps for statically vendored components
5 years ago
Wilken Rivera edd4567096 Remove plugin registration generation step
5 years ago
Marc Falzon 125a2f1f76 Remove "exoscale-import" post-processor
5 years ago
Megan Marsh 71b815a5fd reword commits
5 years ago
Wilken Rivera 79481ed7ec Add vendored components map as opposed to removing code generation for command/plugin.go
5 years ago
Megan Marsh 1c3c1f17d9 stop generating plugins file to make it possible to vendor plugins
5 years ago
Megan Marsh a5b0e37d7e docker extraction POC
5 years ago
Sylvia Moss 610dde7f02
check for nil config map (#10730)
5 years ago
Megan Marsh 96b753f3b0
pin packer to golang 1.16 (#10702)
5 years ago
sylviamoss 5ccbd27b72 Improve upgrade error and transform all variables with template eng to locals
5 years ago
sylviamoss 20e8f666d9 make locals out of variables with template engines
5 years ago
sylviamoss a1a5cf0113 upgrade variables with other variables
5 years ago
sylviamoss 2016d6baec Fix panic on upgrading variables json file
5 years ago
Megan Marsh dd167925d7
add machine readable to the cli help func and docs (#10658)
5 years ago
Sylvia Moss 37d05c85ff
upgrade pause_before (#10654)
5 years ago
Megan Marsh 00e503388e
change template parsing error to include warning about file extensions (#10652)
5 years ago
Megan Marsh 1710590418
Merge pull request #10633 from hashicorp/azr_init_no_magic_host
5 years ago
Wilken Rivera 728c5a217d Add test case for non-github hostname
5 years ago
Sylvia Moss e0557f84e9
Add access config to generated amazon ami data source (#10634)
5 years ago
Adrien Delorme 8208f425c8 addrs: remove Plugin.ForDisplay func, the String one does the job
5 years ago
Megan Marsh cac6b04546
update help text for hcl2_upgrade (#10624)
5 years ago
Megan Marsh 80ed988ffe
Hcl2 upgrade fix (#10625)
5 years ago
Megan Marsh b20dea6aec
Merge pull request #10614 from hashicorp/azr_acc_test_old_single_component_plugins
5 years ago
sylviamoss e69410b633 fix lint
5 years ago
sylviamoss 855ba9775a add docs
5 years ago
sylviamoss 76e3d57cae add with-annotation flag to hcl2_upgrade
5 years ago
teddylear 0637601eda Fixing recursive formatting tests to work on all platforms
5 years ago
Adrien Delorme 7089e0854a rename setup func to avoid name conflict
5 years ago
Adrien Delorme 40c2b2a153 add manually-installed-single-component-plugin-old-api-fails
5 years ago
Adrien Delorme 3677069010 test: manually-installed-single-component-plugin-works
5 years ago
Adrien Delorme b321c64c1e Update init_test.go
5 years ago
Adrien Delorme ad0ce49cec fix tmpdir creation
5 years ago
Adrien Delorme 021044e963 put name first
5 years ago
Adrien Delorme ba8484ee6b tests: pre make dir in case nothing happens
5 years ago
Adrien Delorme 3052e3c5d5 tests
5 years ago
Sylvia Moss 774c5903f6
Add error-cleanup-provisioner to HCL2 (#10604)
5 years ago
teddylear d85286e228 Merging in master
5 years ago
Sylvia Moss d28e6fe009
write timestamp local only when necessary (#10602)
5 years ago
Adrien Delorme ffbb110167
Test running plugins with fake and fresh plugins (#10595)
5 years ago
Sylvia Moss f5006d0842
fix empty locals and source name with blank space (#10593)
5 years ago
Sylvia Moss d53488db68
Add aws_secretsmanager transformation to hcl2_upgrade (#10553)
5 years ago
teddylear d3754e3021 Updating recursive formatter tests to be cleaner and table driven
5 years ago
teddylear 40a97e29db Clean up recursive format tests to be more accurate
5 years ago
teddylear 93df53a275 Refactor recursive formatting test cases to be table driven
5 years ago
teddylear 6adf1f6659 Fixing recursive fmt tests syntax and adding test case when recursive
5 years ago
teddylear 261abe0cae Setting recursive fmt to false, updatting recursive fmt test to validate
5 years ago
teddylear ab4b3a8465 Adding recursive flag to formatter to format subdirectories
5 years ago
Adrien Delorme 692433721d
Add some acceptance testing for Packer init commands (#10566)
5 years ago
Sylvia Moss ef4afafde9
Fix force flag for hcl2 provisioners and post-processors (#10571)
5 years ago
Adrien Delorme 92ccd5fa1d
init: show successful installs in cyan (#10557)
5 years ago
Adrien Delorme ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
5 years ago
Sylvia Moss d1ada744e1
Aws Secrets Manager data sources (#10505)
5 years ago
Megan Marsh 93008045cd
Merge pull request #10500 from hashicorp/format_stdin
5 years ago
Sylvia Moss 3c7944624a
(3) Add amazon-ami data source (#10467)
5 years ago
Sylvia Moss 291121dd55
(2) Implement datasources (#10440)
5 years ago
Megan Marsh 4323b49130 enable Packer fmt to read from stdin
5 years ago
Sylvia Moss e44cb9d7e5
Add Amazon AMI data source to hcl_upgrade command (#10491)
5 years ago
Megan Marsh 4cb6e07900
Hcl beta tag (#10493)
5 years ago
Megan Marsh 54a75421ea regenerate
5 years ago
Megan Marsh 1cb9aea752 change markdown references to new pathing
5 years ago
Adrien Delorme 52d2d7fe5f
Copy `MapOf...` plugin types back into Packer core (#10466)
5 years ago
Tristan Watson 17c806fbf5
Removing obsolete packer HCL warnings from CLI for validate and command (#10461)
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Wilken Rivera 4e58987026
command/fmt: Ensure all variable files ending in `.pkrvars.hcl` get formatted (#10377)
5 years ago
Megan Marsh 39ab646236
move plugin and rpc code into sdk; other minor tweaks (#10359)
5 years ago
Megan Marsh 5576bb5caa move packer config constants next to the packer config
5 years ago
Megan Marsh b69d69095e move postprocessor to sdk, fix generation code
5 years ago
Megan Marsh be5763ec41 move provisioner interface into sdk
5 years ago
Megan Marsh ada91b24e9 extract builder interface to sdk
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 14bdb9516c move Artifact and artifact mock to the sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Adrien Delorme 73b7499811
HCL2: version block: test validation & document version/availability (#10298)
5 years ago
Megan Marsh 6a1a22151c move the various flag packages from helper to command, since command is the only package that uses them.
5 years ago
Megan Marsh efe11da4a3
Merge pull request #10254 from hashicorp/plugin-sdk-2
5 years ago
Megan Marsh 3e54e9ea80
Merge pull request #10235 from hashicorp/refactor_version_code
5 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
5 years ago
Adrien Delorme f44e912072
Update hcl2upgrade command to update env calls + tests (#10244)
5 years ago
Wilken Rivera acabc1c1aa
Add packer fmt command (#10225)
5 years ago
Adrien Delorme deba1484ff
HCL2: allow calling env as input var default value (#10240)
5 years ago
Adrien Delorme 17ec88246f
hcl2_upgrade update (#10221)
5 years ago
Megan Marsh bc85854a53 refactor packer version out of hcltemplate code.
5 years ago
Adrien Delorme 6dd06fad14 add command/ tests
5 years ago
Adrien Delorme 4bc16455b4
HCL2: add a packer block with a required_version input setting (#10149)
5 years ago
Megan Marsh fc619dc977
Merge pull request #9626 from featheredtoast/add-proxmox-vm-clone
5 years ago
Megan Marsh 66b81d9bee
add build.name to hcl code (#10114)
5 years ago
Megan Marsh 2cdc052d7c
Merge pull request #10097 from hashicorp/more_hcl_docs
5 years ago
Megan Marsh 00cc425b84 docs tweaks
5 years ago
Peter Willis f1b57b1e66
Fix typos
5 years ago
Peter Willis a81811663a
Fix typos
5 years ago
Jeff Wong 0f12414126
Merge branch 'master' into add-proxmox-vm-clone
5 years ago
James Cradock 153d4111fa
Fix typo in build argument description (#10066)
5 years ago
Jeff Wong a140c13943
[proxmox] add proxmox builder alias
5 years ago
Adrien Delorme 3e0633fc20 scripts/generate-plugins.go: ignore "common" packages
5 years ago
Adrien Delorme b2be255057 Merge remote-tracking branch 'origin/master' into pr/featheredtoast/9626-1
5 years ago
Adrien Delorme fcf16315a3 add tests
5 years ago
Adrien Delorme 3d7ab9ea43 add an hcl2-json test
6 years ago
Calle Pettersson 905869308d Split proxmox builder into a common part and iso/clone builders
6 years ago
Adrien Delorme efd69aea2a
console: allow to use console when there are untyped vars (#9864)
6 years ago
Adrien Delorme a70164f489
HCL2: when the type of a variable is not known evaluate setting as a litteral. (#9863)
6 years ago
Adrien Delorme a25f057984 add tests for unknown values
6 years ago
Adrien Delorme 161879b98a test unknown variables and locals
6 years ago
Adrien Delorme 652878059c inspect command: ignore init errors as some value can be unset
6 years ago
Adrien Delorme 91c5a4613c HCL2 inspect remove debug values
6 years ago
Wilken Rivera 67cd123d1c
Merge pull request #9834 from hashicorp/azr-fix-hcl2_upgrade_random_generate
6 years ago
Wilken Rivera 0e2a3e1058 command/hcl2_upgrade: Update description text for command
6 years ago
Adrien Delorme 0f00709fb6 hcl2_upgrade: fix a case where the generated type is wrong
6 years ago
Adrien Delorme 5ba134ac5b
JSON to HCL2 (minimal best-effort) transpiler (#9659)
6 years ago
sylviamoss 39a8dee4ea add tests and update override example
6 years ago
Chris Gilmer 6e918c4bd3
Update test for builder output
6 years ago
Chris Gilmer 04f952a2f4
Pretty print build durations
6 years ago
Adrien Delorme c7b35dd6bc
HCL2: add post-processors block to run multiple post-processor after a build (#9638)
6 years ago
Adrien Delorme 44616d3bff
refactor initialization out from packer configs + tests (#9627)
6 years ago
Adrien Delorme 125178d943
core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622)
6 years ago
Gennady Lipenkov 553d203e68 Add yandex-import post-processor
6 years ago
Adrien Delorme b0238e6f4a Update build_windows_test.go
6 years ago
Adrien Delorme d84d956e36 add language coment !
6 years ago
Adrien Delorme a15ad19411 test builds can be 'excepted'
6 years ago
Adrien Delorme c1c8b8d22a complete -> recipes
6 years ago
Adrien Delorme 10e5d952ac unquote 'cooking...'
6 years ago