This project is mirrored from https://gitee.com/NQL886/packer.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 14 Sep, 2021 1 commit
    • Wilken Rivera's avatar
      Update HCP Packer registry image extraction, validation, publishing logic for... · b10df3ab
      Wilken Rivera authored
      Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221)
      
      * Update handling of registry artifacts
      
      This change uses the github.com/hashicorp/packer-plgin-sdk/packer/registryimage for querying
      Artifact State for HCP Registry Image metadata. To handle the conversion
      of the RPC response, mapstructure was introduced to conversion state
      data into an registryimage.Image before publishing to a image bucket.
      
      * Update to use registry image from packersdk
      
      * Rename internal registry service pkg
      
      * Update vendored plugins to latest version
      
      * The latest release of Amazon, GoogleCompute, and Azure have support
        for publishing images to the HCP Packer registry.
      b10df3ab
  2. 03 Sep, 2021 1 commit
    • Megan Marsh's avatar
      Add two new data sources -- hcp-packer-iteration and hcp-packer-image. These... · fd80f8da
      Megan Marsh authored
      Add two new data sources -- hcp-packer-iteration and hcp-packer-image. These data sources together will allow users to query hcp_packer for the image_ids they need to use as source images to their builds, with a simple UI and clear outputs.
      add quick and dirty acceptance test for hcp packer image iteration and hcp packer image data sources
      PR review
      linting
      fd80f8da
  3. 27 Aug, 2021 1 commit
  4. 05 Aug, 2021 1 commit
    • Wilken Rivera's avatar
      HCP Packer registry enabled Packer client (#11154) · a534c743
      Wilken Rivera authored
      
      * Add working registry pkg
      
      * Add custom error for handling the loading of PAR environment variables
      
      * Working Publish to Build, with proper error handling for bucket names
      
      * Update hcp-sdk-go to use branch instead of mod replace directive
      
      * Update Packer build status configuration
      
      * Add support for HCP_PACKER_BUILD_FINGERPRINT env
      
      * Add support for publishing one or more PARtifacts from a single build
      
      * add git shas to this branch
      
      * Add ability to set provider name if available
      
      * Add working RegistryBuilder type
      
      * Add RegistryPostProcessor as wrapper post-processor
      
      * When in PAR mode a empty RegistryPostProcessor is added to the end of
        the post-processor list to publish all final image data.
      
      * Add support for updating a build from PAR that is not in a DONE state
      
      * Fix a small issue with creation the initial builds for an empty
        iteration.
      
      * Add PAR URL to post-processor display
      
      * Implement hcp_packer_registry block (#11168)
      
      * Update vendored Amazon plugin to v1.0.1-dev
      
      * Fix panic when running a Packer registry build in a clean directory
      
      * Remove the publishing of post-processor metadata from the registry
        post-processor.
      
      * Remove metadata add from registry_builder
      
      * Update registry builder to skip a build that was found to be DONE
      Co-authored-by: default avatarMegan Marsh <megan@hashicorp.com>
      Co-authored-by: default avatarSylvia Moss <moss@hashicorp.com>
      a534c743