Commit Graph

14427 Commits

Author SHA1 Message Date
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 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
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 391cea13ed
Merge pull request #8725 from hashicorp/fix_8655
Check if JSON template doesn't have duplicate configuration
2020-02-13 12:04:26 -08:00
Megan Marsh 4f7670a1e6
Merge pull request #8690 from daxgames/vsphere_iso_remove_cdrom
vsphere iso remove cdroms
2020-02-13 11:00:47 -08:00
Sylvia Moss 23fa3107a3
Render variables one time on prepare method (#8727) 2020-02-13 17:35:23 +01:00
Aayush Sarva c2ad9481f6
Fix typo in Dockerfiles section (#8728)
`an container runner` => `a container runner`
2020-02-13 15:39:45 +01:00
Megan Marsh 675fe95882 move to 1.5.3-dev 2020-02-12 15:22:57 -08:00
Wilken Rivera 768e0921b8
Cut version 1.5.2 2020-02-12 17:20:05 -05:00
Wilken Rivera c2a27efc52 Update CHANGELOG.md 2020-02-12 16:55:34 -05:00
Wilken Rivera c121aa9104 scripts/codesign_example: Add check for sha256sum program 2020-02-12 16:54:04 -05:00
Wilken Rivera 746b7cbf0f cut release 1.5.2 2020-02-12 13:36:35 -05:00
Dax T. Games 78012dc56f add autogenerated help for vsphere iso remove cdrom 2020-02-12 11:31:46 -05:00
Adrien Delorme 20eb1ea592 Update CHANGELOG.md 2020-02-12 16:23:06 +01:00
Adrien Delorme efdbb4f5d3 Update CHANGELOG.md 2020-02-12 16:05:22 +01:00
Adrien Delorme dcfdcb0143 Update CHANGELOG.md
add line about variables PR
2020-02-12 15:55:06 +01:00
Moss dc81720dc9 Fix format 2020-02-12 14:44:28 +01:00
Moss d654898ebf Add tests for check of json duplicate fields 2020-02-12 14:34:20 +01:00
Moss a6d90babbf Add check for json duplicate fields 2020-02-12 11:56:18 +01:00
Wilken Rivera f764edbc85 Update CHANGELOG
* Remove incorrect entry for 8675
2020-02-11 15:28:21 -05:00
Megan Marsh 884959bc34 update changelog 2020-02-11 12:09:30 -08:00
Megan Marsh 00dfb79c88
Merge pull request #7627 from hashicorp/inplace_isos
Inplace isos
2020-02-11 11:19:10 -08:00
Adrien Delorme 08f394604c Update iso_config.go
use defaultGetterClient instead of getter.DefaultClient
2020-02-11 12:07:06 +01:00
Wilken Rivera 0d212b09d0
Merge pull request #8698 from hashicorp/d-azure_arm-docs-cleanup
docs/azure-arm: Refactor docs to clear up required options
2020-02-10 21:40:41 -05:00
Wilken Rivera c99dc56544 Update Azure ARM documentation
* Change generated documentation to indicate what image selection
options are required, and when.

* Refactor the structure of the documentation to highlight required
options for different types of builds
2020-02-10 21:14:11 -05:00
Wilken Rivera 8b482933cf docs/azure-arm: Refactor docs to clear up required options
This changes separates the required configurations options needed when using Azure Marketplace images vs Custom user built Images.
2020-02-10 21:10:07 -05:00
Megan Marsh a90f75585b
Merge pull request #8709 from hashicorp/aws_max_retries
add max_retries option to aws builders
2020-02-10 14:58:44 -08:00
Wilken Rivera 1f4c9170c6 Update CHANGELOG.md 2020-02-10 17:08:23 -05:00
Wilken Rivera c86c193721
Merge pull request #8718 from treehouseops/nf.bump-middleman-version
Website: bump middleman version
2020-02-10 15:50:17 -05:00
nicolelyn 1a78821ca0 website: bump middleman version 2020-02-10 14:45:58 -05:00
Wilken Rivera 7e45a10e90
Merge pull request #8717 from luba239/master
Add service account ID to config #8716
2020-02-10 14:27:59 -05:00
Megan Marsh dfefe7e8d9
Merge pull request #8704 from hashicorp/custom_vault_azure
Custom vault azure
2020-02-10 10:51:06 -08:00
Adrien Delorme cc3d941853 iso checksumming: use checksum or checksum url if set to handle all cases
fix #8322
2020-02-10 17:54:11 +01:00