Skip to content
Snippets Groups Projects
Commit b0a2053d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

test of debian package install should be done only on tagged versions

parent 6ae0eef6
No related branches found
No related tags found
1 merge request!359Resolve "use database migration framework"
Pipeline #
image: node
variables:
DOCKER_HOST: tcp://docker:2375
services:
- docker:dind
stages:
- build
- test
......@@ -36,6 +30,8 @@ build_war:
build_debian_package:
image: debian
stage: build
only:
- tags
tags:
- privileged
artifacts:
......@@ -50,16 +46,17 @@ build_debian_package:
- export DEBEMAIL="piotr.gawron@uni.lu"
- ant debian-pkg
test_debian_package:
test_install_debian_package:
image: debian
stage: test
services:
- name: piotrgawron/debian-repo
alias: debian-repo
only:
- tags
# we need to run it in privileged mode due to: https://stackoverflow.com/questions/29683231/tomcat7-fail-to-start-inside-ubuntu-docker-container
tags:
- privileged
services:
- name: piotrgawron/debian-repo
alias: debian-repo
dependencies:
- build_debian_package
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment