Commit Graph

620 Commits (2dbfef57504d06ac27909297f2e97656956213b0)

Author SHA1 Message Date
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
6 years ago
Adrien Delorme 4bc16455b4
HCL2: add a packer block with a required_version input setting (#10149)
6 years ago
Megan Marsh fc619dc977
Merge pull request #9626 from featheredtoast/add-proxmox-vm-clone
6 years ago
Megan Marsh 66b81d9bee
add build.name to hcl code (#10114)
6 years ago
Megan Marsh 2cdc052d7c
Merge pull request #10097 from hashicorp/more_hcl_docs
6 years ago
Megan Marsh 00cc425b84 docs tweaks
6 years ago
Peter Willis f1b57b1e66
Fix typos
6 years ago
Peter Willis a81811663a
Fix typos
6 years ago
Jeff Wong 0f12414126
Merge branch 'master' into add-proxmox-vm-clone
6 years ago
James Cradock 153d4111fa
Fix typo in build argument description (#10066)
6 years ago
Jeff Wong a140c13943
[proxmox] add proxmox builder alias
6 years ago
Adrien Delorme 3e0633fc20 scripts/generate-plugins.go: ignore "common" packages
6 years ago
Adrien Delorme b2be255057 Merge remote-tracking branch 'origin/master' into pr/featheredtoast/9626-1
6 years ago
Adrien Delorme fcf16315a3 add tests
6 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