Commit Graph

3 Commits (c292d2e8d6fcd1bb5b3cb211d53abc8a277c1c48)

Author SHA1 Message Date
Filipe Brandenburger e63ccfff6c Reintroduce "Turn the hack/e2e.go commands into standalone scripts."
This reverts commit 2765660101,
which reverted a commit 0c7dce77dd, so
we're reintroducing the same code from that commit here.
2015-02-06 14:35:43 -08:00
Zach Loafman 2765660101 Revert "Turn the hack/e2e.go commands into standalone scripts." 2015-02-06 14:13:00 -08:00
Filipe Brandenburger 0c7dce77dd Turn the hack/e2e.go commands into standalone scripts.
This gets rid of bashWrap() and of running bash -s passing it a script
on stdin. Also get rid of most of the runBash*() helpers.

In particular, `go run hack/e2e.go -build` will now work when it needs
to ask whether it is OK to download a large docker image, it used to
fail since stdin was not available for the bash script using the `read`
command.

Tested by running a full `hack/e2e-test.sh` run including the build
stage without the docker image loaded, which used to fail before this
change.
2015-02-06 11:18:14 -08:00