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

postgres must be installed separately because invoke-rc.d on postgras crash installer on docker

parent 55051c90
No related branches found
No related tags found
1 merge request!779Resolve "Debian package: use dbconfig-common"
Pipeline #10327 passed
This commit is part of merge request !779. Comments created here will be created in the context of that merge request.
......@@ -274,7 +274,8 @@ test_upgrade_debian_package:
- build_debian_package
script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y ssh software-properties-common dirmngr wget curl apt-transport-https
- DEBIAN_FRONTEND=noninteractive apt-get install -y ssh software-properties-common dirmngr wget curl apt-transport-https postgresql
- service postgresql start
- debian_file=$(ls debian/*.deb)
- version=$(echo $debian_file| cut -f2 -d"_")
- echo "PUT $debian_file /docker/incoming" | sftp -o StrictHostKeyChecking=no user@debian-repo
......@@ -324,7 +325,8 @@ test_install_debian_package:
- build_debian_package
script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y ssh software-properties-common dirmngr wget curl
- DEBIAN_FRONTEND=noninteractive apt-get install -y ssh software-properties-common dirmngr wget curl postgresql
- service postgresql start
- debian_file=$(ls debian/*.deb)
- echo "PUT $debian_file /docker/incoming" | sftp -o StrictHostKeyChecking=no user@debian-repo
- ssh root@debian-repo /usr/local/sbin/reprepro-import
......
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