Commit Graph

800 Commits (anshul/plugin_binary_from_official_site)

Author SHA1 Message Date
Adrien Delorme 522d122858 regen all code
5 years ago
Adrien Delorme 54032d6c11 gen code and docs
5 years ago
Adrien Delorme f4f731b83c Refactor google compute's temporary ssh keygen genertion to use the sshkey package
5 years ago
Megan Marsh 7ee9a4b638
Merge pull request #9968 from upodroid/google-impersonation
5 years ago
Megan Marsh 721cbac645
Merge pull request #9996 from hashicorp/fix_9995
5 years ago
Adrien Delorme 8f9001b531 uncopy
5 years ago
upodroid b1c74f9df0 Merge branch 'master' of github.com:hashicorp/packer into google-impersonation
5 years ago
upodroid f13099edfb rebase the branch
5 years ago
Megan Marsh 4c0ac6917e switch to using aws base config, which means we're using code tested and maitnained by the terraform crowd.
5 years ago
sylviamoss c8874c9382 improve docker_tag cast to avoid failures
5 years ago
sylviamoss 49bc7665c1 fix docker push tags cast
5 years ago
sylviamoss aa9c162c60 improve docker_tags artifact state read
5 years ago
sylviamoss e758891878 make shell-local post-processor return copy of previous artifact
5 years ago
Megan Marsh 429d431365 Implement assume_role for Packer. This functionality is copied shamelessly
5 years ago
upodroid be56632f7e fix vendoring
6 years ago
upodroid 9b121e85f9 fix dodgy pointers
6 years ago
Upo 3f6230470b
Merge branch 'master' into google-impersonation
6 years ago
upodroid 2faacfd5d7 add service account impersonation
6 years ago
Wilken Rivera b4be598148
Fix static check issues SA1019 for googlecompute plugins (#9950)
6 years ago
Sylvia Moss bdd736b800
Interpolate vagrantfile_template on Vagrant post-processor (#9923)
6 years ago
Gennady Lipenkov e078bd6bf2 Fix S3 URL construct process
6 years ago
GennadySpb 2837d56885
Check for error after runner completes (#9925)
6 years ago
Wilken Rivera 10e74961d2
Add check for empty artifact.Files slice (#9857)
6 years ago
GennadySpb 804fefef17
yandex-import: allow set custom API endpoint (#9850)
6 years ago
GennadySpb 0df2e15d9f
If proposed exit code not equal 0 set proper metadata key to expected 'cloud-init-error'. (#9849)
6 years ago
Viktor A. Danilov cd60f32866
fix yandex-export aws: (#9814)
6 years ago
sylviamoss 788dc32598 add aws_polling config option to override env variables
6 years ago
Wilken Rivera 89d57b8635
post-processor/googlecompute-import: Update documentation (#9767)
6 years ago
Megan Marsh daccfc42cf
Fix ReregisterVM to default to true instead of false. (#9736)
6 years ago
Wilken Rivera ae23f891e1
post-processor/googlecompute-export: Update documentation (#9727)
6 years ago
Wilken Rivera 759d2451a4 post-processor/googlecompute-export: Remove IAP configuration from HCL schema
6 years ago
Luke Swithenbank 6d1a146143
Fix Google Compute Export Post-Processor (#9708)
6 years ago
sylviamoss fd683daa22 update checksum post-processor docs
6 years ago
Megan Marsh 02d3fb37e3 fix return
6 years ago
Megan Marsh 69b0e66b5d
Update post-processor/vsphere/post-processor.go
6 years ago
Adrien Delorme c34e89aec7
getEncodedPassword: simplify encodedPassword return
6 years ago
Megan Marsh 395a0c472e improve postprocessor stdout
6 years ago
Megan Marsh 6383e6cbbf fix vsphere postprocessor password log filtering, write tests
6 years ago
Megan Marsh 1b6b44589d Change to use query syntax instead of manually throwing queries in.
6 years ago
Megan Marsh 393b2d16c4 switch to using net/url.URL struct for encoding rather than the incorrect QueryEscape for the whole URL.
6 years ago
Megan Marsh 2e4d0c888a pull ovftool uri generation into separate function, test function
6 years ago
Megan Marsh a687d6fe12
ci/tech-debt: Fix vmware acceptance tests (#9636)
6 years ago
Gennady Lipenkov 46a5561340 go import file
6 years ago
Gennady Lipenkov 53e7f4e71a extend artifact, code refactoring
6 years ago
Gennady Lipenkov e0cc7b9d8c yandex-import: allow create image based on another one
6 years ago
Megan Marsh ea4aa67f78
make friendly error message (#9605)
6 years ago
Gennady Lipenkov b16cccde3d Support piping of yandex-import post-processors
6 years ago
Gennady Lipenkov b28be46dc1 Add package alias (fix lint)
6 years ago
Gennady Lipenkov 29a6687475 Separate workflow for file on disk and prepared URL
6 years ago
Gennady Lipenkov 59aaaf7a91 Support provision of token, SA key file and folder ID from OS env vars
6 years ago
Gennady Lipenkov 7f9ba42ee2 Add storage util funcs with test
6 years ago
Gennady Lipenkov bd1e4f9d7d yandex-export post-processor artifact id is url.
6 years ago
Gennady Lipenkov 0092007311 Forms urls and support get url for yandex-export artifact
6 years ago
Gennady Lipenkov fab42a061e Update doc and example.
6 years ago
Gennady Lipenkov f0e1b719d8 Forms urls and support get url for yandex-export artifact
6 years ago
Gennady Lipenkov 8442d570e5 Allow work with yandex-export artifact
6 years ago
zhsj e2cbe0de48
post-processor/vagrant-cloud: missing vagrant_cloud_url in test (#9572)
6 years ago
Lars Lehtonen 1400662db7
post-processor/digitalocean-import: replace deprecated oauth2.NoContext (#9566)
6 years ago
Roger Hu 28f8241a05 update generated files
6 years ago
Gennady Lipenkov d83d2b0273 Update documentation
6 years ago
GennadySpb 446d259459 Update post-processor/yandex-export/post-processor.go
6 years ago
Gennady Lipenkov b02401c41b Update doc and example.
6 years ago
Gennady Lipenkov 5762367de1 Provide 'GeneratedData' value for step 'StepCreateInstance'
6 years ago
Gennady Lipenkov 099dd3e7b3 Validate and render 'paths' config value
6 years ago
GennadySpb 919b54f4f4
yandex-export: tiny improvements (#9554)
6 years ago
Gennady Lipenkov e5a4155378 Update doc
6 years ago
Gennady Lipenkov 64cda51bff Image name not required attr
6 years ago
Gennady Lipenkov 32b77f3b80 Update doc pages
6 years ago
Gennady Lipenkov 409534738a Add error check
6 years ago
Gennady Lipenkov 553d203e68 Add yandex-import post-processor
6 years ago
Megan Marsh 673858a63c
Merge pull request #9513 from hashicorp/undocument_ssh_temp_key
6 years ago
Geoff Schultz 8010a23b34 Adding retry for ImportImage call in amazon-import post-processor.
6 years ago
Moss 8ea64c5b35 undocument ssh_keypair_name and ssh_agent_auth
6 years ago
Moss 41edd09d3c undocument temporary_key_pair_name and ssh_private_key_file
6 years ago
Sylvia Moss 99046c9178
Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)
6 years ago
mingsheng.su 8a8abdf615
update ucloud-uhost builder (#9466)
6 years ago
Megan Marsh 4f77bb0c4a add new ssh_ciphers option
6 years ago
Gennady Lipenkov 56224ae08d Instance SA auth for yandex-export post-processor
6 years ago
Megan Marsh 4178625afb re-add winrm_no_proxy option. Winrm code needs to be modified in order to read no_proxy env var when client is created rather than when net/http library is instantiated.
6 years ago
Megan Marsh a0a3ddbadb
Merge pull request #9379 from GennadySpb/sa-auth-in-yandex-export
6 years ago
GennadySpb 79770f919a
Fix error message (#9373)
6 years ago
Gennady Lipenkov 85da85271f Support SA Key authentication in Yandex Export post-processor
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Megan Marsh 4041cb7775 generated code
6 years ago
Megan Marsh 557eb015ea make artifice post-processor play nicely with vagrant post-processor, including template validation., Update docs for each.
6 years ago
Megan Marsh b982d987a7 Add Artifice postprocessor ID to valid artifacts for postprocessors that perform artifact type validation
6 years ago
Wilken Rivera aa2c069067
Update post-processor/alicloud-import/post-processor.go
6 years ago
Adrien Delorme c2d3e494b6 alicloud: better docs + autogenerated post processor docs
6 years ago
Megan Marsh 9476aa03de
Merge pull request #9105 from hashicorp/google_iap
6 years ago
Megan Marsh f67a8ab431 revert unneeded changes to driver roles
6 years ago
Megan Marsh e6073bcec7 implement iap proxy for googlecompute. ssh-only so far
6 years ago
Megan Marsh 7c13cc5744 swap out tag for tags since it's a list
6 years ago
Megan Marsh 26d05abd4f
Merge pull request #9182 from hashicorp/fix_9131
6 years ago
Megan Marsh 841c23d5f9 fix tests
6 years ago
Megan Marsh 02c1cf5b28 support pushing multiple tags
6 years ago
Wilken Rivera dc6de091e7
Merge pull request #9146 from jhawk28/bug_9141
6 years ago
Megan Marsh 6a682aca2e
Merge pull request #9124 from GennadySpb/yandex-export-post-processor
6 years ago
Megan Marsh 7e0cfd8b77 add undocumented tag to struct-markdown generator so that we can leave internal-use-only fields out of docs
6 years ago
Joshua Foster 00d0632f4a add vsphere builder's artifact to vsphere-template's supported types
6 years ago
Gennady Lipenkov 2658d58507 Fixes
6 years ago
Gennady Lipenkov d5a6781fb7 Add new 'yandex-export' post-processor
6 years ago
Adrien Delorme 73242e8de4 make sure keyvalue and namevalue filters are using the same naming as the service being used
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Adrien Delorme 2af40c762b
HCL2: pass on builder type and name (#8956)
6 years ago
Megan Marsh 0f9415297f
Merge pull request #8679 from kwibus/gcp-fallback-image
6 years ago
Adrien Delorme a9255c6ebe Update post-processor.go
6 years ago
Adrien Delorme 88297c796d Merge branch 'master' into hcl2_singular_blocks
6 years ago
Adrien Delorme b5e8750f5f Change key/value to name/value to remain consistent with Terraform
6 years ago
Adrien Delorme 87d6b2433f make generate
6 years ago
r_takaishi f50ff1d270 make generate
6 years ago
Wilken Rivera e1a46ec293
Fix gosimple S1025 linting errors (#8838)
6 years ago
Lars Lehtonen db7a40d6ea
post-processor/digitalocean-import/post-processor.go: replace deprecated session.New() with session.NewSession()
6 years ago
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
6 years ago
Adrien Delorme 7d5f0c11af add max_retries option to aws builders
6 years ago
Rens Sikma c8062cc8b3 fix #8679 with source_image_project_id as list
6 years ago
Megan Marsh c6dddb75cf
clarify artifice postprocessor wording to make it clear that it will not clean up old artifacts (#8676)
6 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
6 years ago
Sylvia Moss 0677b02e18
Share SourceImageName with provisioners and manifest post-processor (#8603)
6 years ago
Sylvia Moss 06a26e74b4
Override post-processor config when processing (#8592)
6 years ago
nywilken 5a54c99e98 post-processor/vagrant-cloud: Update error handling for VagrantCloud API responses
6 years ago
Pit d7d00d8069 Fix regression in docker-tag post-processor (#8593)
6 years ago
Hanjie Wang d9a128a375 In Vagrant post-processor, check whether the host system is able to create a dummy Vagrant box before processing (#8431)
6 years ago
Megan Marsh 49a33c04cd
Merge pull request #8511 from TJM/vsphere_template_markas
6 years ago
Tommy McNeely e469140678 workaround for mapstructure-to-hcl2 and booleans
6 years ago
Megan Marsh 21edd085c7
Merge pull request #8560 from alexyueer/feature/support_aliyun_profile_20200103
6 years ago
Tommy McNeely 7f7b54ea31 Use vm.MarkAsTemplate, optionally reregister
6 years ago
Rui Lopes ec17b3d8fa correctly handle the diskSize property as a qemu size string
6 years ago
alexyueer ec4a7b6af0 support aliyun profile
6 years ago
zhuzhih2017 66445ecd2d
Merge pull request #8425 from haoshuwei/master
6 years ago
haoshuwei 37dc411f30 add skip_image_validation arg to use an expired image as the soure image
6 years ago
Megan Marsh b23425f637 use pointer to config rather than config
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
6 years ago
Megan Marsh 39fd462b56 change all provision func signatures to use map[string]interface{}
6 years ago
Lars Lehtonen 20d375f705
post-processor/digitalocean-import: drop unused test functions
6 years ago
Lars Lehtonen d7eee558a6 post-processor/docker-import: drop unused test functions (#8465)
6 years ago
Lars Lehtonen 4fe34a5dc3 post-processor/docker-push: drop unused test helper functions (#8456)
6 years ago
Lars Lehtonen 8146b39986 post-processor/docker-save: remove unused test functions (#8447)
6 years ago
Adrien Delorme b4200c3590 go generate for the google compute export post processor after #8388
6 years ago
Taneli Leppä e1cb0c5f7e Added support for specifying Service Account in Google Compute exporter post-processor. (#8388)
6 years ago
henry-aj-jones d317d7f3d1 post-processor/docker-tag: Allow to tag an artifact with multiple tags (#8392)
6 years ago
Lars Lehtonen 2e7ba19d8c post-processor/vagrant-cloud: fix dropped test errors
6 years ago
Megan Marsh fcb65ee422
Merge pull request #8307 from hashicorp/fix_8116
6 years ago
Megan Marsh e9e4c102e5 delete amazon import post-processor intermediary snapshots
6 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
6 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
6 years ago
mingsheng.su 4f140d0071 fix docs of ucloud-uhost
6 years ago
mingsheng.su 545575b879 optimize code about ufile config
6 years ago
mingsheng.su 37e898e115 optimize code style
6 years ago