From c2cc39e63b7afbc755c81e94f34791c605fb092b Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 29 Jun 2017 16:25:32 +0200 Subject: [CI] Add upgrade platform CI test Resolves: #8541 --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3