summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-06-29 16:25:32 +0200
committerVarac <varac@leap.se>2017-06-30 17:33:55 +0200
commitc2cc39e63b7afbc755c81e94f34791c605fb092b (patch)
tree1e830bf34dd0ff7762305553f6c71c71013342e2
parent3f61221b48730be56ddb19d31d79fc225c8626c7 (diff)
[CI] Add upgrade platform CI test
Resolves: #8541
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0e90ce75..5933331b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,6 +78,14 @@ deploy_test:manual:
script:
- su -c 'set -o pipefail; stdbuf -oL -eL ./ci-build.sh | ts' cirunner
+# Test upgrades from the latetest release to latest HEAD
+upgrade_test:
+ stage: deploy
+ script:
+ # Allow unpriviledged user to checkout last release of leap_platform
+ - chown cirunner:cirunner -R ../..
+ - su -c 'set -o pipefail; stdbuf -oL -eL ./ci-build.sh | ts' cirunner
+
# Latest job will only run on the master branch, which means all merge requests
# that are created from branches don't get to deploy to the latest-ci server.
# When a merge request is merged, then the latest job will deploy the code to