Commit Graph

674 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
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
8 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
Megan Marsh 616b41e58f deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module
8 years ago
Matthew Hooker c6299972b9
s/boot_command/bootcommand/
8 years ago
Megan Marsh 6855216387 force QueryEscape to escape spaces as %20 instead of as + for ovftool.
8 years ago
Matthew Hooker 60986ae682
better comment about why gnu tar
8 years ago
Matthew Hooker 742e366367
conditionally set tar header on go >= 1.10
8 years ago
Stefan Scherer 832f390733
Set tar header format to tar.FormatGNU
8 years ago
Megan Marsh 2cecd73aad add clarity to error message in vsphere-template postprocessor
8 years ago
Matthew Hooker 3c37aaf4e6
update atlas deprecation language
8 years ago
Josh Soref 939e7d5587 spelling: delete
8 years ago
Josh Soref f6745897c5 spelling: compute
8 years ago
Josh Soref c312493c38 spelling: available
8 years ago
Josh Soref 5c0191828f spelling: account
8 years ago
Graham Hayes 91d60d6b81
Add LXC to vagrant post-processor
8 years ago
Matthew Hooker 975b50005b
Merge branch 'master' into local-vsphere-template
8 years ago
Edouard BONLIEU ae18995ca1
Fix builder id
8 years ago
Edouard BONLIEU 7e36cfcff1
Add Scaleway builder
8 years ago
Matthew Hooker c03ce222b2
add atlas deprecation warnings.
8 years ago
Matthew Hooker 625201c819
Merge pull request #4148 from minimum2scp/features/googlecompute-export-application-default-credential
8 years ago
SwampDragons 074ddbea8e
Merge pull request #5732 from KohlsTechnology/vagrant_google
8 years ago
Matthew Hooker 48e12b6bee
only set role name if it's set.
8 years ago
Brian Terry 380147200c Added role in amazon-import
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Sean Malloy e8bac9f4c8 Add unit tests for new vagrant Google post-processor
8 years ago
Sean Malloy e47bd65986 Add vagrant post-processor support for Google
8 years ago
Matthew Hooker f3dea272d9
Set session in state bag
8 years ago
Matthew Hooker f6c401a143
don't pass in accessconfig
8 years ago
Rong Chen 3e92b1374e issue5606: follow the convention to use AccessConfig to create new aws session for step_create_tags etc.
8 years ago
Krzysztof Wilczynski 05327b7524
amazon: Remove Session Token (STS) from being shown in the log.
8 years ago
Megan Marsh 487ceac784 fix Vet error.
8 years ago
bugbuilder b754b71519 return vsphere artifact to can build template
8 years ago
bugbuilder da54bf8e73 using only remoteFolder as parameter
8 years ago
Matthew Hooker f146e5903f
Merge pull request #5567 from bennu/vm-template-with-export-vm
8 years ago
bugbuilder 23f4d187e2 validating keep_registered and fixing skip_export issues
8 years ago
Matthew Hooker 0172a5c82b
Merge pull request #5511 from hashicorp/fix5507
8 years ago
bugbuilder 5ccba2caaa using virtual disk device to create datastorePath
8 years ago
Matthew Hooker 52558e4f75
check for nil body from upload response
8 years ago
Joe Ferguson 5c2f758053 🎨 Fix typo in "copyed" -> "copied" usages.
9 years ago
Matthew Hooker 1901c0385f
remove login_email from docker
9 years ago
Matthew Hooker abcc02dc64
filter password from logs
9 years ago
Matthew Hooker 0cf0a4336d
relay ovftool output.
9 years ago
Megan Marsh a7d25cd4c1 remove deprecation warning since we've been talked out of removing shell-local postprocessor
9 years ago
Matthew Hooker 4d3a762e85 Merge pull request #5207 from sandersaares/hyperv-vagrant-hardlink
9 years ago
bugbuilder 50904064e1 doesn't keep the original artifact
9 years ago
bugbuilder 75a4ca7351 adding artifact testing and using builder id
9 years ago
bugbuilder f1773a57f8 using vmx extension as default
9 years ago
bugbuilder 99dd19ccfd Adding correct reference to VM remote path
9 years ago
bugbuilder 24a8fddf03 showing artifact info in packer UI
9 years ago
bugbuilder 644ac5b367 enable vsphere-template to work with local builders
9 years ago
Megan Marsh fa177c52c2 put deprecation warning at end so it isnt lost in scrollback
9 years ago
Megan Marsh 4b7fd33f99 add deprecation warning to shell local provisioner
9 years ago
Sander Saares fb4db02586 Copy/link permissions 0777 -> 0755
9 years ago
Sander Saares 0ebf1d0da9 Link VHD instead of copy where allowed by OS
9 years ago
bugbuilder 6590dfaf82 using runner with pause func
9 years ago
bugbuilder abc21406cb Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl
9 years ago
Vijaya Bhaskar Reddy Kondreddi e45223a867 Fix -on-error issue not working.
9 years ago
bugbuilder f09a9c4653 using artifact ID
9 years ago
bugbuilder 138f54d9d3 Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl
9 years ago
bugbuilder fc4bee4598 VMware typo
9 years ago
bugbuilder 81272d1427 Updated mark as template to be able to use --force
9 years ago
Matthew Hooker 943e8e648a
properly handle decode error
9 years ago
Luke Farnell d9a5b69403 clean up ineffectual assignments
9 years ago
Justin Campbell 24c4029bb1 Remove date from atlas post-processor warning
9 years ago
bugbuilder 5e1d241db4 Close govmomi session
9 years ago
bugbuilder 786d3c0a9d updated documentation, vm_name mandatory and cleaning code
9 years ago
bugbuilder 08c6139da4 Create folder using the invotory path
9 years ago
bugbuilder fb52c42b3d Only add the folder when the error is NotFoundError
9 years ago
bugbuilder 7274bbb63d commends, documentation and var names updates
9 years ago
bugbuilder fa10616f57 Changes requested applied
9 years ago
bugbuilder 3cc9f204ac Moving vsphere-tpl to vsphere-template, fixed root folder creation and updated docs
9 years ago
bugbuilder b88fb8bdb2 Improved creation folder step and fixed documentation
9 years ago
bugbuilder 2830b4f3b0 fix test
9 years ago
bugbuilder 35d681444c format
9 years ago
bugbuilder fec0b934b5 Adding a simple test
9 years ago
bugbuilder 26dd7ec31b keep_registered option is not required
9 years ago
bugbuilder 35b29847dc Cleaning code and adding insecure option to vSphere connection
9 years ago
Rickard von Essen 337e7d88e6
post-processor/checksum: properly interpolate output
9 years ago
bugbuilder c8747f138f Adding template feature
9 years ago
bugbuilder dc2124aa2a Initial vSphere-tpl post-processor
9 years ago
Megan Marsh b8b34646bd disallow vagrant.box artifacts in atlas postprocessor
9 years ago
Matthew Hooker 8dae6b60c1 Merge pull request #4996 from hashicorp/mwhooker/4613
9 years ago
Matthew Hooker 4b4c2e4a59 Merge pull request #5008 from hashicorp/pp-vc-u1
9 years ago
Matthew Hooker 94d7a4ce8d
post-processor/vagrant-cloud: try upload once
9 years ago
Matthew Hooker 519256feb0
add content-length to file upload
9 years ago
Matthew Hooker a1747c21f7
vagrant-cloud: use less memory when uploading
9 years ago
Matthew Hooker 56c513088b
I think this was the intention
9 years ago
Matthew Hooker dde40d54c6
atlas cloud token warn
9 years ago
Matthew Hooker 8933690e90 Merge pull request #4950 from hashicorp/warn_atlas_users
9 years ago
Megan Marsh dbd7aa6b95 capitalize all the things
9 years ago
Megan Marsh 1c1db91715 add instructions
9 years ago
Andrew Garrett fbacf883b4 Fix vet issues with alicloud
9 years ago
Matthew Hooker a52cd65af8
remove license type from general debugging
9 years ago
Matthew Hooker 687f648506 Merge pull request #4634 from dayglojesus/add_amazon_import_license_type
9 years ago
Matthew Hooker b1bcf62ae1 Merge pull request #4619 from zhuzhih2017/master
9 years ago
Matthew Hooker 88901ffe96
rename alicloud pp
9 years ago
Matthew Hooker 8db397765c
spelling and formatting
9 years ago
Megan Marsh b31f8bb0f6 clean up formatting and add warning to packer push.
9 years ago
Megan Marsh 690d54aaf9 add warning about vagrant.box vms being uploaded to atlas
9 years ago
zhuzhih2017 b2aa40655b fix long line format
9 years ago
Brian Warsing 8cc4558df9 fix bad conditional logic and assignment
9 years ago
Brian Warsing 47df47c73f conform ImportImage LicenseType behaviour
9 years ago
Brian Warsing c5dfe3d503 amazon-import post-processor: support license_type
9 years ago
Matthew Hooker e8cada8bf7
document and remove artifactID
9 years ago
Matthew Hooker 0b4cd4d394
use the old switch
9 years ago
Matthew Hooker fbd621d227
fail prepare if hash not found
9 years ago
Matthew Hooker 6722a6ba0c
post-processor/checksum: fix output template
9 years ago
zhuzhih2017 d646e1d035 refactor the code according hashicorp rename the repository
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 6f27f67346
more fixes from errcheck
9 years ago
Matthew Hooker bf64d7bdc2
automagic simplification
9 years ago
Matthew Hooker d1b20b3d9c
remove a bunch of dead code.
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
zhuzhih2017 0400ebae95 Fix the code according PR review
9 years ago
Matthew Hooker 99091a1713 Merge pull request #4539 from mitchellh/ovftoolhidepassword
9 years ago
Matthew Hooker 572493e9b4 Merge pull request #4216 from dave2/gh-3981
9 years ago
Matthew Hooker 192d550cd7
filter password in ovtool
9 years ago
DanHam e350739ecb
post-processor/shell-local: expand tests to align with shell provisioner
9 years ago
DanHam 9e480eea49
post-processor/shell-local: Align flattened env vars gen with provisioners
9 years ago
DanHam 5a350f5699
post-processor/shell-local: Fix output of debug info to stdout
9 years ago
Volodymyr Babchynskyy d57517d4a4 fix vagrant box structure
9 years ago
Matthew Hooker b49be38d74 Merge pull request #4210 from yoctocloud/fixes
9 years ago
Vasiliy Tolstov 332a208fee
post-processor/shell-local: run only once for each builder
9 years ago
Vasiliy Tolstov 00ebe9e1d3 various fixes
9 years ago
Zanetti, David c22b97dd43 Support setting AMI attributes when using amazon-import post-processor
9 years ago
Matthew Hooker a6e6b0dfd7 Merge pull request #4192 from mitchellh/manifestoutput
9 years ago
Matthew Hooker 622813053e Merge pull request #4144 from mitchellh/filenamespaces
9 years ago
Matthew Hooker a05817ee26
fix docs, remove escaping
9 years ago
Vasiliy Tolstov b29d0b4378 post-processor/manifest: fixes interpolation of output
9 years ago
YAMADA Tsuyoshi 5dc6b18365 googlecompute-export: use application default credential as same as googlecompute builder
9 years ago
YAMADA Tsuyoshi 61e2ea308e googlecompute-export: Fixed scopes to run gcloud, gsutil in startup script
9 years ago
Matthew Hooker a253cda0aa
should fix #3571
9 years ago
lxb 12ef9bf8af
Fixed inconsistency between vagrant-libvirt driver and packer QEMU accelerator
10 years ago
Scott Crunkleton 85210afe92 googlecompute: conditionally omit the wait for startup script step if no startup script is provided.
10 years ago
Matthew Hooker 48bdae93d1 aws-sdk: use session.NewSession
10 years ago
Rickard von Essen 3c8dabba9e Fixed formatting
10 years ago
Michael Travis 2f1783dda2 Added vsphere-esx hosts to supported machine types in vagrant post processor
10 years ago
Rickard von Essen 7fec12a183 Merge pull request #3941 from imduffy15/master
10 years ago
Matthew Hooker a8e57d83d2 gofmt project.
10 years ago
Ian Duffy 641ae2d837
Allow naming of vm imported AMIs
10 years ago
Rickard von Essen c5e9944969 Merge pull request #3790 from yoctocloud/manifest
10 years ago
Vasiliy Tolstov fe76081e0a post-processor/manifest: allow to strip path components from artifact path
10 years ago
Rickard von Essen b2d9782a9e
Improved support for Amazon EC2 Container Registry - ECR
10 years ago
Scott Crunkleton 1b9b37bdc1 Added some error handling and logs for the GCE export startup script.
10 years ago
crunk1 55b5a45ae4 Created googlecompute-export post-processor. Modified the googlecompute builder to pass a few configuration values to its resulting artifact. These values can then be used in googlecompute-export post-processor.
10 years ago
Vasiliy Tolstov 4868f5872e post-processor/manifest: add artifact file size to manifest
10 years ago
Chris Bednarski 644b11805d Fix go vet casing issue
10 years ago
Chris Bednarski f9cea9edd1 Merge pull request #3651 from mitchellh/f-manifest-post-processor
10 years ago
Abhijeet Kasurde ba0f202258 Removed redundant print message from post-processor/vsphere
10 years ago
Vasiliy Tolstov 520fac2eba post-processor/checksum: create dir for output file
10 years ago
Chris Bednarski 19057028cf Fix build failure when there is no packer-manifest.json file
10 years ago
Chris Bednarski 9aab66b971 Change sleep so it doesn't wait after the final attempt
10 years ago
T. Tran 4f1d821c35 Make docker-push only pushes the specified tag but not all
10 years ago
Chris Bednarski 7a9c3bc2a0 Added -force truncation behavior for manifest, and added docs
10 years ago
Chris Bednarski 78070f8ca9 Removed input_type and description since these are not particularly useful
10 years ago
Chris Bednarski 3c6ca7cbde Added builder_type and build_name, renamed some other fields
10 years ago
Chris Bednarski 8c875ebda4 Changed overloaded artifact variable name to source
10 years ago
Chris Bednarski db593a517d Added manifest post-processor, which creates a manifest of build artifacts
10 years ago
Robert Deusser 9219ffa982 Resolves vsphere post-processor problems (#3321)
10 years ago
Vasiliy Tolstov d64603e137 initial import of checksum post-processor (#3492)
10 years ago
Vasiliy Tolstov b67ee530c8 post-processor/shell-local: don't set executable bit for artifact files (#3505)
10 years ago
Vasiliy Tolstov 6a5f6938ef post-processor/compress: add bgzf format support
10 years ago
Jake Champlin 2bcd276528 Fix spelling error in atlas post processor (#3499)
10 years ago
Chris Bednarski 0f319fde08 Add debug logging for the credentials used for S3 in amazon-import
10 years ago
Vasiliy Tolstov feee19e4ed file provisioner improvements
10 years ago
Chris Bednarski 4458de4ea0 Reformat
10 years ago
Chris Bednarski 765ec5cf39 Merge pull request #2962 from dave2/postprocess_amazon_ova
10 years ago
Chris Bednarski 2d749d8c55 Merge pull request #3139 from vtolstov/shell_local
10 years ago
Chris Bednarski dab36cbdee Merge pull request #2304 from eloycoto/master
10 years ago
Ian Duffy 5b4e0fe25b Loop through all files in the given artifact and return the given artifact on finish
10 years ago
Ian Duffy 34b59bc051 Create a shell-local post processor
10 years ago
Jose Cardoso 096b42abce Added support for spaces in vSphere resource pools
10 years ago
Chris S 195405ca5b Update post-processor.go
10 years ago
David Zanetti a3911ad47c Use interpolation on default s3_key_name. Report import errors from AWS.
10 years ago
David Zanetti 873dc89478 Accept any OVA. Fix names for tasks/import/copy. Update docs.
10 years ago
David Zanetti 274630bd9c Support adding tags to AMI and snapshots created by amazon-import
10 years ago
David Zanetti 95b3ea50ae Add more useful messages and clean up after ourselves
10 years ago
David Zanetti 418da16991 Track the import task and report AMIs created from it
10 years ago
David Zanetti 439d1b1788 First cut at amazon ova importer
10 years ago
Vasiliy Tolstov 82893590db docker-import: allow artifice artifacts
11 years ago
Eloy Coto 63d21ec9f3 Vsphere post-processor: Fix merge problems
11 years ago
Eloy Coto 0bc042a15c Post-Processor/Vsphere: Added custom options
11 years ago
Eloy Coto 34f163ce87 Post-Processor/Vsphere: Added overwrite option
11 years ago
Chris Bednarski 803cbde17e Change output format to bytes
11 years ago
Chris Bednarski 8d19ac2dd3 Merge pull request #2863 from grubernaut/issue_1059
11 years ago
Jake Champlin 1c1ccc1191 Use Units of measure in file size
11 years ago
Mark Peek 5bfa6ce2b8 post-processor/vagrant: add artifact id tests for AWS and DO
11 years ago
Jake Champlin 0b6d303e65 Fixes Issue #1059
11 years ago
Yuya Kusakabe 699c673536 builder/vmware-esxi: Add step_export
11 years ago
Mark Peek c48548b3bb go fmt
11 years ago
Jack Pearkes 6bf790a975 post-processor/atlas: support sending compile ids
11 years ago
Vasiliy Tolstov 97f3f31d3d Merge branch 'master' into artifice
11 years ago
Vasiliy Tolstov f0fdf865a1 allow wildcards in artifice files
11 years ago
Chris Bednarski 9ee07f1e8d Add parallel gzip compression to the vagrant post-processor
11 years ago
Chris Bednarski 6dd0a21c89 Added an artifice post-processor which allows you to override artifacts in a post-processor chain
11 years ago
Chris Bednarski fbb24d4acf Changed interpolation logic so .BuildName can be used in the output config option
11 years ago
Chris Bednarski 4ef3baa3ee Update test to include some interpolation configs
11 years ago
Chris Bednarski 8d6719e71f Add failing test for compress interpolation
11 years ago
Sam Dunne ee1b6a72ea Fixes #2478
11 years ago