Commit Graph
18368 Commits
Author SHA1 Message Date
Wilken Rivera 8f270d8d09 backport of commit bc501aa445 2024-01-09 23:36:21 +00:00
hc-github-team-packer e191890883 Merge pull request #12780 from hashicorp/backport/dependabot/go_modules/github.com/hashicorp/hcp-sdk-go-0.79.0/slightly-optimal-cattle
This pull request was automerged via backport-assistant
2024-01-09 15:06:01 -05:00
dependabot[bot] 6c28010778 backport of commit 65a8505e52 2024-01-08 16:15:15 +00:00
hc-github-team-packer 86b76ec7e8 Merge pull request #12778 from hashicorp/backport/nywilken/bump-go-deps/weekly-healthy-whale
This pull request was automerged via backport-assistant
2024-01-08 11:12:12 -05:00
Wilken Rivera 1a17d10f17 backport of commit 4d953a3469 2024-01-08 15:58:21 +00:00
Wilken Rivera b3144df406 backport of commit 9eb9db2f22 2024-01-08 15:55:19 +00:00
Wilken Rivera 983b46101a backport of commit 1a47597b71 2024-01-08 15:53:15 +00:00
hc-github-team-packer 2b7c3beaee Merge pull request #12776 from hashicorp/backport/rm_upcloud_manifest/frankly-secure-dingo
This pull request was automerged via backport-assistant
2024-01-08 09:38:14 -05:00
Lucas Bajolet e20e705059 backport of commit de13cb45df 2024-01-08 14:20:05 +00:00
hc-github-team-packer 8ebe3845d1 Merge pull request #12770 from hashicorp/backport/bmm/upcloud-version-pin/entirely-capital-panther
This pull request was automerged via backport-assistant
2024-01-03 17:36:12 -05:00
Brian McClain d83897f2fe backport of commit 9afafd962f 2024-01-03 18:36:05 +00:00
hc-github-team-es-release-engineering 37efec5525 Merge pull request #12753 from hashicorp/RELPLAT-955-EOY-license-updates-1.10.x
[DO NOT MERGE UNTIL EOY] EOY license fixes v.1.10.x
2024-01-02 13:37:43 -08:00
hc-github-team-es-release-engineering eec08182cf update year in license files 2023-12-06 13:13:50 -08:00
b88ced3f70 Apply suggestions from code review
Co-authored-by: Lucas Bajolet <[email protected]>
Co-authored-by: Sylvia Moss <[email protected]>
2023-12-06 11:45:07 -05:00
Wilken Rivera 80e769a117 Remove reference to deprecated single components 2023-12-06 11:45:07 -05:00
Wilken Rivera 6cf4e037b5 Add example shell commands for copying integration files into plugin repository 2023-12-06 11:45:07 -05:00
Wilken Rivera 2e883b76df Address review feedback 2023-12-06 11:45:07 -05:00
Wilken Rivera 5157c3fceb Replace relative links 2023-12-06 11:45:07 -05:00
Wilken Rivera 0cda6b86ca Document process for registering a plugin as a Packer Integration 2023-12-06 11:45:07 -05:00
hc-github-team-es-release-engineering 331015fd21 Bumped product version to 1.10.1. 2023-12-06 09:52:59 -05:00
Wilken Rivera c91b114102 Update spacing for flags within Help text
Before Change
```

Options:
  - path <path>: install the plugin from a locally-sourced plugin binary. This
                 installs the plugin where a normal invocation would, but will
                 not try to download it from a remote location, and instead
                 install the binary in the Packer plugins path.
                 This option cannot be specified with a version constraint.
  - force:       forces reinstallation of plugins, even if already installed.

```

After Change
```
Options:
  -path <path>                  Install the plugin from a locally-sourced plugin binary.
                                This installs the plugin where a normal invocation would, but will
                                not try to download it from a remote location, and instead
                                install the binary in the Packer plugins path. This option cannot
                                be specified with a version constraint.
  -force                        Forces reinstallation of plugins, even if already installed.
```
v1.10.0
2023-12-05 14:39:03 -05:00
Wilken Rivera 8a67713e4e Backport CHANGELOG updates from main 2023-12-05 10:23:25 -05:00
Wilken Rivera 62284bf528 Bump version for 1.10.0 release 2023-12-05 10:18:32 -05:00
hc-github-team-packer a99c091c27 Merge pull request #12740 from hashicorp/backport/installed_plugins_list_fix/yearly-epic-fish
This pull request was automerged via backport-assistant
2023-12-05 09:55:39 -05:00
Lucas Bajolet cc9e9a774c docs: add exerpt on packer plugins install --path 2023-12-05 09:54:53 -05:00
Lucas Bajolet 4a4597d828 command: simplify local binary installation
Read original binary into memory to fix case when installation
destination and source were the same, resulting in an empty binary.
2023-12-05 09:54:53 -05:00
Lucas Bajolet e16194b6d0 command: plugins install reject non-releases
When installing a plugin with packer plugins install --path, we only
accept release versions of a plugin, as otherwise the loading can be
inconsistent if for example a user specifies a required_plugins block in
their template, in which case the plugins will be ignored.

Until we have a simpler loading scheme then, we will reject non-release
versions of plugins to avoid confusion.
2023-12-05 09:54:53 -05:00
Lucas Bajolet 51b63cf266 command: reject version with --path for install
To avoid plugins being installed with a specific version when a path is
used for installing a plugin from a locally sourced plugin binary, we
explicitly reject the combination of both a path and a version for
plugins install.
2023-12-05 09:54:53 -05:00
Lucas Bajolet bf561e7985 command: add --force option to init/install
The --force option for packer init and packer plugins install enforces
installation of a plugin, even if it is already locally installed.

This will become useful if for some reason a pre-existing plugin
binary/version is already installed, and we want to overwrite it.
2023-12-05 09:54:53 -05:00
Lucas Bajolet 96bdc019d3 command: add packer plugins install path flag
This new flag allows the `packer plugins install' command to install a
plugin from a local binary rather than from Github.

This command will only call `describe' on the plugin, and won't do any
further checks for functionality. The SHA256SUM will be directly
computed from the binary, so as with anything manual and potentially
sourced by the community, extra care should be applied when invoking
this.
2023-12-05 09:54:53 -05:00
hc-github-team-packer adde65ace1 Merge pull request #12738 from hashicorp/backport/migrated-plugin-docs/strongly-driven-swine
This pull request was automerged via backport-assistant
2023-12-05 09:40:34 -05:00
Wilken Rivera 29e1670c68 backport of commit 80739f0694 2023-12-05 11:36:24 +00:00
Lucas Bajolet ee3a2ca6ed backport of commit f88cd997f8 2023-12-04 19:08:25 +00:00
hc-github-team-packer 0854ba7e56 Merge pull request #12729 from hashicorp/backport/security/GHSA-2c7c-3mj9-8fqh/pleasantly-nearby-yeti
This pull request was automerged via backport-assistant
2023-11-30 10:33:30 -05:00
hc-github-team-packer 1376bf205b Merge pull request #12728 from hashicorp/backport/plugin_install_doc_updates/friendly-noted-piglet
This pull request was automerged via backport-assistant
2023-11-30 09:41:15 -05:00
Wilken Rivera 2aed97cedc backport of commit 1fcd31dacd 2023-11-29 18:16:13 +00:00
hc-github-team-packer 351032c964 Merge pull request #12722 from hashicorp/backport/deps/bump_packer-plugin-sdk_with_gocty_fix/loosely-master-rhino
This pull request was automerged via backport-assistant
2023-11-29 12:28:37 -05:00
Lucas Bajolet 69204a9e60 backport of commit e5bc3dd1c3 2023-11-29 15:24:54 +00:00
hc-github-team-packer ddc7a3a3d0 Merge pull request #12721 from hashicorp/backport/hcl2upgrade/known-plugins/specially-flexible-baboon
This pull request was automerged via backport-assistant
2023-11-28 15:15:28 -05:00
Wilken Rivera 7751a60197 backport of commit 518cbb62df 2023-11-28 20:01:04 +00:00
Wilken Rivera a0e57d435e backport of commit 401934871c 2023-11-28 18:10:25 +00:00
Wilken Rivera 70f1d864c9 backport of commit a2b3487cf2 2023-11-28 18:10:16 +00:00
hc-github-team-packer 3aa7dac53a Merge pull request #12716 from hashicorp/backport/rm_source_on_var_arg_error/rightly-active-marmot
This pull request was automerged via backport-assistant
2023-11-28 12:53:43 -05:00
Lucas Bajolet e61be92bd1 backport of commit facc138088 2023-11-28 15:49:17 +00:00
Lucas Bajolet b72fd918dd backport of commit b20d94c88b 2023-11-28 15:06:55 +00:00
Lucas Bajolet 5ddbf8a40d backport of commit bb26771e2d 2023-11-27 21:37:43 +00:00
hc-github-team-packer ebf057b7a1 Merge pull request #12709 from hashicorp/backport/update/missing_builder_warning/reasonably-enjoyed-ray
This pull request was automerged via backport-assistant
2023-11-22 21:36:22 -05:00
Wilken Rivera 334cfdf40a backport of commit b4b251394a 2023-11-23 02:14:32 +00:00
Wilken Rivera 9b179f055c backport of commit a25e03eddd 2023-11-23 02:12:45 +00:00
hc-github-team-packer 57fce6ca0e Merge pull request #12707 from hashicorp/backport/missing_plugins_hint_on_error/heartily-wired-katydid
This pull request was automerged via backport-assistant
2023-11-22 16:10:36 -05:00