Commit Graph

48 Commits (afd2e2d03343fbf00a102f986b45097cdbcff121)

Author SHA1 Message Date
Mitchell Hashimoto 528ae09c37 provisioner/shell: comment on why we return right away if advance == 0
13 years ago
Mitchell Hashimoto f673ca52ba provisoiner/shell: append only needs to add a byte for UnixReader
13 years ago
Matthew Hooker 104f5049a7 provisioner/shell: fix EOF detection
13 years ago
Mitchell Hashimoto ff970483c4 provisioner/shell: add more tests for UnixReader
13 years ago
Matthew Hooker 0d1b936f69 Fix UnixReader panic on empty lines.
13 years ago
Jason A. Beranek b3d76b7945 provisioner/shell: fix provisioner to use UnixReader [GH-477]
13 years ago
Mitchell Hashimoto 89d165aae7 provisioner/shell: add another UnixReader test for sanity
13 years ago
Mitchell Hashimoto abbac36796 provisioner/shell: convert windows line endings to Unix [GH-277]
13 years ago
Mitchell Hashimoto 28bf6122bd provisioner/*: implement Cancel
13 years ago
Mitchell Hashimoto a46c7afcf7 provisioner/shell: retry the upload if command fails as well
13 years ago
Mitchell Hashimoto 717746ce4f provisioner/shell: retry uploads if reboot [GH-282]
13 years ago
Mitchell Hashimoto 64d87bfaf3 *: switch to packer ConfigTemplate
13 years ago
Mitchell Hashimoto 21f92715c0 provisioner/shell: start_retry_timeout for reboot handling [GH-260]
13 years ago
Mitchell Hashimoto 332bdf6edc builder/*, provisioner/*: set user vars
13 years ago
Mitchell Hashimoto 3f1af409e2 provisioner/shell: tests passing and compiling
13 years ago
Mitchell Hashimoto f4b0e2248f provisioner/shell: convert to latest template stuff
13 years ago
Rafael Garcia 25af1c8bd4 provisioner/shell: state of the art config decoding
13 years ago
Mitchell Hashimoto b64a2532f4 provisioner/shell: use StartWithUi
13 years ago
Mitchell Hashimoto 0b5f4d9d17 provisioner/shell: make build name and builder type env vars [GH-154]
13 years ago
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104]
13 years ago
Mitchell Hashimoto 1745d4e831 provisioner/shell: close source script file handle
13 years ago
Mitchell Hashimoto b22743767e provisioner/shell: inline_shebang for inline scripts
13 years ago
Geoffrey Bachelet 43db2c23eb provisioner/shell: execute script directly instead of using /bin/sh
13 years ago
Mitchell Hashimoto 919c3935e1 Merge branch 'shell-env-vars'
13 years ago
Jack Pearkes d64797cc44 provisioner/shell: remove check for empty env vars config
13 years ago
Mitchell Hashimoto 17d0f5f71b provisioner/shell: rename "path" to "script"
13 years ago
Jack Pearkes e9d8e9f537 provisioner/shell: add support for environment variables to be injected
13 years ago
Mitchell Hashimoto 8cb2fd761e provisioner/shell: Error if a script fails
13 years ago
Mitchell Hashimoto e8cbb9f9b6 provisioner/shell: Error message if provisioning fails
13 years ago
Mitchell Hashimoto 9367df4a3f provisioner/shell: copy the scripts [GH-29]
13 years ago
Mitchell Hashimoto 7797676091 provisioner/shell: can specify multiple scripts to provision with
13 years ago
Mitchell Hashimoto 417f7e7f47 fmt
13 years ago
Mitchell Hashimoto 59b5902619 provisioner/shell: Support inline commands
13 years ago
Mitchell Hashimoto 690954cb51 provisioner/shell: validation
13 years ago
Mitchell Hashimoto 4a8278d49b provisioner/shell: Support setting the execute command
13 years ago
Mitchell Hashimoto e9b552ba18 provisioner/shell: Remove TODO since we handled it
13 years ago
Mitchell Hashimoto 0a6d8ed75a packer: Add errors to Prepare
13 years ago
Mitchell Hashimoto 6b87c42ee6 packer: Change provisioner interface to take array of configs
13 years ago
Mitchell Hashimoto c5d539ef13 command/build: Better prefixes
13 years ago
Mitchell Hashimoto 37937c1290 provisioner/shell: Use RemoteCmd.Wait
13 years ago
Mitchell Hashimoto fdda64f48e provisioner/shell: Trim whitespace on output
13 years ago
Mitchell Hashimoto 684df67ca6 provisioner/shell: Adhere to new communicator API
13 years ago
Mitchell Hashimoto ffcb7afbee provisioner/shell: Properly handle closed channels in select
13 years ago
Mitchell Hashimoto cf732a913d provisioner/shell: stream output in real time
13 years ago
Mitchell Hashimoto ace53450b9 packer: More efficient RemoteCommand.ExitChan
13 years ago
Mitchell Hashimoto 9ebf0435ff provisioner/shell: Basic run
13 years ago
Mitchell Hashimoto f726ea2800 provisioner/shell: Start working on shell provisioner
13 years ago
Mitchell Hashimoto 46a058572b provisioner/shell and plugin/provisioner-shell
13 years ago