Mark Lewis
70752e0488
Add prompt to use a specific directory for *.pkr.hcl ( #8757 )
...
This improves usability as many users will still expect
to use `packer build config.pkr.hcl` having run
`packer build config.json` in the past.
2020-02-18 10:55:30 +01:00
Adrien Delorme
3c213e6eaf
continue and realise and unused undefaulted value triggers an error
2020-02-17 18:05:15 +01:00
Adrien Delorme
cebfb1c735
give correct error when variable is unset
2020-02-17 17:15:52 +01:00
Anselm Eberhardt
94130b5def
add autogenerated help for disk_eagerly_scrub
2020-02-17 17:01:00 +01:00
Adrien Delorme
79867ca26e
add test for unset variable
2020-02-17 16:36:19 +01:00
Anselm Eberhardt
6c749eecf7
add support for eagerly zeroed / scrubbed disks
2020-02-17 16:26:07 +01:00
Adrien Delorme
00c812cfe8
insert "github.com/zclconf/go-cty/cty/json" encoding beforce hcl decoding things to make sure tests are working similarly as real life version
2020-02-17 15:53:05 +01:00
Adrien Delorme
1ec68cac23
refactor prepare into MockConfig
2020-02-17 15:47:31 +01:00
Wilken Rivera
5a87760702
makefile: Update code path for golangci-lint ( #8751 )
...
While `golangci-lint run` is the same as `golangci-lint run ./...` running it without a
path seems to throw warning messages related to its cache, which is confusing.
This change sets an explicit path for golangci-lint when calling `make lint` or `make ci-lint`.
2020-02-17 11:24:08 +01:00
William
807f39284d
Merge pull request #2 from hashicorp/master
...
merge from hashicorp/packer
2020-02-15 23:13:38 -06:00
Megan Marsh
9a85fdd0a5
Cut version 1.5.4
2020-02-14 16:14:01 -08:00
Megan Marsh
c9b011145d
cut version 1.5.4
2020-02-14 14:55:03 -08:00
Megan Marsh
ac239d1188
fix checking for codesign
2020-02-14 14:50:21 -08:00
Wilken Rivera
9c171c1f13
scripts: Update code signing scripts ( #8746 )
...
* scripts/codesign_example: Fix reference to SHASUM_PROG variable
* scripts/sign: Add check for required Artifactory token
2020-02-14 17:38:56 -05:00
Megan Marsh
909b9fcfc7
update to 1.5.4 dev on master branch
2020-02-14 11:16:07 -08:00
Megan Marsh
cebdabe0f7
Cut version 1.5.3
v1.5.3
2020-02-14 10:38:20 -08:00
Megan Marsh
c229607ee3
update to v1.5.3
2020-02-14 10:30:18 -08:00
Megan Marsh
f65198726d
update changelog
2020-02-14 09:10:53 -08:00
jhawk28
7f0de5fc8d
add ability to define multiple NICs for vsphere-iso ( #8739 )
2020-02-14 17:51:57 +01:00
Wilken Rivera
9ec8b67392
Add golangci-lint to project ( #8686 )
...
* Add golangci-lint as linting tool
* Disable failing staticchecks to start; GitHub issue to handle coming soon
* Run `goimports -w` to repair all source files that have improperly
formatted imports
* makefile: Add ci-lint target to run on travis
This change adds a new make target for running golangci-lint on newly
added Go files only. This target is expected to run during Packer ci builds.
* .github/contributing: Add code linting instructions
* travis: Update job configuration to run parallel builds
2020-02-14 11:42:29 -05:00
Sylvia Moss
2981fd627d
Avoid calling CoreBuild.Prepare(...) for HCL2 templates ( #8742 )
2020-02-14 17:39:32 +01:00
Wilken Rivera
7254b04129
script/prepare_changelog: Update to show squashed merge commits ( #8744 )
...
* script/prepare_changelog: Update regex to include squashed PRs
* scripts/prepare_changelog: Update to show all commits not just merged commits
2020-02-14 11:33:33 -05:00
Wilken Rivera
1719633058
Merge pull request #8722 from hashicorp/td-prepare_changelog
...
scripts/prepare_changelog: Update jq filter to ignore tech-debt labelled pull-requests
2020-02-14 09:58:12 -05:00
Wilken Rivera
2bdca997ac
Update function name
2020-02-14 09:44:45 -05:00
Wilken Rivera
19e7114301
scripts/prepare_changelog: Update jq filter to ignore tech-debt labelled pull-requests
2020-02-14 09:44:45 -05:00
Mark Lewis
2d0c796837
Fix typos in Input and Local Variables guide ( #8741 )
2020-02-14 15:30:25 +01:00
Adrien Delorme
4b10c5a87c
try to reproduce #8730 in tests
2020-02-14 11:54:10 +01:00
Megan Marsh
483c8ec7d0
add go mod and go sum to gitattributes to fix line endings on windows ( #8734 )
2020-02-14 11:20:36 +01:00
jhawk28
ff1af40c66
struct-markdown should keep the same slash direction regardless of Windows or Linux ( #8738 )
2020-02-14 08:50:03 +01:00
Megan Marsh
ced2e945e3
make period stripping more strict so that users can disable provisiners by adding .old or whatever; this is pretty typical convention.
2020-02-13 12:59:47 -08:00