diff options
author | 2019-10-10 15:07:45 -0400 | |
---|---|---|
committer | 2019-10-10 15:07:45 -0400 | |
commit | ab24a8de07dac62569ec79425241a6b974ed32a9 (patch) | |
tree | 55cc7ed4f570f36f777650f4fab2d1a60d25e218 /update.sh | |
parent | f5025949a43415ae92b0885f3e61c43538f5c7b7 (diff) |
We have had divergent repositories for the code that
runs in UNH because of difficulties with Gerrit and
developer laziness. This incorporates the previous change
(removing all references to pharos) and updates everything to
what is currently running.
Change-Id: I5c83c70d5ca686dfa03d49936fdce1603cdac16c
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -14,8 +14,16 @@ # See the License for the specific language governing permissions and # # limitations under the License. # ############################################################################## +case "$1" in + "--no-git") + true;; # noop + "") + git pull;; + *) + echo "I did not understand the arg $1" + exit 1 + ;; +esac -if git pull ; then - rm -rf /opt/stackstorm/packs/laas/* && cp -r laas/ /opt/stackstorm/packs/ - st2ctl reload --register-all -fi +rm -rf /opt/stackstorm/packs/laas/* && cp -r laas/ /opt/stackstorm/packs/ +st2ctl reload --register-all |