Commit dcfb8e87 authored by Paul Cammish's avatar Paul Cammish
Browse files

Merge branch 'upgrade_test' into 'master'

Upgrade testing

See merge request sympl/sympl!28
parents 16a3c065 12775455
......@@ -98,6 +98,7 @@ install:quick:
script:
- hostname quick.sympl.test
- echo "$( hostname )" > /etc/hostname ; echo "$( hostname -I | head -n 1 ) $(hostname)" >> /etc/hosts
- apt-get -qq update; apt-get -qq -y upgrade
- cp -r repo/ /
- chmod -R 664 /repo ; chmod -R +X /repo
- echo "deb file:/repo stretch main" > /etc/apt/sources.list.d/local.list
......@@ -107,13 +108,14 @@ install:quick:
- run-parts --verbose --exit-on-error autotest/test.d
- dpkg -l 'sympl*'
- chmod -x $( which gitlab-runner )
variables: &installvars
variables:
CI_DEBUG_TRACE: "false"
artifacts:
paths:
- repo/*
expire_in: 4 days
install:clean:
tags:
- vbox:stretch
......@@ -139,3 +141,30 @@ install:clean:
expire_in: 4 days
install:upgrade:
tags:
- vbox:debian9-upgrade
stage: install
allow_failure: false
script:
- hostname upgrade.sympl.test
- apt-get -qq update; apt-get -qq -y upgrade
- echo "$( hostname )" > /etc/hostname ; echo "$( hostname -I | head -n 1 ) $(hostname)" >> /etc/hosts
- wget -qO- http://mirror.mythic-beasts.com/mythic/support@mythic-beasts.com.gpg.key | apt-key add -
- echo deb http://packages.mythic-beasts.com/mythic/ stretch-testing main > /etc/apt/sources.list.d/sympl_mythic-beasts.list
- apt-get -qq update; apt-get -qq install --install-recommends sympl-core
- cp -r repo/ /
- chmod -R 664 /repo ; chmod -R +X /repo
- echo "deb file:/repo stretch main" > /etc/apt/sources.list.d/local.list
- apt-get -qq update; apt-get -y --allow-unauthenticated upgrade
- run-parts --verbose --exit-on-error autotest/test.d
- dpkg -l 'sympl*'
- chmod -x $( which gitlab-runner )
variables:
CI_DEBUG_TRACE: "false"
artifacts:
paths:
- repo/*
expire_in: 4 days
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment