Shengjing Zhu
d56db70a57
Bump github.com/pierrec/lz4 to v4.1.18
2023-09-26 12:16:40 -04:00
guoguangwu
7eb6a45cd4
chore: remove refs to deprecated io/ioutil
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-09-26 11:13:31 -04:00
hashicorp-copywrite[bot]
19055df3ec
[COMPLIANCE] License changes ( #12568 )
...
* Updating the license from MPL to Business Source License
Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog , FAQ at https://hashi.co/license-faq , and details of the license at www.hashicorp.com/bsl.
* Update copyright file headers to BUSL-1.1
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-08-10 15:53:29 -07:00
hashicorp-copywrite[bot]
b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers ( #12254 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-03-02 15:37:05 -05:00
Ashlee M Boyer
50da6c8dc8
docs: Migrate link formats ( #12192 )
...
* Adding check-legacy-links-format workflow
* Adding test-link-rewrites workflow
* Migrating links to new format
* Updating docs-content-check-legacy-links-format hash
* chore: update source
* Update generated partials from Packer plugin SDK
* Bump packer-plugin-sdk to get latest packer-sdc
* Update website/content/docs/templates/hcl_templates/blocks/build/provisioner.mdx
* Update Plugin SDK to fix shell-local regression
---------
Co-authored-by: Kendall Strautman <kendallstrautman@gmail.com>
Co-authored-by: Wilken Rivera <wilken@hashicorp.com>
Co-authored-by: Kendall Strautman <36613477+kendallstrautman@users.noreply.github.com>
2023-01-27 09:47:08 -08:00
Wilken Rivera
55b49cdb6f
Update output directory used in TestArchive ( #11406 )
...
This change uses a different as part of the TestArchive output path to fix
an intermittently failing test case on Windows caused by using the same
output name across test cases.
Originally tired to use t.TempDir() to gt a temp path but ran into
errors with parsing the config on Windows.
```
Unable to parse test config: invalid character 'U' in string escape code
```
2021-11-22 13:08:29 -05:00
Adrien Delorme
27d89ac8d4
update all plugins + pin go to go 1.17 ( #11237 )
...
* up plugins and get rid of a dependency loop from packer to packer
2021-09-02 12:15:13 +02:00
Adrien Delorme
38837848f9
Breakout yandex ( #10970 )
2021-04-22 17:03:14 +02:00
Megan Marsh
6b59525408
remove digitalocean directories, revendor, add to vendored_plugins, regenerate code, and update website paths ( #10961 )
2021-04-22 11:45:27 +02:00
Megan Marsh
af37f53439
Extract vagrant ( #10960 )
...
* remove vagrant, rework website
* regenerate command/plugin, and go mod tidy
2021-04-21 16:31:28 -04:00
Sylvia Moss
4be2c350bf
extract and vendor ucloud ( #10953 )
2021-04-21 13:25:04 -04:00
Megan Marsh
b54121a72d
delete and revendor alicloud plugin
2021-04-20 09:54:45 -07:00
Adrien Delorme
9230a06920
move googlecompute plugin to github.com/hashicorp/packer-plugin-googlecompute ( #10890 )
2021-04-19 11:10:15 +02:00
Adrien Delorme
87ba7258b3
Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown ( #10913 )
...
* start using `go:generate packer-sdc struct-markdown`
* Update Makefile
remove @go install ./cmd/struct-markdown
* run go generate for struct-markdown
* use //go:generate packer-sdc mapstructure-to-hcl2
* run go generate for mapstructure-to-hcl2
* remove struct-markdown and mapstructure-to-hcl2
* vendor vendors
2021-04-16 11:52:03 +02:00
sylviamoss
38fe79948b
remove vsphere components and docs
2021-04-15 16:24:57 -07:00
Daniel Finneran
a6c5958c67
Adds bzip2 support to post-processor ( #10867 )
...
* compress post processor: add bzip2 + tests
* post-processor/compress/post-processor_test.go: refactor tests and add tests for bzip2
* post-processor_test.go: test write/read for all compression algos
* check artifact.Destroy() errors
* close archive before deleting it
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2021-04-15 18:05:09 +02:00
Kerim Satirli
3e2db82cab
fixes typo ( #10894 )
2021-04-09 11:59:08 +02:00
Shaun McEvoy
eaec3e5564
Add Image Storage Locations field to Google Compute Import post-processor ( #10864 )
...
* add image storage locations to Google Compute Import
2021-04-07 10:36:08 +02:00
elsnepal
7f26429a2a
feature[alicloud]: add ramrole to ecs instance ( #10845 )
...
* add RamRole support for ecs instance
* ordering of attributes
* run make generate
2021-04-02 15:02:13 -04:00
Sylvia Moss
505cbd2591
Vendor amazon plugin ( #10800 )
...
* remove amazon from core
* vendor amazon plugin
* remove website content
* Add amazon to docs-remote-plugins
* update amazon reference links in the documentation
* update amazon docs version to latest
Co-authored-by: Adrien Delorme <adrien.delorme@icloud.com>
2021-03-25 13:37:48 +01:00
Chris Roberts
4ea4c0570f
Add test coverage for direct upload file size limits
2021-03-24 10:54:11 -07:00
Chris Roberts
a665e6b822
Always include all upload steps regardless of configuration
2021-03-24 10:53:38 -07:00
Chris Roberts
2de91e4862
Check configuration before running callback for upload confirmation
2021-03-24 10:52:56 -07:00
Chris Roberts
3a11820a41
Adjust upload limit value and fix error value stored in state bag
2021-03-24 10:51:10 -07:00
sophia
9b641c9bfd
Force NoDirectUpload for vagrantcloud if asset size > 5 GB
2021-03-18 17:22:27 -05:00
Marc Falzon
125a2f1f76
Remove "exoscale-import" post-processor
...
This change removes the `exoscale-import` post-processor from the
upstream Packer repository, following extraction as a standalone plugin
in a dedicated repository (https://github.com/exoscale/packer-post-processor-exoscale-import )
2021-03-09 10:01:05 -05:00
Megan Marsh
a5b0e37d7e
docker extraction POC
2021-03-05 15:33:34 -05:00
Wilken Rivera
f36554fa0e
Update redirects and URLs to legacy JSON template docs ( #10530 )
2021-01-27 09:08:59 -05:00
Roman Mingazeev
e588029d6a
yandex: some fix ( #10522 )
2021-01-25 12:26:21 +01:00
Sylvia Moss
3c7944624a
(3) Add amazon-ami data source ( #10467 )
2021-01-20 11:05:03 +01:00
Roman Mingazeev
0554c33951
update description
2021-01-15 14:11:12 +03:00
Roman Mingazeev
c0f7b2ef39
fix wg.Add(1) lint
2021-01-15 12:59:27 +03:00
Roman Mingazeev
379a33de42
yandex/update-dump-method
2021-01-15 12:51:54 +03:00
Adrien Delorme
52d2d7fe5f
Copy MapOf... plugin types back into Packer core ( #10466 )
...
* 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
2021-01-13 12:14:06 +01:00
Megan Marsh
6917866259
fix regression in return code checking in vsphere postprocessor. this was introduced in v1.6.1
2021-01-11 13:12:24 -08:00
Megan Marsh
ce99640fe2
fix test fixture path
2020-12-17 14:41:36 -08:00
Megan Marsh
88b7b0e14a
remove sdk
2020-12-17 13:29:25 -08:00
Megan Marsh
5f34bbd56e
add extra line before package declaration so this line does not become the synopsis of a package for godoc
2020-12-16 15:14:43 -08:00
Megan Marsh
0db037b4ff
Merge pull request #10316 from unixsurfer/unixsurfer/adjust_googlecompute-export
...
googlecompute-export: Add logging.write to service account scopes
2020-12-14 16:35:21 -08:00
Gennady Lipenkov
d0367d90bd
Periodically send signal to trigger qemu-img to show current progress
2020-12-10 18:50:28 +03:00
Roman Mingazeev
992cbe6dee
Update post-processor/yandex-export/step-attach-disk.go
...
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-12-10 15:17:27 +03:00
Roman Mingazeev
69adcdb2a3
Update post-processor/yandex-export/step-attach-disk.go
...
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-12-10 15:17:21 +03:00
Roman Mingazeev
ceb02833a4
Update post-processor/yandex-export/step-attach-disk.go
...
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-12-10 15:17:09 +03:00
Roman Mingazeev
bbd9ee8589
fix export when using empty ubuntu image
2020-12-10 14:52:22 +03:00
Roman Mingazeev
aa0efcf73e
Yandex/ssh communicator in export ( #10352 )
...
* use ssh for communicate to export
* Update post-processor/yandex-export/step-create-s3-keys.go
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-12-09 16:51:34 +01:00
Roman Mingazeev
9fabad6f1d
rebase && some fixes
2020-12-07 18:27:22 +03:00
Roman Mingazeev
1c08463204
rebase
2020-12-07 18:13:12 +03:00
Roman Mingazeev
efe6d2f08f
add comment and remove overrides
2020-12-07 18:13:12 +03:00
Roman Mingazeev
4eb3daec8e
lint
2020-12-07 18:13:12 +03:00
Roman Mingazeev
478fda12ba
reuse common configs
2020-12-07 18:13:06 +03:00