kickstart/lib
Bruno Tavares 41cf8f98bf Allows deployment scripts to be interactive
Previously, because we were piping the compiled script blob over ssh to
decompress over there without creating an intermediated bundled file, we
were allocating the stdin of the ssh session to have the read from the
pipe.

This blocked the allocation of the /dev/tty over the session and
prevented users to interact with the script. We would like some of the
interactions to work, like prompting for a confirmation or typing a
password.

To fix this, the deployment process was split in two steps. The first
step still receives the bundled file over a pipe, decompresses it on a
temprary folder, and outputs the location of the deployment folder.

We grab this output to feed on the second step, which has a script to go
to the deployment folder and start the execution.

Now, roles can make use of read, as well as sudo with password.
2015-09-26 22:36:18 -03:00
..
kickstart-autocomplete Lints the executable scripts 2015-05-20 17:16:16 -03:00
kickstart-bootstrap Ensures that we execute the bootstraping using bash 2015-09-26 00:52:37 -03:00
kickstart-commands Lints the completion command 2015-05-20 17:21:27 -03:00
kickstart-compile Uses literal heredoc when compiling the module loading script to reduce escapings 2015-09-26 00:46:57 -03:00
kickstart-create Lints the executable scripts 2015-05-20 17:16:16 -03:00
kickstart-deploy Allows deployment scripts to be interactive 2015-09-26 22:36:18 -03:00
kickstart-doc Fixes error when looking up documentation introduced when cleaning up lint errors 2015-09-26 00:32:39 -03:00
kickstart-docker-create Small nit detail 2015-09-26 00:35:28 -03:00
kickstart-docker-ssh Fixes container lookup not being able to find a container running for specific image. 2015-09-26 00:35:09 -03:00
kickstart-help Introduce kickstart help and commands 2014-02-20 13:28:28 -03:00
kickstart-infect Lints the executable scripts 2015-05-20 17:16:16 -03:00
kickstart-init Adds a command alias: create could also be called init 2015-09-26 15:51:49 -03:00
kickstart-local Lints the executable scripts 2015-05-20 17:16:16 -03:00
kickstart-root-dir Lints the executable scripts 2015-05-20 17:16:16 -03:00