Commit Graph
18134 Commits
Author SHA1 Message Date
Ilya Lukyanov d3163db100 backport of commit e330b2c345 2022-12-12 11:39:19 +00:00
hc-github-team-packer 36f1d3785e Merge pull request #12310 from hashicorp/backport/dependabot/go_modules/github.com/hashicorp/packer-plugin-sdk-0.4.0/promptly-relaxing-squid
This pull request was automerged via backport-assistant
2023-03-10 17:53:47 -05:00
dependabot[bot] e0e68c4ad9 backport of commit ec6e9674a0 2023-03-08 20:00:11 +00:00
hc-github-team-packer e2ed4b02ce Merge pull request #12305 from hashicorp/backport/dependabot/go_modules/github.com/hashicorp/hcp-sdk-go-0.36.0/barely-grateful-mongrel
This pull request was automerged via backport-assistant
2023-03-08 11:46:38 -05:00
Wilken Rivera 7e9735f026 Update golang.org/x/net to address GO-2023-1571
```
  » Go Modules Scanner
    ⚠︎ found OSV reported vulnerability GHSA-vvpx-j8f3-3w6h in golang.org/x/[email protected]
    ⚠︎ found OSV reported vulnerability GO-2023-1571 in golang.org/x/[email protected]
```
2023-03-01 16:48:47 -05:00
hc-github-team-packer 5cb7bb0c04 Merge pull request #12296 from hashicorp/backport/nywilken/nutanix-verified-badge/subtly-alive-hyena
This pull request was automerged via backport-assistant
2023-03-01 16:17:05 -05:00
hc-github-team-packer 9fc6993b92 Merge pull request #12293 from hashicorp/backport/nywilken/fix-json-build-display-bug/gradually-probable-buzzard
This pull request was automerged via backport-assistant
2023-03-01 15:20:06 -05:00
dependabot[bot] f476cbfea2 backport of commit 0e03749e5c 2023-03-01 20:01:55 +00:00
Wilken Rivera 3c489dfe28 backport of commit 7c8d992ce3 2023-02-28 18:58:59 +00:00
Wilken Rivera 793d31364e backport of commit 93885c4df6 2023-02-27 20:32:24 +00:00
hc-github-team-es-release-engineering 29ababdcc7 Bumped product version to 1.8.7. 2023-02-15 15:33:25 -06:00
Wilken Rivera 7c133022d2 Cut release 1.8.6 v1.8.6 2023-02-15 10:42:57 -05:00
Wilken Rivera 9f186e3d62 Update CHANGELOG 2023-02-15 10:38:46 -05:00
Wilken Rivera 877787931e build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.29.0 to 0.34.0 (#12275) 2023-02-15 10:27:18 -05:00
Wilken Rivera a7e27853e5 Bump bundled plugins to latest available version (#12274) 2023-02-15 10:22:14 -05:00
Wilken Rivera 45fc0d4b6f Update github.com/hashicorp/go-getter/v2 pkgs to address CVE-2023-0475 2023-02-14 20:00:55 -05:00
Wilken Rivera 67c2f92d08 Update CHANGELOG 2023-02-09 20:00:14 -05:00
hc-github-team-packer e2ca082117 Merge pull request #12257 from hashicorp/backport/nywilken/hcl2upgrade-variables-empty-map/rationally-suited-walrus
This pull request was automerged via backport-assistant
2023-02-08 13:40:59 -05:00
Wilken Rivera f4522fa783 backport of commit 6c9e653120 2023-02-08 16:19:07 +00:00
hc-github-team-packer ae50a3b17e Merge pull request #12252 from hashicorp/backport/changelog-linux-bugfix/smoothly-intimate-lamb
This pull request was automerged via backport-assistant
2023-02-07 13:37:47 -05:00
Claire 62268bb25e backport of commit dfedfd3931 2023-02-06 21:32:39 +00:00
hc-github-team-packer 69039cc25d Merge pull request #12247 from hashicorp/backport/nywilken/release-branch-builds/largely-epic-weevil
This pull request was automerged via backport-assistant
2023-02-06 15:34:33 -05:00
hc-github-team-packer 12d8f796e8 Merge pull request #12246 from hashicorp/backport/nywilken/release-branch-builds/broadly-viable-skylark
This pull request was automerged via backport-assistant
2023-02-06 15:33:34 -05:00
Wilken Rivera 3375c6e9a5 Merge code changes from main into release branch 2023-02-06 14:50:29 -05:00
craigpero 65e5c9ed01 Update index.mdx
In trying the example, I found that you have to type "*.second-example" for the expected results.   I took the command line on line #78 literal and it didn't work as typed. When I used my proposed change... it worked for me.
Alternatively, "*.second*" works but that could grab builders that were not intended.
2023-02-06 14:45:24 -05:00
claire labry 1cd0150afd Introduce action-set-product-version for Packer (#12135)
This change introduces the new actions-set-product-version, a tiny, but mighty, GitHub action that acts as a bridge between the product repo and our new CRT feature: automated version bumping.

tl;dr automated version bumping has a new command (bob update version) in the bob CLI that automatically bumps the version to a new patch. This automation has been introduced to crt-workflows-common as a new workflow (with the new bob command) and handles version bumping at the end of the release pipeline (after being released to production); for example, 1.0.0→1.0.1 and 1.0.0-dev→1.0.0. Bumping the minor version (ie 1.0.x→1.1.0) is only supported manually via bob update version -bump minor, but not supported in CRT (this work is upcoming). This is made possible by adding the new event “bump-version” in the ci.hcl file in this PR.

What this small action does:

    Allows for the static version string from the version/VERSION file to be read by the new CRT workflow and automagically be bumped to the next version (whether it be a minor, or patch, or major version bump).
    Outputs an error if there’s no VERSION file in the version dir
    Outputs an error if there’s no version string in the VERSION file
    Is able to parse product_version if it is 1.3.0-alpha1 as 1.3.0 (example: when product_version = 1.3.0-alpha1, base_version = 1.3.0)
    Is able to parse prerelease product versions such as alpha1 (example prerelease_product_version = alpha1) in the statement above.
2023-02-06 14:44:43 -05:00
Gary McDonald 4b9e6b1c88 Fix the spelling of several words within the README.md stored in the website/ project directory. (#12197)
Signed-off-by: Gary McDonald <[email protected]>

Signed-off-by: Gary McDonald <[email protected]>
2023-02-06 14:43:30 -05:00
Ashlee Boyer 55a9d10995 Updating old learn link 2023-02-06 14:43:10 -05:00
Ashlee Boyer df8ff9483f Updating link to use cases docs page 2023-02-06 14:42:53 -05:00
Lucas Bajolet 79e989d03e hcl2: don't warn on excluded post-processor (#12187)
* hcl2template: use && for chaining conditions

For deciding if we need to run an error provisioner block, we checked
using a nested if that we didn't need to avoid running it.

This is unnecessary, and adds a superfluous level of inbrication to the
code, so we chain both conditions with &&.

* hcl2: don't warn on excluded post-processor

When a post-processor is excluded through the -except command-line
argument for packer build, we used to print a warning on HCL2 templates
if this except statement did not match a build.

However, since we can use the except option to avoid running
post-processors, we should account for this as well when printing out a
warning that there were no matches.

This commit adds this counter to the except checks for the
post-processors as well.
2023-02-06 14:41:45 -05:00