Commit Graph

4736 Commits (14baa769ab2b51daa4e20b308bf013c041d32c92)

Author SHA1 Message Date
Miles Crabill 328baced05
add some test cases for image names
7 years ago
Miles Crabill c11a444f77
googlecompute: fail fast when image name is invalid, replace unusable characters w/ -'s
7 years ago
Lars Lehtonen 6c1ce2bd9a builder/openstack: Fix dropped error
7 years ago
Adrien Delorme 4d4bd38afa
Merge pull request #8087 from hashicorp/fix_8048
7 years ago
William Bianchini d022c2194a [cloudstack builder] Detach iso step
7 years ago
Megan Marsh a6e263adb6 don't fall for nil pointer dereference in account file
7 years ago
Megan Marsh fc6a4fd5d8
Merge pull request #8021 from hashicorp/fix_7959
7 years ago
Megan Marsh 9503802814 adding ctx makes the cancel channel redundant
7 years ago
Megan Marsh 4b497006b3 add retry wrapper to query so it handles rate limiting
7 years ago
allinwait 171c2a9a07 add the floppy label option
7 years ago
Adrien Delorme 2e58b807de
Merge pull request #8096 from onematchfox/virtualbox-snapshot
7 years ago
Adrien Delorme 1d0cf1db98
Merge pull request #8092 from milescrabill/fix-vagrant-builder-stepup
7 years ago
Brian Fox 5b6dcb0c94 fix(virtualbox) LoadSnapshots should succeed even if VM has no snapshots
7 years ago
lonegunman 0de807cce0 make ucloud builder's base url configurable
7 years ago
Miles Crabill e6d2a97e12
s/destory/destroy
7 years ago
Miles Crabill 7850bf8bc5
use GlobalID where provided, add test for `vagrant up` args generation
7 years ago
Gennady Lipenkov 524b822e11 Support GPU instances, allow set source image by name
7 years ago
Adrien Delorme 597a3e323b Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme 350aa54274 Update step_shutdown_test.go
7 years ago
Adrien Delorme 146b88ba1e Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme de9bb26f62
Merge branch 'master' into fix_7959
7 years ago
Adrien Delorme e730e9f3ce
Merge pull request #8051 from DanHam/aws-vol-tags
7 years ago
Calle Pettersson b467bb22a3 Shorten default boot_key_interval to 5ms from 100ms
7 years ago
Adrien Delorme dad3ae1535
Merge pull request #8084 from carlpett/check-disk-format-set
7 years ago
Adrien Delorme 78bfda582f
Merge pull request #8083 from carlpett/bump-proxmox-api-dep
7 years ago
Calle Pettersson 10ad38fcbd Check that disk format is set when pool type requires it
7 years ago
Calle Pettersson df41b56d9a Change MonitorCmd/sendkeys to Sendkey
7 years ago
Calle Pettersson 8c2c1a82cb Bump proxmox-api-go dependency
7 years ago
Adrien Delorme a5b899770e
Merge pull request #8077 from marinsalinas/master
7 years ago
Marin Salinas 640612da92 refactor: get ssh hot from nics instead of root of the vm
7 years ago
Marin Salinas 793b3f1990 chore: remove unused code in omi config
7 years ago
Marin Salinas 7d024b9725 change ui message to private ip in run source vm
7 years ago
Calle Pettersson 0813c5bdb4 Check for StateCancelled
7 years ago
Adrien Delorme c4c88d3768 debug template id
7 years ago
Adrien Delorme d113dd12c1 fix panic in proxmox builder
7 years ago
Adrien Delorme ba9ffcbf73 re-indent HWConfig struct comments
7 years ago
DanHam bbeb1a3528
Delete any `run_volume_tags` applied to EBS volumes at instance creation
7 years ago
DanHam 61b1605a85
More accurate error description; Add comments; Add output
7 years ago
DanHam 430d41fbf9
Add option to enable tagging of the running instances volumes
7 years ago
DanHam 30070ffb30
Sort fields and options alphabetically
7 years ago
Adrien Delorme a841da960d Merge branch 'master' of ssh://github.com/hashicorp/packer into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme c475eb57ef
Merge pull request #8047 from hashicorp/avoid_panic_when_token_in_azure_builder
7 years ago
Adrien Delorme 7d9798f5ee update AlicloudAccessConfig docs for SECURITY_TOKEN
7 years ago
Adrien Delorme 9f8e9893b3 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Lars Lehtonen b6eadb419a builder/qemu: Fix dropped error
7 years ago
Adrien Delorme 86cee5cbef
Merge pull request #8034 from cove/retry-describe-instances
7 years ago
Adrien Delorme f11341c0b4 azure builder: avoid a panic in getObjectIdFromToken
7 years ago
cove 87e0a3b5e7 add prevalidating AMI name retries so the build doesn't fail when throttled
7 years ago
Adrien Delorme 9d0bc476d9 add ommited struct interpolation
7 years ago
Adrien Delorme b3cdf2ac8f remove docs typo
7 years ago
Adrien Delorme 94bb33db57 fix triple backtick indentation
7 years ago
Adrien Delorme d135106171 fix more docs
7 years ago
Adrien Delorme f66ca58a46 Update azure docs for config.go
7 years ago
Adrien Delorme 783b02bd15 Update config.go
7 years ago
Adrien Delorme 239f97471c fix ebs volume tags doc field
7 years ago
Adrien Delorme 5517d41468 make sure all documentation fields are there
7 years ago
Adrien Delorme 2db109d55b Merge branch 'master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme 2efc94521b use trilean initializers in test where missing
7 years ago
Megan Marsh 6a895db9be converte block device encryption to trilean
7 years ago
Megan Marsh 1d9bba6fe3 change AMIEncryptBootVolume to trilean
7 years ago
Megan Marsh f7c8321a7e convert alicloud s.IOOptimized into trilean in code
7 years ago
Megan Marsh ecaec1ac58 swap out alicloud encryption *bools for trileans
7 years ago
Megan Marsh 1a6adadb89 convert EnableAMIENASupport to trilean in code
7 years ago
Megan Marsh 3c3f7f26ce implement custom data type "trilean" (tri-state-boolean) to track booleans which have a "null" or "unset" state. Previously we used *bool for these template options, but it turns out that those won't work because "unset" will evaluate to "false" if a user is using template variables to set the option that maps to a *bool.
7 years ago
Megan Marsh 04d9888657
Merge pull request #8016 from psinghal20/issue-8009
7 years ago
Pratyush Singhal dbb50337bc
fix: out of scope blockStorageClient nil value issue
7 years ago
Megan Marsh fcef7e2d85 this timeout regularly flakes on Travis, I suspect because the instances running the tests are brutally underpowered. Increase the fudge factor.
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
psinghal20 bbd71136dc
fix: move adding metadata step after waiting for uploading step
7 years ago
Megan Marsh 17d9a85895
Merge pull request #7945 from ahilsend/hcloud-image-filter
7 years ago
Megan Marsh b6fdccc2af
Merge pull request #7970 from williamb1024/master
7 years ago
Megan Marsh 4aa33306cb make sure that fleetId exists before trying to stick it into error message
7 years ago
Megan Marsh 8dbd078738
Merge pull request #8011 from tmeckel/vbox-vm-target-snapshot-optional
7 years ago
Megan Marsh dd97435d42
Merge pull request #7957 from milescrabill/fix-vagrant-builder-basebox-sourcebox
7 years ago
Thomas Meckel 01edafb49f Cleaned up golint warnings
7 years ago
Thomas Meckel 92501cd344 target_snapshot is not optional as described in the documentation
7 years ago
William L. Brooks be4ca4b666 Move hyper-v host ip determination earlier in steps, connect to Hyper-V vm prior to issuing the start operation.
7 years ago
Megan Marsh 06bef2844b
Merge pull request #7996 from hashicorp/fix_7925
7 years ago
Brian Fox 47c027e5c8 Remove check/requirement for target_snapshot
7 years ago
Megan Marsh 316a30b31d fix spot_tags
7 years ago
Megan Marsh 02399f32f6 dont bother with a targetpath for the vbox additions; use a hash like everything else
7 years ago
Megan Marsh 94d8da60f0
Merge pull request #7940 from jgeorgeson/openstack-winrmpassword-provisioners
7 years ago
Megan Marsh 9f6d14c75a work around spot_tags related regression and bad fleet cleanup in spot instances
7 years ago
Andre Hilsendeger cb1e30ef69 feat(builder/hcloud): allow selecting image based on filters
7 years ago
Megan Marsh 0eebebaedb
Merge pull request #7939 from hashicorp/fix_7938
7 years ago
xiaohan.liang f4fc9dd09a Rewrite all files, remove sensitive information
7 years ago
Miles Crabill ff157c8a6d
vagrant builder: define source box and output box in Vagrantfile
7 years ago
Justin Georgeson c0ee859559 OpenStack builder store WinRM password for provisioners to use
7 years ago
Megan Marsh c0e37e6045
Merge pull request #7780 from tmeckel/own-vbox-snapshot
7 years ago
Megan Marsh 1952130030
Merge pull request #7920 from hashicorp/fix_7865
7 years ago
Megan Marsh 773e76c1ce remove unused import
7 years ago
Megan Marsh b6f3742425 check container os, not host os, when creating container dir default
7 years ago
Megan Marsh 6a201211a9 fix polling issues in azure
7 years ago
Mason, Elliot ee484f2dd9 Updated public gcp cloud images
7 years ago
Megan Marsh f97df6721e
Merge pull request #7927 from hashicorp/fix_googlecompute_crash_7921
7 years ago
Megan Marsh 7c93a5c51e code changed recently so that sometimes the conf is nil.
7 years ago
Megan Marsh b42701380c add test for nil case
7 years ago
DanHam 088151e51d
Type assertion safety - fix panic when key cannot be retrieved from statebag
7 years ago
Thomas Meckel 822b72bd14 Added force_delete_snapshot configuration item and the corresponding checks
7 years ago
Thomas Meckel e7583de847 StepCreateSnapshot.Run() will stop and create an error if the virtual machine is still running
7 years ago
Thomas Meckel d9b8623f64 StepShutdown now always waits for the shutdown of the virtual machine to complete, not only if a shutdown command is specified
7 years ago
Thomas Meckel b873876670 Added test TestSnapshot_EnsureParents
7 years ago
Thomas Meckel 6fd0b3e83e Fixed a bug in ParseSnapshotData
7 years ago
Thomas Meckel 225a140055 Applied correct source format (got fmt) to builder\virtualbox\common\driver_mock.go
7 years ago
Thomas Meckel 51e5ae69db Corrected method signatures in builder\virtualbox\common\driver_mock.go
7 years ago
Thomas Meckel ab6a163ff2 Added missing newline at end of builder\virtualbox\common\driver_mock.go
7 years ago
Thomas Meckel e9b5332e99 Added missing functions to builder\virtualbox\common\driver_mock.go
7 years ago
Thomas Meckel fd5a2db58f Removed commented (obsolete) code from builder\virtualbox\common\driver_4_2.go
7 years ago
Thomas Meckel 7d3c84e5f9 Changed VirtualBox VM builder according to current builder interface
7 years ago
Thomas Meckel 2ef911f6f0 Fixed bugs in snapshot and builder code
7 years ago
Thomas Meckel ebd2780e5d implemented first unit tests for snapshot.go
7 years ago
Thomas Meckel f1f7c4e10c * added function ParseSnapshotData to parse a string representation of a VBox snapshot tree
7 years ago
Thomas Meckel 45e2095ae3 Moved parsing of tree string representation to new function in snapshot.go
7 years ago
Thomas Meckel 092e32fe9e First version of reworked snapshot implementation
7 years ago
Thomas Meckel a6074894f1 Defined struct and first function for enhanced snapshot handling
7 years ago
Thomas Meckel d3202497ae First working version of virtualbox/vm builder
7 years ago
Thomas Meckel 2a531f8ad6 Merged changes from local branch
7 years ago
mingsheng.su 66f142adf1 update docs
7 years ago
mingsheng.su 59c8911cd5 update api about stop instance
7 years ago
Megan Marsh d21f4eb888
Merge pull request #7908 from muesli/typo-fixes
7 years ago
Megan Marsh 3d22535742
Merge pull request #7884 from jprorama/fix-7171
7 years ago
Megan Marsh 166f1de5fd
Merge pull request #7887 from xunleii/f-scaleway-autoremove-volume
7 years ago
Christian Muehlhaeuser 216afbaa8b
Fixed various typos
7 years ago
Megan Marsh 140785f088 make sure we create the temp dir explicitly when we are setting up the config dir in docker. Otherwise, we create it with root later on and it causes permissions failures.
7 years ago
Alexandre NICOLAIE 6835a12cb3
fix: fix typo in comment
7 years ago
Megan Marsh 54a7b4f377 update comments and docs
7 years ago
y-kuno 6305c555df Add openstack image min_disk option
7 years ago
Alexandre NICOLAIE b010442e07 fix: delete volume only after snapshot step
7 years ago
Alexandre NICOLAIE 39b8c0ecca feat: add 'remove volume' step to scaleway
7 years ago
Megan Marsh 975ee377b2
Merge pull request #7792 from psinghal20/issue-7721
7 years ago
Marin Salinas e634caee0a remove chroot acc test
7 years ago
Megan Marsh e10b9fb708 fix ssh interface conflict
7 years ago
Marin Salinas 1424f1b564 fix: remove AWS references and unnecessary code
7 years ago
Marin Salinas 73cd148e80 refactor: change ebs_volume to bsu_volumeattribute in bsuvolume builder
7 years ago
Marin Salinas 7e23f14d4e fix: chroot builder
7 years ago
Marin Salinas 1b7c56f73d fix: change bad artifact validation in bsu builder
7 years ago
Marin Salinas 03f8b2ceb5 fix: change GlobalPermission to false in order to prevent public image creation
7 years ago
Marin Salinas dc0db4b322 fix: change osc builder to be passed a context for cancellation and remove conflicts
7 years ago
Marin Salinas 2337703be6 fix: add missing secret key in http client configuration
7 years ago
Marin Salinas ed2d2b9058 refactor: clean duplicate files with aws chroot builder
7 years ago
Marin Salinas 488535118d refactor: change validation when bsu is set
7 years ago
Marin Salinas 6820806436 refactor: add err check in create tags
7 years ago
Marin Salinas 17ee7b8163 fix: add missing secret key in http client configuration
7 years ago
Marin Salinas f28c3877e3 refactor: remove unused attributes
7 years ago
Marin Salinas 590bef0969 chore: fix bad comments
7 years ago
Marin Salinas 04534d87ac chore: change templateCleanOMIName to templateCleanResourceName function
7 years ago
Marin Salinas 1811b3af52 chore: remove unused buildBlockDevice function
7 years ago
Marin Salinas 4b52816935 fix: go modules conflicts
7 years ago
Marin Salinas 35c7c6163c refactor: remove unnecessary fields and add default values
7 years ago
Marin Salinas 810e30e8e1 refactor: fix symlink issue on ubuntu
7 years ago
Marin Salinas 27528aeb68 test: fix test error in block_device
7 years ago
Marin Salinas 80dadaf3f1 feature: add bsuvolume builder and acceptance test
7 years ago
Marin Salinas c9b8bc6b54 fix: typo in bsusurrogate acc test
7 years ago
Marin Salinas 8b8eb70e19 feature: add create tags to volume
7 years ago
Marin Salinas db2832d80c fix: change name of dirs
7 years ago
Marin Salinas 683431afa2 fix acceptance test configuration
7 years ago
Marin Salinas 571ef828e6 fix: remove pointer when vm is getting
7 years ago
Marin Salinas cf1fdfef00 fix: add missing keys when artifact is destroying
7 years ago
Marin Salinas 8a6faf1ad3 feature: add create tags for vm and volume
7 years ago
Marin Salinas ff0336965b feature: add create tags function
7 years ago
Marin Salinas 987b4148e1 fix: remove pointer when gets vm from the state
7 years ago
Marin Salinas 9d6c4a8e5b feature: add remaining steps and and create artifact in chroot builder
7 years ago
Marin Salinas 70d2ff3d8a feature: add create omi step in chroot builder
7 years ago
Marin Salinas 6843b64331 feature: add eartly cleanup and snapshot steps in chroot builder
7 years ago
Marin Salinas 352972a33d feature: add chroot provision step in chroot builder
7 years ago
Marin Salinas 31367ff768 feature: add copy files step in chroot builder
7 years ago
Marin Salinas 07b1580003 feature: add mount extra step in chroot builder
7 years ago
Marin Salinas b3d165e864 feature: add post mount commands step in chroot builder
7 years ago
Marin Salinas 6e6bdc4f42 feature: add mount device step in chroot builder
7 years ago
Marin Salinas 00ab0097de feature: add pre mount commands step for chroot builder
7 years ago
Marin Salinas 0f51ab5c08 feature: add early unflock step for chroot builder
7 years ago
Marin Salinas b3310f65a6 feature: add link volume step for chroot builder
7 years ago
Marin Salinas f1e5dafc71 fix: convert volume size to Gib before volume creation
7 years ago
Marin Salinas b246bf7329 wip: add create_volume step in chroot builder
7 years ago
Marin Salinas b7f8c6ad9d feature: add prepare device for chroot builder
7 years ago
Marin Salinas bf2d66c4e6 feature: add file lock step for chroot builder
7 years ago
Marin Salinas 66cf27fe31 feature: add step check root device step in chrrot builder
7 years ago
Marin Salinas bc907f0fd0 feature: add vm info step
7 years ago
Marin Salinas a3b0c28bb6 test: add acceptance basic test for outscale chroot builder
7 years ago
Marin Salinas e8ef12e41c test: fix unit test in block device security group and build info
7 years ago
Marin Salinas 2f87427fd4 feature: add chroot build prepare function implementation
7 years ago
Marin Salinas 0d5ce8b9b9 feature: add chroot build cancel function implementation
7 years ago
Marin Salinas 30d5b1f7c2 feature: add chroot builder configuration
7 years ago
Marin Salinas 0c47ee55e6 feature: add chroot builder structure
7 years ago
Marin Salinas 6e6e518095 fix: change image id on bsu acceptance test
7 years ago
Marin Salinas 52621a3dd2 chore: remove unencrypted work in log when image is creating
7 years ago
Marin Salinas a4966d9823 add ExpectedRunDevice constant
7 years ago
Marin Salinas c4e69d3169 wip: add bsu plugin acc testing
7 years ago
Marin Salinas 4779b028f1 feature: bsu, run implementation add artifact
7 years ago
Marin Salinas 972dcc2b25 feature: bsu, run implementation add steps after createOMI step
7 years ago
Marin Salinas 83c9a3d4c8 feature: bsu, run implementation add createOMI step
7 years ago
Marin Salinas 4847e79b8d feature: bsu, run implementation add steps before createOMI step
7 years ago
Marin Salinas 1c8e9a7dd8 feature: bsu, run implementation add step prevalidate
7 years ago
Marin Salinas 4c04df26fd feature: bsu, cancel function implementation
7 years ago
Marin Salinas 85d601dd81 feature: bsu, prepare function and test
7 years ago
Marin Salinas 91bdf5c212 feature: bsu, builder structure and test
7 years ago
Marin Salinas d2d794f6dc fix: undefined variable correction
7 years ago
Marin Salinas 996ee89397 change amis to omis in artifact
7 years ago
Marin Salinas ae444a3250 fix: change the debugKeyPath name in osc bsusurrogate builder
7 years ago
Marin Salinas 1c69d55a1f feature: bsusurrogate, run implementation add artifact
7 years ago