diff options
author | GitLab Runner <gitlab-runner@greyhound.leap.se> | 2016-07-13 12:49:26 +0000 |
---|---|---|
committer | GitLab Runner <gitlab-runner@greyhound.leap.se> | 2016-07-13 12:49:26 +0000 |
commit | d1fbbbc49412c89933e13bf06f757c746cda07ba (patch) | |
tree | f6ba154ccb8ba450ba0f1469b8e993aceade8642 /leap-platform-test | |
parent | ce138ccb13bb94c511286c5bd7364d762997fe88 (diff) |
remove update_platform
Diffstat (limited to 'leap-platform-test')
-rwxr-xr-x | leap-platform-test | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/leap-platform-test b/leap-platform-test index 2c77a3f..44086ce 100755 --- a/leap-platform-test +++ b/leap-platform-test @@ -277,7 +277,6 @@ init_deploy() { local nodes="$*" - update_platform update_leap_cli cd "$PROVIDERDIR" @@ -402,7 +401,6 @@ destroy_deploy() { local nodes="$*" - update_platform update_leap_cli cd "$PROVIDERDIR" @@ -503,25 +501,6 @@ update_leap_cli () { } -update_platform () { - cd "$PLATFORMDIR" - # works also with forces updates, i.e. reabased branches like citest - # http://stackoverflow.com/questions/4550937/how-to-force-update-when-doing-git-pull/14359894#14359894 - - # throw away local uncommitted changes - git reset --hard HEAD - # remove untracked files - git clean -f - - git fetch - git checkout master - git branch -D "$PLATFORM_BRANCH" - git checkout -f -b "$PLATFORM_BRANCH" "origin/$PLATFORM_BRANCH" - git clean -fd - git submodule sync - git submodule update --init -} - versions () { cd "$PROVIDERDIR" |