Commit Graph

674 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
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
mingsheng.su 1099777978 update bucket about no create
6 years ago
mingsheng.su 083d7896f4 update message of ucloud import
6 years ago
mingsheng.su 2c513fce64 update ucloud packer
6 years ago
mingsheng.su 61f9d3a9fe add ucloud import
6 years ago
Lars Lehtonen 5edabfc849 post-processor/compress: fix dropped errors
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Adrien Delorme 771a6e55ef pp.google.[import|export]: unexport Account field
7 years ago
Adrien Delorme af08e2a410 pp.alicloud-import: remove duplicate AlicloudImageName field
7 years ago
Andrew Starr-Bochicchio ae1bb856a3 digitalocean-import: Fix panic when 'image_regions' not set (Fixes: #7843).
7 years ago
Lars Lehtonen 21f2e67462
post-processor/vagrant-cloud: fix dropped errors
7 years ago
Megan Marsh 3c14c50aba Allow user to real oauth token from properly configured Vault instance
7 years ago
Megan Marsh 61b237b6f7
Merge pull request #8097 from onematchfox/vagrant-cloud
7 years ago
Megan Marsh 9e28b2f5cf fix post-processor
7 years ago
Brian Fox 331babc2ce allow blank access_token (no auth) for private vagrant box hosting
7 years ago
Robbert Müller 9f972375ed
Removed whitelist check for builders
7 years ago
DanHam ca9b500e76
Fix test output: Correct copy/paste errors and make message clearer
7 years ago
DanHam 7770ade74c
Clearer error message for artifice users. OCD nits and logging
7 years ago
DanHam e9ab2203ba
Should return provider correctly with artifacts from other builders or pp's
7 years ago
DanHam e8336039d9
Should return provider correctly with good box and artifice pp
7 years ago
DanHam aee400836f
Should return an error if the provider kv pair is not in the metadata file
7 years ago
DanHam a7603f63c7
Should return an error if the metadata file has badly formatted JSON
7 years ago
DanHam 57137c6e33
Should return an error if the value of the provider key is empty
7 years ago
DanHam d1327fe422
Should return an error if the metadata file is empty
7 years ago
DanHam a9e22a6bb2
Should return the provider by parsing the json in the box metadata file
7 years ago
DanHam 0bf0e7c078
Should return an error when the metadata file is not in the box tar archive
7 years ago
DanHam 063e4bd3e5
Should return an error if the box tar archive is empty
7 years ago
DanHam 9c6b355088
Should return an error if the box is a plain gzip file
7 years ago
DanHam 35d326de39
Add basic workings to function. Return an error if box file is empty
7 years ago
DanHam 6b5cf6dcb2
Should return an error when the box file is missing
7 years ago
DanHam e8c586175e
Intention: Allow use of artifice pp with vagrant-cloud pp
7 years ago
DanHam 3f4f429c3d
Should return an error when artifact file does not have .box extension
7 years ago
DanHam 57308b0126
Should return an error with an invalid BuilderId
7 years ago
DanHam 1bffdd9bff
Add option to allow box Vagrantfile to be dynamically generated during build
7 years ago
DanHam 19f3a63ee1
Tests: Should not error when template is to be created during build
7 years ago
DanHam 4b042ac402
Tests: Should not error when `vagrantfile_template` exists
7 years ago
DanHam 8ddbb791a1
Fix typo
7 years ago
Megan Marsh a87ce366b3
Merge pull request #7835 from hashicorp/google_oauth
7 years ago
Megan Marsh 0dfb3cc56f replace some bespoke google auth code with code from golang's oauth2 library
7 years ago
Marc Falzon d82c4f0057 fixup! fixup! fixup! fixup! Add Exoscale Import post-processor
7 years ago
Marc Falzon 9ce5f5dcee fixup! fixup! fixup! Add Exoscale Import post-processor
7 years ago
Marc Falzon 00c2df24df Add Exoscale Import post-processor
7 years ago
chhaj5236 6b081cc41c
update alicloud builder to use official SDK (#7477)
7 years ago
Adrien Delorme aee73d745d update code after go mod update
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Megan Marsh 9dafa310f3 remove redundant keep_input_artifact code from googlecompute-export and googlecompute-import pps. The behavior coded here was already enforced by the core postprocessor code in packer/build.go
7 years ago
Megan Marsh 1b77b05ce2 remove redundant keep_input_artifact from compress pp and clarify keep behavior in shell-local pp
7 years ago
Megan Marsh 056fcb7cea fix tests and add a few new ones
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme e65115a7a0 contextualize post-processor
7 years ago
Megan Marsh 12fc1fa751 default_keep_input_artifact
7 years ago
Megan Marsh 2c67cd966b
Merge pull request #7396 from c0sco/amazon-import-encryption
7 years ago
Megan Marsh 24c42e4a1f
Merge pull request #7397 from vhaidamaka/fix-7321
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Vadym Haidamaka 4855bc79c9 Add vagrant-cloud post-processor support for the vagrant builder
7 years ago
Matt Stofko ab4382360d Support S3 and AMI encryption
7 years ago
Megan Marsh 67fe820465
Merge pull request #7361 from hashicorp/fix_insecure_skip_tls_verify
7 years ago
Davi Vidal b0e3128125 Improves test message
7 years ago
Davi Vidal 1a94ad14bd Adds test for insecure_skip_tls_verify
7 years ago
Davi Vidal a2fd287e56 Ignores SSL verification when on premise vagrant cloud
7 years ago
Megan Marsh 3ed9fe6dee remove unused imports
7 years ago
Arnaud Dezandee f9ae926d8f
googlecompute-export: set network project id to builder
7 years ago
Megan Marsh be21850e32
Merge pull request #7060 from andrewsomething/do-post-processor
7 years ago
Andrew Starr-Bochicchio 37b3305301 Better varibable naming.
7 years ago
Andrew Starr-Bochicchio ee430d9a40 Only filter on suffix if more than one file.
7 years ago
Andrew Starr-Bochicchio 203b6ca8b4 Prefix env vars w/ 'DIGITALOCEAN_'
7 years ago
Megan Marsh 6cac03044f
Merge pull request #7248 from oceyral/oceyral/feat/add_user_data
7 years ago
Olivier Ceyral 4d10d668ee Add "custom_data" key to packer manifest
7 years ago
Megan Marsh eef4fc7a01
Merge pull request #7222 from Adezandee/gce-post-processors
7 years ago
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions
7 years ago
Megan Marsh c63b54a1e7 move http with proxy call into a helper function
7 years ago
Arnaud Dezandee 8975f67901
googlecompute-export: add exporter instance configs
7 years ago
Arnaud Dezandee 91d2cb8c83
googlecompute-import: add service accounts
7 years ago
Arnaud Dezandee 3d41cdfacb
googlecompute-import: add guest os features
7 years ago
Rickard von Essen a02bd23f56
When import task fails show the StatusMessage
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Ladar Levison 3cc83167c8 Added map structure type to config changes.
7 years ago
Ladar Levison 6ac5971288 Fixed cmd order for docker driver. Added config to post proc.
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Megan Marsh 042e9ad14b Move logging about aws waiters to the access config prepare() so that it's only spit out once per builder.
7 years ago
Andrew Starr-Bochicchio c0c5c6afac Add DigitalOcean post-processor.
7 years ago
Julio Tain Sueiras 51053efad2 Docs changes & Removed memory and quiesce options from vsphere-template
7 years ago
Julio Tain Sueiras 7f7fee3e2b Added Creation of Snapshot to vSphere Template
7 years ago
Megan Marsh 8567be43d9
Merge pull request #6927 from hashicorp/rebased_4591
7 years ago
Henk e4c2216642 qemu: Add "hvf" as a libvirt driver
7 years ago
Adrien Delorme b113518815
Use switch for readability
7 years ago
Matt Stofko 029819b5d5 Support formats other than OVA.
7 years ago
Megan Marsh 290f4a7c4c cleanup to make it actually build after that monstrous rebase
7 years ago
Adrien Delorme 7b10079507 fail if the request could not be created
8 years ago
Adrien Delorme aa2ebec8fd remove duplicate error message from
8 years ago
Adrien Delorme ff4b6d4442 pass vagrant cloud auth token as http header
8 years ago
Adrien Delorme 415b886f5b post-processor/vagrant-cloud: validate vagrant cloud auth token doing an auth request
8 years ago
dpolitis d1f5312253 fix recurring bug #3878, make destination ESXi host selectable in config, more informative error output
8 years ago
Megan Marsh f4a360bea9 remove unused argument
8 years ago
Megan Marsh 10c4aca521
Merge pull request #6534 from ChrisLundquist/clundquist/xz
8 years ago
Megan Marsh d883dfe67a
Merge pull request #6566 from hashicorp/atlas-deprecation
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Patrick Double d796edc783 Add to vagrant post-processor support for Azure
8 years ago
Matthew Hooker ddf23a2c46
Complete Atlas deprecation.
8 years ago
Chris Lundquist ce1a5b7d7a Print why we are only using one core
8 years ago
Chris Lundquist 999a53ca76 add support for xz compression #6523
8 years ago
Megan Marsh 8f1eb5a61b fix crash caused by invalid datacenter url
8 years ago
Megan Marsh 66c45273fb
Merge pull request #6494 from double16/vagrant-docker
8 years ago
Patrick Double 4f9a91012f Change docker-push to return docker-import artifact
8 years ago
Patrick Double 066b364873 Remove packer.docker from vagrant post processor builtins
8 years ago
Patrick Double a301145ae1 Allow docker build as input to vagrant, docs
8 years ago
Patrick Double 1781d352a5 Add Vagrantfile fragment with docker tag specified
8 years ago
Megan Marsh f657ca39c9 refactored env var code and tests so that I don't have to set env vars during tests to check logic
8 years ago
Megan Marsh bfbe318727 fix the homegrown waiters
8 years ago
Megan Marsh f49a2d8aed move UI call to before the wait; add context to these steps
8 years ago
Megan Marsh cf63dd10bf replace AMIStateRefreshFunc, InstanceStateRefreshFunc, our spot instance waiter, our chroot volume waiter, and our snapshot waiters with waiters form AWS's SDK.
8 years ago
Patrick Double e7fc651f60 First cut at vagrant post-processor for docker
8 years ago
Sean Malloy d8b229b59a Add feature to googlecompute-import post-processor to delete GCS files
8 years ago
Adam Robinson 8715bfbf70 set all tar timestamp fields to the zero date
8 years ago
Sean Malloy 3622a669dc Add new post processor googlecompute-import
8 years ago
Matthew Hooker 788418cff2
Add unit test to show that we handle tars safely
8 years ago
Megan Marsh 7e9a653da7 use testify instead of homegrown string compare
8 years ago
Megan Marsh 58acb7f436 fix windows test
8 years ago
Megan Marsh fabd1a6517 windows cmd env vars
8 years ago
Megan Marsh e983a94a88 fix default windows bash call for shell-local provisioner and move chmod command from the execute_command array into the portion of code where we actually generate inline scripts, sparing users the need to think about this modification which Packer should really handle on its own
8 years ago
Megan Marsh 5da4377f21 first pass at docs update
8 years ago
Megan Marsh 854d6fb141 add tests making sure post-processor has backwards compatability
8 years ago
Megan Marsh d304234725 fix tests
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago
Megan Marsh 926327beba deduplicate all validation and interpolation of the shell-local config, sharing options between shell-local provisioner and post-processor. Maintain backwards compatibility with shell-local provisioner.
8 years ago