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. 20 Jan, 2021 1 commit
  2. 13 Jan, 2021 1 commit
    • Adrien Delorme's avatar
      Copy `MapOf...` plugin types back into Packer core (#10466) · 52d2d7fe
      Adrien Delorme authored
      * move maps of plugins back in core
      
      * go mod vendor
      
      * more fixes
      
      * fix imports
      
      * Update core_test.go
      
      * fix build
      
      * more fixes
      
      * more fixes
      
      * up vendors after fixing sdk
      
      * Update post_processor_mock.hcl2spec.go
      
      * Leave implementatino of MapOf in the sdk for plugi tests
      
      Other wise use the interface
      
      * go mod tidy
      
      * add MapOfDatasource type too
      52d2d7fe
  3. 17 Dec, 2020 1 commit
  4. 15 Dec, 2020 1 commit
    • Adrien Delorme's avatar
      allow to discover & start packer-plugin-* muliplugin binaries (#10277) · 72c1912b
      Adrien Delorme authored
      This add :
      * discovery of `packer-plugin-*` binaries from the known folders and ask them to describe themselves
      * tests
      
      For testing: in go we create a bash script that in turn calls back to Go. I could not make the tests to work on windows and then would like to postpone testing this for when we know more about the finite layout of this feature. That is mainly: how things are going to work with init, versioning and such.
      72c1912b
  5. 03 Dec, 2020 2 commits
  6. 02 Dec, 2020 2 commits
  7. 01 Dec, 2020 2 commits
  8. 30 Nov, 2020 1 commit
  9. 06 Oct, 2020 1 commit
  10. 13 Feb, 2020 1 commit
  11. 17 Jan, 2020 2 commits
    • Megan Marsh's avatar
      a163ff73
    • nywilken's avatar
      config: Update loading of packerconfig to only log when a plugin is loaded · c93a0766
      nywilken authored
      Before this change loading of a packerconfig would display `loaded
      plugin ...` for any plugin defined in the packerconfig - even if it
      didn't exist on disk. This change updates how plugins defined in
      packerconfig are loaded to ensure that only successfully loaded plugins
      get the lovely message `loaded plugin ...`. For any plugin that fails to
      load Packer will log that it failed to load the plugin and continue
      processing any other defined plugins.
      
      * Add a test to ensure loadSingleComponent errors when plugin does not
      exists
      c93a0766
  12. 16 Jan, 2020 1 commit
  13. 15 Jan, 2020 1 commit
  14. 06 Jan, 2020 2 commits
  15. 02 Jan, 2020 1 commit
  16. 27 Dec, 2019 1 commit
  17. 17 Dec, 2019 1 commit
    • Adrien Delorme's avatar
      build using HCL2 (#8423) · 0785c2f6
      Adrien Delorme authored
      This follows #8232 which added the code to generate the code required to parse
      HCL files for each packer component.
      
      All old config files of packer will keep on working the same. Packer takes one
      argument. When a directory is passed, all files in the folder with a name
      ending with  “.pkr.hcl” or “.pkr.json” will be parsed using the HCL2 format.
      When a file ending with “.pkr.hcl” or “.pkr.json” is passed it will be parsed
      using the HCL2 format. For every other case; the old packer style will be used.
      
      ## 1. the hcl2template pkg can create a packer.Build from a set of HCL (v2) files
      
      I had to make the packer.coreBuild (which is our one and only packer.Build ) a public struct with public fields
      
      ## 2. Components interfaces get a new ConfigSpec Method to read a file from an HCL file.
      
        This is a breaking change for packer plugins.
      
      a packer component can be a: builder/provisioner/post-processor
      
      each component interface now gets a `ConfigSpec() hcld...
      0785c2f6
  18. 09 Dec, 2019 1 commit
  19. 19 Mar, 2019 1 commit
  20. 24 Jan, 2018 1 commit
  21. 31 Aug, 2017 1 commit
  22. 02 Jul, 2017 2 commits
  23. 01 Jul, 2017 10 commits
  24. 27 Jun, 2017 1 commit
  25. 13 Jun, 2017 1 commit