Commit 8f45c510 authored by Paul Cammish's avatar Paul Cammish
Browse files

Updated CI and added tests for packages

parent ccd33419
......@@ -153,6 +153,7 @@ install:upgrade:
- apt-get -qq update; apt-get -qq -y upgrade
- wget -qO- http://mirror.mythic-beasts.com/mythic/support@mythic-beasts.com.gpg.key | apt-key add -
- echo deb http://packages.mythic-beasts.com/mythic/ stretch-testing main > /etc/apt/sources.list.d/sympl_mythic-beasts.list
- dpkg -l 'sympl*' > dpkg.base
- apt-get -qq update; apt-get -qq install --install-recommends sympl-core
- cp -r repo/ /
- chmod -R 664 /repo ; chmod -R +X /repo
......
#!/bin/bash
dpkg -l sympl-* | grep '^ii' | awk '{ print $2 " " $3 }' | while read name ver; do
echo -n "Checking for $name ($ver)..."
name="$( echo $name | sed 's|^sympl-||' )"
if [ $(head -n1 $name/debian/changelog 2> /dev/null | grep -oc "\($ver\)") == 1 ]; then
echo " OK"
else
echo "E: Version mismatch - package not installed"
exit 1
fi
done
......@@ -20,7 +20,7 @@ Recommends: sympl-backup, sympl-cron, sympl-mail, sympl-firewall,
sympl-dns, sympl-webmail, sympl-updater,
openssh-server, nano, vim, htop, strace, wget, curl
Provides: bytemark-symbiosis, sympl-common
Conflicts: bytemark-symbiosis, sympl-common
Conflicts: bytemark-symbiosis
Replaces: bytemark-symbiosis, sympl-common
Description: Easy, complete, and friendly server administration system
This is libraries and a metapackage which will pull in each
......
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