Commit Graph

79 Commits (v1.12.0)

Author SHA1 Message Date
Jenna Goldstrich 8dcd9fe1a5 Ensure org ID is set and move UploadSbom to api package
1 year ago
Jenna Goldstrich 347c57306c hcp: use enum for HCP SBOM upload
1 year ago
Lucas Bajolet 9b3f29faf9 hcp: wrap completeBuild to mark as failed on error
1 year ago
Jenna Goldstrich 362c547211 hcp: integrate SBOM upload to HCP code
1 year ago
Jenna Goldstrich cf6a82fae8 Make error less brittle to fix upcoming error with HCP SDK Go changing how we return 404 error
1 year ago
Lucas Bajolet 9076c7b24a internal/dag: remove unused code
1 year ago
Lucas Bajolet 09774aaeb8 internal/dag: adapt Validate to not check for Root
1 year ago
Lucas Bajolet 673c13ebe7 internal: add dag package
1 year ago
Lucas Bajolet 69ec781ee2 hcp: don't continue if HEAD doesn't exist
1 year ago
Devashish 265dfe105a
Remove suffix from CICD platform type (#13121)
2 years ago
Devashish aa6c5f8405
feat: Phase 2 Extension of Build Metadata (#13092)
2 years ago
Jenna Goldstrich 078ad45860
HCP Packer Buckets: Change UpsertBucket to call GetBucket (#13059)
2 years ago
Devashish f19b9b7369
Remove GetMetadata from StartBuild and add to CompleteBuild for HCL (#12926)
2 years ago
Devashish 70d2efec4d
Report metadata only when the build completes (#12923)
2 years ago
Devashish edc8a4dc0d Use latest version of hcp-sdk-go
2 years ago
Devashish 8e92027546 HPR-1537: Packer Core sends metadata to HCP Packer in UpdateBuild API (#12891)
2 years ago
Devashish 595b45e67c Packer tracks Version and Plugins Metadata (#12860)
2 years ago
Lucas Bajolet 32f89015fe hcp: fix hcp artifact extraction method
2 years ago
Lucas Bajolet 548893bbee build: don't suggest lack of HCP support on fail
2 years ago
Devashish 91ce35f439 Expose versionFingerprint instead of versionId from packer template
2 years ago
Wilken Rivera 12b8c885a3
Update error messaging for HCP incompatible plugin builds (#12800)
2 years ago
Devashish 3fa637c608
Migrate HCP Packer to API V2 and new nomenclature changes (#12794)
2 years ago
Wilken Rivera c245b1fb7c deps: Bump github.com/hashicorp/hcp-sdk-go to v0.73.0
2 years ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
Wilken Rivera 60c66fdf9f Add additional validation for manually set project ids
3 years ago
Wilken Rivera 38101a64c9 hcp: Add support for project level service principals
3 years ago
hashicorp-copywrite[bot] d563a3c623 [COMPLIANCE] Add Copyright and License Headers
3 years ago
Lucas Bajolet 925cb5e541 hcp: support HCP_PROJECT_ID environment variable
3 years ago
Wilken Rivera eca75a6847 Run make fmt to fix checks
3 years ago
hashicorp-copywrite[bot] b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers (#12254)
3 years ago
Wilken Rivera d880d1bca7 Update ReadFromHCLBuildBlock to use the hcp_packer_registry.Description
3 years ago
Lucas Bajolet ec1d2e68f5 hcp: generate fingerprints on each new build
3 years ago
Lucas Bajolet 73482bb636 internal: remove unused Labels on Iteration
3 years ago
Lucas Bajolet ca197afe9b hcp: remove superfluous return value on GetBuilds
3 years ago
Lucas Bajolet 2200cb14ce hcp: set the status to CANCELLED when a build is
3 years ago
Lucas Bajolet 4846301ff4 hcp: reject template type changes between builds
3 years ago
Lucas Bajolet 6d0045607c hcp: record template type when creating iterations
3 years ago
Lucas Bajolet 08f1e85fb1 hcp: fix payloads for new SDK version
3 years ago
Lucas Bajolet ccb5a22bb4 hcp: remove duplicated build registration for JSON
3 years ago
Lucas Bajolet 719c8681cd registry: don't use datasource output for ancestry
3 years ago
Wilken Rivera 606e6c48f1 internal: reorganise registry/HCP code
3 years ago
Lucas Bajolet 1cee460d0d hcp: extract all HCP-related code to hcp package
3 years ago
Lucas Bajolet f3e4c2c3bb tmp: move HCP logic to unwrap builds/post
3 years ago
Lucas Bajolet f0d0a0e6c5 internal/registry: reverse image check condition
3 years ago
Lucas Bajolet 61c810e720 command: rework HCP-related error messages
3 years ago
Lucas Bajolet c2dc140896 hcp: read fingerprint from env during initialize
3 years ago
Wilken Rivera 6693128d73 Read loading over bucket name from env var
3 years ago
Wilken Rivera 148d5e3a2d Add initialize method to Iteration
3 years ago
Wilken Rivera 0efd064d29 Update IsHCPExplicitelyEnabled logic
3 years ago
Wilken Rivera a427094426 Add env for HCP_PACKER_BUILD_FINGERPRINT
3 years ago