summaryrefslogtreecommitdiff
path: root/tests/platform-ci
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-06-29 17:37:02 +0200
committerVarac <varac@leap.se>2017-06-30 17:34:08 +0200
commitc232b863172a4f5b511e64f02882e5a4804c337e (patch)
tree8f5e79f750aced766c0d99659e33c0b81861791c /tests/platform-ci
parent5816661ab20f2b2641bc3c19dc495b28e531213e (diff)
[CI] Run bundle install after checking out different platform branch
Diffstat (limited to 'tests/platform-ci')
-rwxr-xr-xtests/platform-ci/ci-build.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh
index 256164ac..88856511 100755
--- a/tests/platform-ci/ci-build.sh
+++ b/tests/platform-ci/ci-build.sh
@@ -147,7 +147,13 @@ upgrade_test() {
git remote add leap https://leap.se/git/leap_platform
git fetch leap
git checkout -b leap_stable remotes/leap/stable
+ # After checking out a different platform branch
+ # bundle install is needed again
+ cd "$ROOTDIR"
+ /usr/local/bin/bundle install
+
cd "$PROVIDERDIR"
+
build_from_scratch
deploy
test
@@ -155,6 +161,11 @@ upgrade_test() {
# Checkout HEAD of current branch and re-deploy
cd "$PLATFORMDIR"
git checkout "$CI_COMMIT_REF"
+ # After checking out a different platform branch
+ # bundle install is needed again
+ cd "$ROOTDIR"
+ /usr/local/bin/bundle install
+
cd "$PROVIDERDIR"
deploy
test