Commit de05ced2 authored by helmo's avatar helmo

Adapt install script for php 7.2

parent e34c3ba9
......@@ -157,7 +157,7 @@ test:ubuntu-bionic-aegir3-apt:
- echo "exit 0" >> /usr/sbin/policy-rc.d
- apt-get install --yes sudo curl
script: "scripts/"
script: "scripts/"
stage: test
# Install Aegir debian packages located in the 'build/' directory.
# These are provided by the GitLab CI build stage.
# This script is tuned for Ubuntu 17.10.
echo "[CI] Updating APT"
sudo apt-get update
echo "[CI] Setting debconf settings"
echo "debconf debconf/frontend select Noninteractive" | debconf-set-selections
#echo "debconf debconf/priority select critical" | debconf-set-selections
debconf-set-selections <<EOF
aegir3-hostmaster aegir/db_password string PASSWORD
aegir3-hostmaster aegir/db_password seen true
aegir3-hostmaster aegir/db_user string root
aegir3-hostmaster aegir/db_host string localhost
aegir3-hostmaster aegir/email string
aegir3-hostmaster aegir/site string
postfix postfix/main_mailer_type select Local only
echo "[CI] Pre-installing dependencies"
sudo apt-get install --yes mariadb-server mariadb-client php7.2-mysql php7.2-cli php7.2-gd php7.2 postfix
echo "[CI] Installing .deb files .. will fail on missing packages"
sudo DPKG_DEBUG=developer dpkg --install build/aegir3_*.deb build/aegir3-provision*.deb build/aegir3-hostmaster*.deb
echo "[CI] Installing remaining packages and configuring our debs"
sudo apt-get install --fix-broken --yes
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