Commit Graph

14216 Commits

Author SHA1 Message Date
Adrien Delorme 731904d3d2 mapstructure-to-hcl2: use accessor for named types and not named type + go genrate + tests 2020-01-07 11:44:22 +01:00
Megan Marsh be97507088 delete qmp socket path. Also, clean up unnecessary use of statebag to recieve step values. (#8572) 2020-01-07 11:18:01 +01:00
hairesis bb71db6b39 docs/provisioners/ansible: Add playbook to basic example. (#8508) 2020-01-07 11:07:05 +01:00
Ricard Clau b2578ee0f9 Fix typo in Synopsis for galaxycommand fixer (#8573) 2020-01-07 11:05:35 +01:00
Adrien Delorme f828255103
Merge pull request #8569 from hashicorp/fix_8539
[Fix 8539] fix crash when build.sources is set to an invalid name
2020-01-07 11:03:37 +01:00
Aishwarya Thangappa 9f24869e36 Update the error handling for end-of-life-date parsing 2020-01-06 22:58:26 -08:00
Aishwarya Thangappa 9569d35d14 Set expiry for image versions in SIG
Updates azure builder to support setting end-of-life-date for
image versions in shared image gallery. In addition, this change adds
the ability to set the global replica count for the image version
and allows the vms deployed from the latest version of the Image
Definition to exclude this Image Version.
2020-01-06 22:58:26 -08:00
Tommy McNeely e101676e29 Doc update for markAsTemplate 2020-01-06 15:55:01 -07:00
Tommy McNeely 7f7b54ea31 Use vm.MarkAsTemplate, optionally reregister 2020-01-06 15:34:50 -07:00
Megan Marsh b7ee807cf1
Merge pull request #8571 from hashicorp/fix_8565
fix ssh interface docs for amazon builders
2020-01-06 14:34:40 -08:00
Megan Marsh d95b0122f8
Merge pull request #8542 from TJM/plugin_logs
Parse out -PACKERSPACE- before looking for exec
2020-01-06 14:14:46 -08:00
Megan Marsh 6655f93b59 fix typo and regenerate code 2020-01-06 14:12:29 -08:00
Megan Marsh e525d2bd6e
Merge pull request #8570 from hashicorp/fix_ansible_winrm
fix winrmpass sanitization to account for empty string value.
2020-01-06 14:06:33 -08:00
Megan Marsh 99caaf6cc2
Merge pull request #8543 from TJM/fix_external
Fix permission denied for external plugins, path was empty
2020-01-06 14:05:02 -08:00
Megan Marsh 7411a8a6ef
Merge pull request #8550 from tpounds/add-ami-owner-to-template
Add source AMI owner ID/name to build template
2020-01-06 13:38:49 -08:00
Tommy McNeely 469a4d2a11 Fix names of range variables to reduce confusion and remove overriden plugin name 2020-01-06 13:19:39 -07:00
Megan Marsh 76251e5fd2 fix ssh interface docs for amazon builders 2020-01-06 12:01:30 -08:00
Tommy McNeely 72112ccae2 Make the path assignment less confusing 2020-01-06 12:50:12 -07:00
Megan Marsh 4b9568e409 fix winrmpass sanitization to account for empty string value. 2020-01-06 10:07:30 -08:00
Adrien Delorme 79d7b3e636 regroup duplicate error message 2020-01-06 17:10:12 +01:00
Adrien Delorme 0102f5b6fa remove unecessary inexistant block panic + add test
the hcl library will error for us
2020-01-06 16:56:42 +01:00
Lars Lehtonen 8098ba9cdf builder/virtualbox/common: remove unused url variable (#8559) 2020-01-06 16:45:05 +01:00
Adrien Delorme 219c80b1e6 better empty folder test 2020-01-06 16:09:44 +01:00
Adrien Delorme aad90842b4 add test case and fix the breaking ones 2020-01-06 16:06:27 +01:00
Adrien Delorme d8c33bc59e HCL: deshadown warnings from Parser.Parse
the func would return when `diags.HasErrors()` but this does not mean that diags is empty.
2020-01-06 14:31:15 +01:00
Adrien Delorme 5ef1893b00 fix crash when build.sources is set to an invalid name
the `build` body doesn't have any labels and we were trying to display those.
I also added a test.
2020-01-06 14:29:43 +01:00
Caleb Lemoine 9f6eb0ef65 fix: mispelled variables names in packer/build.go (#8568) 2020-01-06 14:02:29 +01:00
Rui Lopes ec17b3d8fa correctly handle the diskSize property as a qemu size string 2020-01-05 15:44:01 +00:00
alexyueer ec4a7b6af0 support aliyun profile 2020-01-03 12:17:34 +08:00
Tommy McNeely 3177a5413c Fix external plugins path was blank 2020-01-02 08:15:32 -07:00
Trevor Pounds 47e48ebc24 Add source AMI owner ID/name to build template. 2019-12-30 14:04:49 -05:00
Tommy McNeely 9d85aa36ec Parse out -PACKERSPACE- before looking for exec 2019-12-27 14:23:28 -07:00
wujin 2e2f197bc3 add SecurityGroupId when DescribeSecurityGroups if user specify SecurityGroupId 2019-12-24 09:47:52 +08:00
Megan Marsh 0649c3f7dc update plugin configspec docs 2019-12-20 13:00:29 -08:00
Megan Marsh 3a131b3a03 update to 1.5.2-dev 2019-12-20 11:37:09 -08:00
Megan Marsh 324581ac9c
Cut version 1.5.1 2019-12-20 11:14:09 -08:00
Megan Marsh 61023f31fd update to v1.5.1 2019-12-20 10:07:24 -08:00
Megan Marsh 57e38908f0 sort changelog 2019-12-20 09:46:20 -08:00
Megan Marsh 348e00422e
Merge pull request #8509 from hashicorp/fix_step_import_panic
Remove config dependency from inside StepImport
2019-12-20 09:19:30 -08:00
Megan Marsh a276fa147a update changelog 2019-12-20 06:56:48 -08:00
Moss 7912e496aa Remove config dependency inside StepImport 2019-12-20 11:58:28 +01:00
Adrien Delorme 1b532fc816 link to guides in HCL docs (#8526) 2019-12-20 11:23:48 +01:00
dependabot[bot] da8e215536 Bump rack from 1.6.11 to 1.6.12 in /website (#8524)
Bumps [rack](https://github.com/rack/rack) from 1.6.11 to 1.6.12.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/1.6.11...1.6.12)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-20 10:50:47 +01:00
Megan Marsh 4059ed75f5 update docs to mention ssh auth sock env var (#8523)
Closes #8358

Add some docs to alleviate confusion.
2019-12-20 08:27:14 +01:00
Megan Marsh 127905e855 remove time flaky time limited tests (#8522)
* remove flaky test. It isn't very useful anyway given that we're slowly adding retries to the checks for lockfiles

* remove time-component from retry test; in underpowered CI builds, this can flake fairly often.
2019-12-20 08:16:18 +01:00
zhuzhih2017 66445ecd2d
Merge pull request #8425 from haoshuwei/master
add show expired arg when describe image
2019-12-20 13:33:55 +08:00
haoshuwei 37dc411f30 add skip_image_validation arg to use an expired image as the soure image
Signed-off-by: haoshuwei <haoshuwei24@gmail.com>
2019-12-20 11:28:31 +08:00
Megan Marsh 7ce9992357 move osx code signing to before checksums are calculated 2019-12-19 14:07:10 -08:00
Wilken Rivera f45d315be4
Merge pull request #8518 from hashicorp/update_jdcloud_config_pointer
update jdcloud statebag to use pointers for config, to bring in line …
2019-12-19 15:45:40 -05:00
Wilken Rivera 0ded72670f
Merge pull request #8519 from hashicorp/vagrant_cloud_pp_config
Vagrant cloud pp config
2019-12-19 15:36:02 -05:00