Update dependency hashicorp/packer to v1.11.0 #86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.10.2
->1.11.0
Release Notes
hashicorp/packer (hashicorp/packer)
v1.11.0
Compare Source
1.11.0 (2024-05-31)
NOTES:
A LICENSE.txt file has been added to the Packer release artifacts.
GH-12931
GH-12940
Breaking Change: Support for loading single-component plugins has been removed from Packer. GH-12785
Breaking Change: Support for loading plugin binaries following
the naming convention of packer-plugin-name has been dropped. Packer will now only load
plugins stored under the Packer plugin directory using the expected namespaced
directory and CHECKSUM files. This change drops support for loading plugin
binaries in Packer's executable directory or a template's current working
directory. GH-12828
FEATURES:
-ignore-prerelease-plugins
flag to disable the use of developmentplugin binaries for the
build
andvalidate
commands development pluginbinaries. GH-12828
GH-12882
build artifact in HCP Packer.
GH-12866
For feature parity with Terraform, and since having access to strings
encoded in something that is not UTF-8 is required in some cases, we add
both the textencodebase64 and textdecodebase64 functions to HCL2 templates.
Please note these functions return base64 encoded byte slices because of how
cty/hcl defines strings (NFC normalised, UTF-8 encoded).
GH-12997
SECURITY:
GH-12880
GH-12924
IMPROVEMENTS:
GH-12935
GH-12942
GH-12960
GH-12979
GH-12932
GH-12988
Previous versions of Packer only supported 200 as a success case for the http
datasource. This change makes any status code from 200 to 299 successful.
GH-12989
plugins stored under the Packer plugin directory using the expected namespaced
directory and CHECKSUM files.
GH-12828
GH-12785
packer plugin
command topacker execute
to avoid user confusion withthe plugins subcommand.
GH-12865
version constraints. This work allows users to use binaries with versions
reported as "x.y.z-dev" to be used with the Packer
required_plugins
block. GH-12828
packer plugins remove
command. This addition makes it possible to pipe commands like
packer plugins installed
with it for speedy cleanup of installed plugins.GH-12886
required_plugins
block tosupport the installation of local plugin binary using a custom or internal
source address (e.g. mycompany.com/plugins/happyorg/happycloud). Remote
installation using
packer init
orpacker plugins install
does notsupport non-GitHub source URIs. Users using alternative hosts must
install plugins manually using
packer plugins install --path
.GH-12911, [GH-12962] (https://github.com/hashicorp/packer/pull/12962)
differs from the version number within the binary name can lead to
confusion when tracking Packer plugin version information. To help track
such discrepancies in the plugin version,
packer init
andpacker plugin install
have been updated to reject installation of such plugins.1.0.0-dev). Users are encouraged to notify plugin maintainers of any
version mismatches.
GH-12915, GH-12953, GH-12972
To avoid confusion with multiple plugins that report the same effective version,
plugins installed need to have no metadata in their name.
When installed through Packer commands, the metadata is scrubbed from the name of the
installed plugin binary, but manually it may still be possible, so we enforce
that scrubbing at load-time as well.
GH-12980
Since Packer 1.11 removed the capability for PACKER_PLUGIN_PATH to specify
multiple directories separated by
:
or;
(depending on the platform), weare explicitly erroring when this is discovered, with suggestions as to how
to fix the problem.
GH-12967
in their versions, Packer supports it, and applies the semver recommendations on
them, i.e. they are ignored for comparison/sorting purposes, but allowed for
adding extra information about a plugin.
GH-12888
Given the specified version constraint only versions greater than or equal to 1.1.0 will be considered.
If a development binary is installed, Packer will use it if:
Version 1.1.1-dev of the Amazon plugin will match the specified version constraint and be used for executing the Packer build.
If, however, a 1.1.1 release version of the plugin is available, it will have precedence over the development binary.
BUG FIXES:
with how plugins are discovered by Packer, and ensures proper version ordering.
This means that with this change, versions that are semantically greater,
but lexicographically inferior will be loaded.
Ex: 1.0.9 vs. 1.0.10;
1.0.9 > 1.0.10
lexicographically, but semantically1.0.10 > 1.0.9
Packer metadata storage map.
GH-12936
This fix addresses bugs present in the alpha releases of 1.11, where
the discovery of Windows binaries were not matching against the
filename extension (.exe).
GH-12981
v1.10.3
Compare Source
1.10.3 (April 22, 2024)
NOTES
12981
FEATURES
build artifact in HCP Packer.
GH-12891
GH-12910
GH-12923
GH-12926
SECURITY
GH-12928
GH-12924
BUG FIXES
fmt
fails due to HCL2parsing error. GH-12870
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.