Commit graph

18766 commits

Author SHA1 Message Date
rkoron007
f59704a1eb add access to redirects and readme 2025-02-06 10:32:32 -08:00
trujillo-adam
10fa414030
Merge pull request #13286 from hashicorp/docs/packer-seo-fy2025q4
Docs/packer seo fy2025q4
2025-02-03 10:59:36 -08:00
trujillo-adam
f46d0f6da4
Update website/content/docs/templates/legacy_json_templates/user-variables.mdx
Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
2025-01-31 14:28:18 -08:00
trujillo-adam
cf716c73ed
Merge pull request #13285 from hashicorp/docs/packer-seo-final-batch
remaining packer content
2025-01-31 14:27:03 -08:00
trujillo-adam
3ddaae6e68
Apply suggestions from code review
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2025-01-31 14:09:46 -08:00
trujillo-adam
c310eac0cc
Merge pull request #13284 from hashicorp/docs/packer-seo-functions-batch3
Docs/packer seo functions batch3
2025-01-30 11:08:48 -08:00
trujillo-adam
090b30e8a3 fix missing partials 2025-01-30 11:01:36 -08:00
trujillo-adam
0f30246355 formatting error in page desc 2025-01-30 10:37:42 -08:00
trujillo-adam
4b45e151de fixed typo in redirects 2025-01-30 10:28:12 -08:00
trujillo-adam
c3df63af1e removed 'learn to' keyword phrases 2025-01-30 10:14:03 -08:00
trujillo-adam
3e3459b3a8
Update website/content/docs/templates/hcl_templates/functions/encoding/base64decode.mdx
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2025-01-30 10:06:13 -08:00
trujillo-adam
06af5e646d
Apply suggestions from code review
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2025-01-30 10:05:01 -08:00
trujillo-adam
cf46ce621f remaining packer content 2025-01-29 16:14:35 -08:00
trujillo-adam
8e6c32ce19 fix typo 2025-01-29 14:15:55 -08:00
trujillo-adam
0c0f7a6c41
Merge pull request #13282 from hashicorp/docs/packer-seo-templates-batch1
Docs/packer seo templates batch1
2025-01-29 10:41:19 -08:00
trujillo-adam
f46a4351e6
Apply suggestions from code review 2025-01-29 10:36:05 -08:00
trujillo-adam
b417abafa0 ipnet and uuid funcs 2025-01-29 10:18:14 -08:00
trujillo-adam
d8fa10e6eb string functions 2025-01-29 09:51:34 -08:00
trujillo-adam
f86801abc6
Apply suggestions from code review
Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
2025-01-29 08:33:36 -08:00
trujillo-adam
88478059d6
Merge pull request #13283 from hashicorp/docs/packer-seo-templates-batch2
packer-seo-templates-batch2
2025-01-29 08:15:58 -08:00
trujillo-adam
ad18e70980
Apply suggestions from code review
Co-authored-by: Brian McClain <brianmmcclain@gmail.com>
2025-01-29 08:15:40 -08:00
Judith Malnick
6096b86b0e Remove web team from CODEOWNERS for content directories
The web team was getting a lot of noise from my recent code owner
changes, so we decided together to remove them from the CODEOWNERS for
docs content directories.
2025-01-29 10:50:06 -05:00
trujillo-adam
8b84cce611 numeric and conversion functions 2025-01-28 16:00:32 -08:00
trujillo-adam
8ad24fd454 encoding functions 2025-01-28 15:39:09 -08:00
trujillo-adam
2929047d88 contextual and datatime functions 2025-01-28 14:59:40 -08:00
trujillo-adam
75678c5de2 file functions references 2025-01-28 12:15:44 -08:00
trujillo-adam
953c814ad5 crypto and collection functions references 2025-01-28 11:22:54 -08:00
trujillo-adam
54da4b047f hcl templates content except functions 2025-01-28 09:44:33 -08:00
trujillo-adam
a9ada1d19d hcl template blocks 2025-01-27 14:44:31 -08:00
trujillo-adam
c5036e233d
Merge pull request #13273 from hashicorp/docs/packer-seo-provs
updated provisioners reference topics
2025-01-24 14:18:57 -08:00
trujillo-adam
f62463ef26
Apply suggestions from code review
Co-authored-by: Brian McClain <brianmmcclain@gmail.com>
2025-01-24 14:14:46 -08:00
trujillo-adam
b42e78ae1a
Merge pull request #13272 from hashicorp/docs/packer-seo-builders-plugins
Docs/packer seo builders plugins
2025-01-24 14:13:26 -08:00
trujillo-adam
9fd83c155c
Apply suggestions from code review
Co-authored-by: Brian McClain <brianmmcclain@gmail.com>
2025-01-24 14:08:16 -08:00
trujillo-adam
85ff38ff38
Merge pull request #13267 from hashicorp/docs/packer-seo-ds-ref
seo improvements data sources references
2025-01-24 13:55:35 -08:00
trujillo-adam
9cf014fa08
Apply suggestions from code review
Co-authored-by: Brian McClain <brianmmcclain@gmail.com>
2025-01-24 13:50:20 -08:00
trujillo-adam
ba3c07bf66 legacy json template ref 2025-01-24 12:28:52 -08:00
trujillo-adam
7645ee0ff4 updated provisioners reference topics 2025-01-23 19:41:57 -08:00
trujillo-adam
da35666689 buiders, plugins, and some top-level pages 2025-01-23 16:02:43 -08:00
Lucas Bajolet
298be01fb6 docs: add upgrade/release notes for 1.12.0 2025-01-23 15:10:06 -05:00
trujillo-adam
711a38bdd4 intro articles 2025-01-23 11:02:12 -08:00
Lucas Bajolet
f1442be54f CHANGELOG: add changes for v1.12.0 2025-01-22 10:02:39 -05:00
trujillo-adam
8eb277b122 seo improvements data sources references 2025-01-21 19:30:41 -08:00
Devashish
2e609231b4 website: add docs for the hcp-sbom provisioner 2025-01-21 16:57:50 -05:00
Jenna Goldstrich
8dcd9fe1a5 Ensure org ID is set and move UploadSbom to api package 2025-01-21 16:57:50 -05:00
Jenna Goldstrich
347c57306c hcp: use enum for HCP SBOM upload
Since the protos for uploading an SBOM for a build have been changed to
use an enumeration instead of a plain string with the latest revisions
to the HCP Packer SBOM support feature, we update how we reference those
values for the SBOM format to use that enum instead.
2025-01-21 16:57:50 -05:00
Lucas Bajolet
619c524afb command: exit non-zero if uploading to HCP failed
In the current state, a Packer build that succeeds but fails to push its
metadata to HCP for reasons other than a lack of artifact will always
succeed from the perspective of a user invoking `packer build`.

