Closed Kami closed 8 years ago
:+1:
Would also be a good idea to add a test case for that.
Maybe we can push a dummy branch which always fails early on and we add a new st2cd test case which uses "-r
In any case, not something I will do today, but if someone else has motivation and time to do it today, feel free to do so.
Alright, I will merge this and work on tests tomorrow.
Also confirmed it's working now on master.
curl -L -o install.sh https://install.stackstorm.com
DEBUG=1 bash install.sh -r test_rev_branch
Now if "-r" option is specified we also set ENV environment variable to
current_working_directory
so the checked out changes (revision) are actually used.P.S. As noted on Slack, this is a very simple solution I could come up with first which works (that's basically how I / we have been testing changes manually before this option).
Resolves #321.
Tested with: