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. 18 Nov, 2021 1 commit
    • Wilken Rivera's avatar
      hcp packer registry build labels (#11401) · 06b35c39
      Wilken Rivera authored
      
      * Add basic support for build_labels argument
      
      * Update support for build_labels configuration argument
      
      * Update complete test-fixture with a build_labels configuration
      * Add test for deprecated labels argument
      * Add deprecation for hcp_packer_registry.labels
      
      When using the now deprecated labels argument of the new bucket_labels a
      Warning will be presented to the user.
      
      ```
      ~>  HCP_PACKER_BUILD_FINGERPRINT=356786543567865456789656789 packer
      build source.pkr.hcl
      Warning: the argument hcp_packer_registry.labels has been deprecated and will be removed in a future release; please use hcp_packer_registry.bucket_labels
      ```
      
      When trying to use both bucket_labels and labels together an error is
      presented to the user.
      ```
      ~>  HCP_PACKER_BUILD_FINGERPRINT=ss6786543567865456789656789 packer
      build source.pkr.hcl
      Error: hcp_packer_registry.labels and hcp_packer_registry.bucket_labels are mutely exclusive; please use the recommended argument hcp_packer_registry.bucket_labels
      
        on source.pkr.hcl line 17:
          (source code not available)
      
      ```
      
      * Update documentation for build_labels
      
      * Apply suggestions from code review
      Co-authored-by: default avatarAdrien Delorme <azr@users.noreply.github.com>
      
      * Update hcl2template/types.build.hcp_packer_registry.go
      Co-authored-by: default avatarAdrien Delorme <azr@users.noreply.github.com>
      06b35c39
  2. 16 Nov, 2021 1 commit
  3. 15 Nov, 2021 1 commit
  4. 12 Nov, 2021 1 commit
  5. 11 Nov, 2021 1 commit
  6. 10 Nov, 2021 2 commits
  7. 09 Nov, 2021 1 commit
  8. 04 Nov, 2021 3 commits
  9. 03 Nov, 2021 17 commits
  10. 28 Oct, 2021 5 commits
  11. 27 Oct, 2021 7 commits