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

debian package test depends on the build

parent 66950f39
No related branches found
No related tags found
1 merge request!359Resolve "use database migration framework"
Pipeline #
......@@ -36,8 +36,8 @@ build_war:
build_debian_package:
image: debian
stage: build
only:
- tags
tags:
- privileged
artifacts:
paths:
- "debian/*.deb"
......@@ -59,11 +59,14 @@ test_debian_package:
alias: debian-repo
tags:
- privileged
dependencies:
- build_debian_package
script:
- apt-get update
- apt-get install -y ssh software-properties-common dirmngr wget curl
- wget https://minerva-dev.lcsb.uni.lu/tmp/minerva_12.0.0_amd64.deb
- echo "PUT minerva_12.0.0_amd64.deb /docker/incoming" | sftp -o StrictHostKeyChecking=no user@debian-repo
- ls debian
- debian_file=$(ls debian/*.deb)
- echo "PUT debian/$debian_file /docker/incoming" | sftp -o StrictHostKeyChecking=no user@debian-repo
- ssh root@debian-repo /usr/local/sbin/reprepro-import
- apt-add-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main"
- apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
......
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