This can be a bit misleading, as users may expect their artifacts to
appear on HCP Packer if their build succeeded on Packer Core, so this
commit changes this behaviour, instead reporting HCP errors as a real
error if the build failed, so packer returns a non-zero error code if
this happens.
2025-01-21 16:57:50 -05:00
Lucas Bajolet
9b3f29faf9 hcp: wrap completeBuild to mark as failed on error
When a build cannot be completed without errors, the build state was
left as running, unless the build explicitly failed, which meant that
HCP Packer would be responsible for changing the status after the
heartbeats for the build stopped being sent for two 5m periods.

This commit changes this behaviour, by explicitly marking the build as
failed if something did not work while trying to complete a build on HCP
Packer, even if the local Packer core build succeeded before that.
2025-01-21 16:57:50 -05:00
Jenna Goldstrich
362c547211 hcp: integrate SBOM upload to HCP code
Since packer now supports keeping track of SBOMs produced during a
build, we add the code to integrate those changes into the internal/hcp
package, so we do upload them on build completion.
2025-01-21 16:57:50 -05:00
Lucas Bajolet
a8c9467463 packer_test: add integration tests for hcp-sbom 2025-01-21 16:57:50 -05:00
Devashish
a353260f5d packer: add hcp-sbom provisioner
The hcp-sbom provisioner is a provisioner that acts essentially like a
download-only file provisioner, which also verifies the file downloaded
is a SPDX/CycloneDX JSON-encoded SBOM file, and sets up its upload to
HCP Packer later on.
2025-01-21 16:57:50 -05:00