Commit Graph

145 Commits (b7a41af93cb162355c4bb44094de2a68b6cc09af)

Author SHA1 Message Date
Mitchell Hashimoto 0558d56bcf builder/amazon/chroot: get tests psasing on Windows
12 years ago
Mitchell Hashimoto 4a2793445f builder/amazon/chroot: mount in device-specific places
12 years ago
Mitchell Hashimoto 1234e61cda builder/amazon/all: get rid of unnecessary field
12 years ago
Mitchell Hashimoto 2110edb690 builder/amazon/chroot: remove unused import
12 years ago
Mitchell Hashimoto 2dad0cdca7 builder/amazon/chroot: block when obtaining lock [GH-689]
12 years ago
Mitchell Hashimoto 5d420ce1c1 Revert "Merge pull request #663 from ktruong7/public-AMI"
12 years ago
ktruong7 3589b0ba27 Added option to make ami public automatically
12 years ago
Mitchell Hashimoto cc13e6690c builder/amazon/chroot: don't choose partition mount point if taken
12 years ago
Mitchell Hashimoto 3adbd09639 builder/amazon/chroot: fix compile error
12 years ago
Mitchell Hashimoto 3780b57a1f builder/amazon/chroot: allow no such file errors on upload [GH-588]
12 years ago
Mitchell Hashimoto 17f1ee3e98 builder/amazon/chroot: quote commands and pass through a shell [GH-581]
12 years ago
Mitchell Hashimoto 3cd7379d1f builder/amazon/*: warnings
13 years ago
Mitchell Hashimoto 7f639d89b6 builder/amazon/*,builder/openstack: properly scrub sensitive [GH-554]
13 years ago
Matthew Hooker 79ac16c3d7 builder/amazon/chroot:
13 years ago
Matthew Hooker 5315b19822 common/config: config filter function [GH-521]
13 years ago
Matthew Hooker 5c41eccfd5 Fix the way we run commands in chroot.
13 years ago
Mitchell Hashimoto 38d3411f80 builder/amazon/chroot: remove unused comment
13 years ago
Mitchell Hashimoto b554a0dd86 builder/amazon/chroot: CommandWrapper
13 years ago
Mitchell Hashimoto 535888d9d8 builder/amazon/chroot: alphebatize the configs
13 years ago
Matthew Hooker 5f19648268 comment, formatting.
13 years ago
Matthew Hooker a15f629f4f WIP copying files.
13 years ago
Matthew Hooker 831d5caa50 move wrapper definitions around.
13 years ago
Matthew Hooker 39c3051a95 building but there's an exec error.
13 years ago
Matthew Hooker d2f9ba0d11 fixing up types.
13 years ago
Matthew Hooker ac496a63dc replace command config with wrapper command.
13 years ago
Matthew Hooker cebbcc51a6 fix chroot Upload command.
13 years ago
Matthew Hooker de83755c00 wip
13 years ago
Matthew Hooker c15bb28491 bugfixes, wip
13 years ago
Matthew Hooker 1104ad3e17 get chroot command from proper place.
13 years ago
Matthew Hooker 6b1a7938d8 Merge remote-tracking branch 'origin/master' into 430
13 years ago
Matthew Hooker ee60ed319b We're not using this log package.
13 years ago
Matthew Hooker e1dadfc57a Unit tests.
13 years ago
Matthew Hooker 23a331fc00 bugfix.
13 years ago
Matthew Hooker 7740c8fed5 using blocking cp method.
13 years ago
Matthew Hooker 5e9ff92ff3 Revert "notes/reorg."
13 years ago
Matthew Hooker ce3725efec wip
13 years ago
Matthew Hooker 7fa238503b wip
13 years ago
Matthew Hooker dd356d33d8 notes/reorg.
13 years ago
Matthew Hooker 5086ff1a4e pass chroot command to /bin/sh
13 years ago
Bob Potter af477a59df Update builder-amazon-chroot to work with WaitForState changes in 7c56148f
13 years ago
Matthew Hooker 1befba24ed Allow user to override chroot command.
13 years ago
Mitchell Hashimoto 27608a7b0f builder/amazon/*: use WaitForState for AMIs
13 years ago
Mark Peek f941718c3e builder/amazon: add clean_ami_name template function
13 years ago
James Massara 5bca569fa4 builder/amazon: Re-ordered steps for AMI region copying so tags and
13 years ago
Mitchell Hashimoto 80ed7eddf4 builder/amazon/chroot: new multistep API
13 years ago
Mitchell Hashimoto d857c9ccbb builder/amazon/chroot: implement UploadDir for chroot communicator
13 years ago
Mitchell Hashimoto 251abc3496 builder/amazon: modify attributes before region copy
13 years ago
Mitchell Hashimoto e7a50133b6 builder/amazon: support tags in chroot and instance
13 years ago
Mitchell Hashimoto 64d87bfaf3 *: switch to packer ConfigTemplate
13 years ago
Mitchell Hashimoto 332bdf6edc builder/*, provisioner/*: set user vars
13 years ago
Mitchell Hashimoto b4d18f9d30 builder/amazon/chroot: can modify AMI attributes
13 years ago
Mitchell Hashimoto 5f34ec0ebc builder/amazon/chroot: switch to new template stuff
13 years ago
Mitchell Hashimoto 5b7d8fbc74 rename builder/common to common since it is generally useful
13 years ago
Mitchell Hashimoto 818a10e797 builder/amazon/chroot: use set AMI name
13 years ago
Mitchell Hashimoto 743682d352 builder/amazon/chroot: default volumes dir is relative
13 years ago
Mitchell Hashimoto 07ed22b4fa builder/amazon/chroot: validate that chroot_mounts are 3 elements
13 years ago
Mitchell Hashimoto c0f64f3a1d builder/amazon/chroot: let go of flock earlier for parallelism
13 years ago
Mitchell Hashimoto 3865c33be1 builder/amazon/chroot: fix compilaton on Windows
13 years ago
Mitchell Hashimoto cf99f85f6d builder/amazon/chroot: flock so that device searching is safe
13 years ago
Mitchell Hashimoto b75bd29bfd builder/amazon/chroot: find available device
13 years ago
Mitchell Hashimoto 7857406f3e builder/amazon/chroot: get rid of AttachedDevicePath
13 years ago
Mitchell Hashimoto d23ad907c0 builder/amazon/chroot: register AMI
13 years ago
Mitchell Hashimoto 3667340768 builder/amazon/chroot: switch func type to interface
13 years ago
Mitchell Hashimoto be5fa9ecdb builder/amazon/chroot: log the exit code for the chroot communicator
13 years ago
Mitchell Hashimoto 8bffbb6f44 builder/amazon/chroot: step to snapshot the root image
13 years ago
Mitchell Hashimoto e418727a09 builder/amazon/chroot: initial len should be 0 so we don't have empty
13 years ago
Mitchell Hashimoto 056292b1dc builder/amazon/chroot: perform early cleanup
13 years ago
Mitchell Hashimoto 2f4bf61f09 builder/amazon/chroot: make sure to remove files before copy
13 years ago
Mitchell Hashimoto aaaad835f6 builder/amazon/chroot: copyfiles support
13 years ago
Mitchell Hashimoto 7ae0f3bafe builder/amazon/chroot: upload should os.Create, not os.Open
13 years ago
Mitchell Hashimoto 5feb11cbb7 builder/amazon/chroot: enable the chroot provisioner
13 years ago
Mitchell Hashimoto 8d3cf7aa59 builder/amazon/chroot: provision within the chroot
13 years ago
Mitchell Hashimoto e0adf3b64e builder/amazon/chroot: unmount in reverse
13 years ago
Mitchell Hashimoto 8cc3743daf builder/amazon/chroot: special case bind fstype
13 years ago
Mitchell Hashimoto af2d314819 builder/amazon/chroot: /bin/sh
13 years ago
Mitchell Hashimoto d7f932244f builder/amazon/chroot: mount extra paths
13 years ago
Mitchell Hashimoto 618e1b1678 builder/amazon/chroot: process MountPath template
13 years ago
Mitchell Hashimoto 8d5f404fa7 builder/amazon/chroot: use the attached device path
13 years ago
Mitchell Hashimoto 54d020b8c3 builder/amazon/chroot: use mountcommand configs
13 years ago
Mitchell Hashimoto 1c34e35574 builder/amazon/chroot: mount the root device
13 years ago
Mitchell Hashimoto ec526d97aa builder/amazon/chroot: more settings, validation
13 years ago
Mitchell Hashimoto cffb35ab33 builder/amazon/chroot: improved logging about what volume created
13 years ago
Mitchell Hashimoto 25eca62986 builder/amazon/chroot: fix types
13 years ago
Mitchell Hashimoto 76071eafc6 builder/amazon/chroot: only let it run on Linux
13 years ago
Mitchell Hashimoto bbcb2ea46b builder/amazon/chroot: put device in state bag
13 years ago
Mitchell Hashimoto b4435f6890 builder/amazon/chroot: more valid transition states while detaching
13 years ago
Mitchell Hashimoto 033218df0d builder/amazon/chroot: Attach volume
13 years ago
Mitchell Hashimoto 12e7042c5b builder/amazon/chroot: wait for volume to beecome ready
13 years ago
Mitchell Hashimoto 4773b48794 builder/amazon/chroot: delete the EBS volume after we're done
13 years ago
Mitchell Hashimoto 3a416bb105 builder/amazon/chroot: step to gather instance info
13 years ago
Mitchell Hashimoto fa92377ae5 builder/amazon/chroot: create the volume
13 years ago
Mitchell Hashimoto e24cbc1870 builder/amazon/chroot: extract the source AMI info
13 years ago
Mitchell Hashimoto 7f854902ec builder/amazon/chroot: verify we're on an EC2 instance
13 years ago
Mitchell Hashimoto d166433d4a builder/amazon/chroot: rename to builder-amazon-chroot
13 years ago
Mitchell Hashimoto b645586d58 builder/amazon/chroot: boilerplate
13 years ago