Commit Graph
18297 Commits
Author SHA1 Message Date
hc-github-team-es-release-engineering fa9fef2f61 Bumped product version to 1.9.5. 2023-08-18 21:00:09 +01:00
Lucas Bajolet 6e3a8f0f7d version: prepare v1.9.5-dev 2023-08-18 15:42:15 -04:00
hc-github-team-packer 05b6f700b3 Merge pull request #12603 from hashicorp/backport/changelog_setup_1.9.5/forcibly-enough-mastiff
This pull request was automerged via backport-assistant
2023-08-18 15:41:49 -04:00
Lucas Bajolet 7913085d31 backport of commit dd7ce7724e 2023-08-18 19:25:26 +00:00
hc-github-team-packer ae9daec102 Merge pull request #12600 from hashicorp/backport/bump_go/uniformly-classic-yeti
This pull request was automerged via backport-assistant
v1.9.4
2023-08-18 13:51:50 -04:00
Jamie Finnigan 018706563f backport of commit cce2219833 2023-08-18 17:18:53 +00:00
Wilken Rivera 990adc3011 Cut release 1.9.4 2023-08-18 11:00:17 -04:00
hc-github-team-packer 67122ed61c Merge pull request #12597 from hashicorp/backport/update_changelog_1.9.4/publicly-creative-drum
This pull request was automerged via backport-assistant
2023-08-18 10:59:41 -04:00
Lucas Bajolet 9f3e9ccd7c backport of commit 680d8157cd 2023-08-18 14:32:43 +00:00
hc-github-team-packer e92e9ac13a Merge pull request #12594 from hashicorp/backport/nywilken/catch-nil-checkpoint-reporter/poorly-generous-puma
This pull request was automerged via backport-assistant
2023-08-18 10:26:11 -04:00
Wilken Rivera b746ad2c94 backport of commit f871e0e162 2023-08-18 10:42:04 +00:00
Lucas Bajolet bff91f4093 packer: remove implicit required plugins
Since this feature is no longer something we plan to activate later, as
it contradicts with our efforts to remove bundled plugins, and
encouraging users to move to either manually installing plugins, or
managing them through `packer init', we clean-up the code for this
feature.
2023-08-17 17:06:17 -04:00
hc-github-team-es-release-engineering 6da4fabac7 Bumped product version to 1.9.4. 2023-08-17 18:37:12 +01:00
hc-github-team-packer 3ea3c8cf53 Merge pull request #12590 from hashicorp/backport/perpare_1.9.4_changelog/fully-certain-shepherd
This pull request was automerged via backport-assistant
2023-08-17 13:11:55 -04:00
Lucas Bajolet 83dd44d33e version: prepare 1.9.4-dev 2023-08-17 13:10:05 -04:00
Wilken Rivera 8fb06037df backport of commit 5386b55b67 2023-08-17 17:08:04 +00:00
Wilken Rivera a63d0035f9 Cut 1.9.3 release v1.9.3 2023-08-17 11:07:25 -04:00
hc-github-team-packer 5e1c7fdf32 Merge pull request #12586 from hashicorp/backport/update-changelog-1.9.3/reasonably-adapting-foxhound
This pull request was automerged via backport-assistant
2023-08-17 11:06:17 -04:00
Wilken Rivera f67332f3de Add missing copyright headers 2023-08-17 11:05:20 -04:00
Wilken Rivera 1834e1ecec Rename duplicate ami name to fix failing test 2023-08-17 11:05:20 -04:00
Wilken Rivera 283d3ec604 backport of commit b86c6ee373 2023-08-17 14:24:15 +00:00
Lucas Bajolet e7e8daaf16 Document PLSP-related environment variables
Since we added support for PLSPs recently, and it will be released as part of 1.9.3, we add some documentation regarding the environment variables we added, and a note regarding their relation to PLSP support.
2023-08-17 09:24:32 -04:00
Lucas Bajolet 766f7f0896 go.mod: bump golang.org/x/net to v0.13.0
The version of the golang.org/x/net we used (v0.8.0), is vulnerable to a
rendering issue, potentially escaping text that should not be, which can
enable other attacks then.

Packer itself is not vulnerable to the CVE as we don't render web pages,
but security checks do point it as an issue, so we fix it by updating
the dependencies.

CVE refrerence: GO-2023-1988
2023-08-17 09:24:32 -04:00
Wilken Rivera 1ffdf6141b Removed repetitive statement from HCP debug logs (#12552)
* Remove repetitive log statement

The log being removed is duplicated each time evalContext is
called, which seems like an unneeded debug log.
2023-08-17 09:24:32 -04:00
Lucas Bajolet 539313bd4e website: add usage notice to init
The `packer init' command's wording was not clear, so it was changed in
a preceding commit, and this commit aims to add more details on how the
command is meant to be used, along with a simple example.
2023-08-17 09:24:32 -04:00
Lucas Bajolet 0e8544258d command: change wording for init's postitional arg
`packer init' is meant to be invoked on a template file or a directory.
This was described in the command-line help message as
`[template.pkr.hcl|folder]'.

