Commit a65c44c1 authored by Piotr Gawron's avatar Piotr Gawron

Merge branch 'test-process-fix' into 'master'

Test process fix

See merge request !869
parents 25406152 9fb73ea9
Pipeline #12583 failed with stages
in 19 minutes and 37 seconds
......@@ -32,7 +32,7 @@ test:frontend:
stage: test
coverage: '/(\d+.\d+) \% covered/'
.test_backend_commons_template:
.test_backend_commons_template:
script: &test_backend_commons_definition
#xvfb is for X11 connection used by some parts of the java code: https://stackoverflow.com/a/47575851/1127920
- apt-get update
......@@ -325,7 +325,7 @@ build_debian_package:
- debian/create-debian-pkg.sh
test_upgrade_debian_package:
image: debian
image: debian:stretch
stage: test
only:
- tags
......@@ -362,7 +362,7 @@ test_upgrade_debian_package:
#local repository with new version
- apt-add-repository "deb http://debian-repo/ unstable main"
- apt-get update
- apt-get update --allow-unauthenticated
- apt-get dist-upgrade -y --allow-unauthenticated
- mv /usr/sbin/policy-rc.d.backup /usr/sbin/policy-rc.d
- service tomcat8 start
......@@ -376,7 +376,7 @@ test_upgrade_debian_package:
- test 1 = $(cat configuration.json| grep $version | wc -l)
test_install_debian_package:
image: debian
image: debian:stretch
stage: test
only:
- tags
......
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