Commit Graph
18270 Commits
Author SHA1 Message Date
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
Wilken Rivera 11f6e0d545 Cut v1.9.2 release v1.9.2 2023-07-19 16:13:58 -04:00
hc-github-team-packer 9c247f33cc Merge pull request #12521 from hashicorp/backport/changelog_1.9.2/globally-golden-bison
This pull request was automerged via backport-assistant
2023-07-19 15:14:15 -04:00
Lucas Bajolet 0ba4ac729d backport of commit e8b4ae76bd 2023-07-19 18:58:55 +00:00
hc-github-team-packer d8728cad1b Merge pull request #12519 from hashicorp/backport/patch1/manually-desired-dragon
This pull request was automerged via backport-assistant
2023-07-19 11:54:45 -04:00
GaryNg 817667ad9a backport of commit 3320229c68 2023-07-19 14:55:14 +00:00
hc-github-team-packer dfb7396ce8 Merge pull request #12515 from hashicorp/backport/hcl2_upgrade_include_required_plugins/eminently-charmed-filly
This pull request was automerged via backport-assistant
2023-07-18 16:25:08 -04:00
hc-github-team-packer 4f1ea6d425 Merge pull request #12514 from hashicorp/backport/fix_mode_check_target/directly-warm-hookworm
This pull request was automerged via backport-assistant
2023-07-18 16:22:20 -04:00
hc-github-team-packer f8665ee97b Merge pull request #12513 from hashicorp/backport/patch-1/genuinely-alive-cow
This pull request was automerged via backport-assistant
2023-07-18 16:18:09 -04:00
hc-github-team-packer 46480ab660 Merge pull request #12511 from hashicorp/backport/hcl2_warn_once_on_uninstalled_plugins/neatly-awake-woodcock
This pull request was automerged via backport-assistant
2023-07-18 16:16:56 -04:00
hc-github-team-packer c76bc1dc0b Merge pull request #12510 from hashicorp/backport/warn_on_bundled_plugin_usage/openly-new-boa
This pull request was automerged via backport-assistant
2023-07-18 16:16:16 -04:00
Lucas Bajolet dd1b0ac367 backport of commit 3d33f058e8 2023-07-18 19:54:53 +00:00
Lucas Bajolet 1ef15d9504 backport of commit 8a86c20c41 2023-07-18 19:39:39 +00:00
Lucas Bajolet b2baa32ab4 backport of commit 38f95d30d8 2023-07-18 19:18:54 +00:00
GaryNg 01de3202a4 backport of commit 6b19770241 2023-07-18 13:52:26 +00:00
GaryNg 39c1fd4935 backport of commit 76f93de06e 2023-07-18 13:47:06 +00:00
Lucas Bajolet 49e7c0988a backport of commit 8e07fa34cf 2023-07-17 21:15:21 +00:00
Lucas Bajolet ebaad6eb5a backport of commit f4eda950c2 2023-07-17 18:57:52 +00:00
akkuman 23ffd1caa7 backport of commit e58054ed7f 2023-07-13 08:41:50 +00:00
hc-github-team-packer 0cafc2e92a Merge pull request #12501 from hashicorp/backport/fix_section_configure_docs/nearly-dominant-dragon
This pull request was automerged via backport-assistant
2023-07-12 12:46:08 -04:00
Lucas Bajolet 27adba525f backport of commit 9a2d51234f 2023-07-12 15:42:08 +00:00
dependabot[bot] 385dc88ab5 backport of commit 8a06d1ed78 2023-07-08 00:16:20 +00:00
Kévin Dunglas ed5908ee9f backport of commit 6f47140f28 2023-07-07 14:13:32 +00:00
hc-github-team-packer c800f4b91f Merge pull request #12492 from hashicorp/backport/nywilken/update-plugin-loading-order-docs/unduly-easy-warthog
This pull request was automerged via backport-assistant
2023-07-06 16:01:10 -04:00
hc-github-team-packer 01fe7ae375 Merge pull request #12491 from hashicorp/backport/nywilken/update-plugin-loading-order-docs/suitably-ruling-hermit
This pull request was automerged via backport-assistant
2023-07-06 16:01:03 -04:00
Wilken Rivera a7745d171a backport of commit 275c262ca3 2023-07-06 19:30:18 +00:00
Wilken Rivera ff20ba62cd backport of commit 275c262ca3 2023-07-06 19:30:18 +00:00
hc-github-team-packer 7f0990d459 Merge pull request #12488 from hashicorp/backport/nywilken/migrate-parallels-plugin/generally-awake-wildcat
This pull request was automerged via backport-assistant
2023-07-03 14:13:36 -04:00