Because this is encapsulated between square brackets, this could be
taken as an option instead of a positional, mandatory argument.

This commit changes the wording to adopt a similar convention as `packer
build', so the two are consistent in how they are invoked, and to avoid
mistaking this argument as optional.
2023-08-17 09:24:32 -04:00
hc-github-team-packer 2998a6dfdc Merge pull request #12551 from hashicorp/backport/add_docker_full_image/closely-super-slug
This pull request was automerged via backport-assistant
2023-08-04 13:31:16 -04:00
Lucas Bajolet 884ca2bf89 backport of commit 04424f839f 2023-08-03 21:17:07 +00:00
Lucas Bajolet 67bf7e56e8 backport of commit 8810fce69f 2023-08-03 13:40:41 +00:00
Lucas Bajolet 25b76870bf backport of commit 2f72e196da 2023-08-03 13:40:21 +00:00
Lucas Bajolet 1a63c6b837 backport of commit 3f99e4a408 2023-08-03 13:40:21 +00:00
Lucas Bajolet 5946b81225 backport of commit 967169d8c4 2023-08-03 13:40:21 +00:00
Lucas Bajolet 5d95a66f33 backport of commit 0f92cc6df0 2023-08-03 13:40:21 +00:00
Lucas Bajolet c5b67ada00 backport of commit 6312947e79 2023-08-03 13:40:21 +00:00
hc-github-team-packer e317fee8db Merge pull request #12550 from hashicorp/backport/nywilken/update-plugin-tests-for-arm64/happily-set-zebra
This pull request was automerged via backport-assistant
2023-08-02 15:35:25 -04:00
Wilken Rivera 1a0a856d99 backport of commit 5974f63729 2023-08-01 20:28:17 +00:00
Wilken Rivera 6227ede189 Update plugin discover testing
* Add test case for loading plugin in CWD
* Add test case to validate checksume files are ignored
* Update Discover to include CWD "." in PluginFolders if KnowPluginFolders is unset
2023-08-01 16:27:11 -04:00
Wilken Rivera 11559fee86 Update plugin discover logic
When copying a plugin's checksum file (packer-plugin-*_SHA256SUM) installed by `packer plugins install` or `packer init`
into a separate directory the file may be copied with the executable bit turned out. If unchanged after the copy, Packer would
discover the checksum file as a possible plugin match and error when trying to execute describe on the plugin look a like. This change
adds a checksum file test to the plugin matching logic. If the discovered plugin name is a checksum it is excluded from the discovered plugin list.
2023-08-01 16:26:58 -04:00
Wilken Rivera e2e1e9332f Update plugin loading for current directory
Starting with Go 1.19 the loading of binaries from the current working directory was
deemed as a possible security problem. Thus the use of exec.Command or exec.LookPath no longer resolves
an executable within the current working directory. This change updates the discover logic to return absolute
paths for any discovered plugin, which is called directly when passed to exec.Command or exec.LookPath. By doing
this Packer is able to load a custom plugin sitting in the current working directory as it did in version prior to v1.9.2.
2023-08-01 16:26:39 -04:00
hc-github-team-packer 3cafac2126 Merge pull request #12538 from hashicorp/backport/track_bundled_plugins_usage/sincerely-frank-ray
This pull request was automerged via backport-assistant
2023-07-25 15:44:10 -04:00
hc-github-team-packer bb46fd54e2 Merge pull request #12537 from hashicorp/backport/nywilken/add-hcp-plsp-support/shortly-popular-oarfish
This pull request was automerged via backport-assistant
2023-07-25 11:32:01 -04:00
Lucas Bajolet 9c6ab2d811 backport of commit b894036d1c 2023-07-24 19:53:58 +00:00
Wilken Rivera e8470a2c65 backport of commit 777c816317 2023-07-24 18:19:03 +00:00
Wilken Rivera 6a7ec16da5 backport of commit 94028656de 2023-07-24 18:19:03 +00:00
hc-github-team-es-release-engineering d307b2916e Bumped product version to 1.9.3. 2023-07-19 14:39:28 -07:00
hc-github-team-packer e1785326c9 Merge pull request #12527 from hashicorp/backport/patch-1/legally-clever-snail
This pull request was automerged via backport-assistant
2023-07-19 17:35:58 -04:00
hc-github-team-packer 50764444e1 Merge pull request #12525 from hashicorp/backport/dependabot/npm_and_yarn/website/tough-cookie-4.1.3/conversely-upright-kangaroo
This pull request was automerged via backport-assistant
2023-07-19 17:34:38 -04:00
hc-github-team-packer 620fb4983d Merge pull request #12523 from hashicorp/backport/prepare_1.9.3-dev/partly-ready-woodcock
This pull request was automerged via backport-assistant
2023-07-19 17:20:44 -04:00
Lucas Bajolet 11608f6cc7 backport of commit 74dfacf875 2023-07-19 21:19:34 +00:00
Lucas Bajolet 6070c77c4b version: prepare 1.9.3-dev 2023-07-19 17:08:24 -04:00