Commit Graph

674 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
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
7 years ago
Adrien Delorme aa2ebec8fd remove duplicate error message from
7 years ago
Adrien Delorme ff4b6d4442 pass vagrant cloud auth token as http header
7 years ago
Adrien Delorme 415b886f5b post-processor/vagrant-cloud: validate vagrant cloud auth token doing an auth request
7 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.
8 years ago
Matthew Hooker 1901c0385f
remove login_email from docker
8 years ago
Matthew Hooker abcc02dc64
filter password from logs
8 years ago
Matthew Hooker 0cf0a4336d
relay ovftool output.
8 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