Skip to content
Snippets Groups Projects
Verified Commit 5a25afe0 authored by micah's avatar micah :speech_balloon:
Browse files

CI: fix soledad version number

parent 6cc86459
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -194,9 +194,9 @@ run() { ...@@ -194,9 +194,9 @@ run() {
soledad_migration() { soledad_migration() {
# check the version of soledad installed # check the version of soledad installed
# if the version is not greater than 0.9, we need to do the migration # if the version is not greater than 0.9, we need to do the migration
if ! LEAP_CMD run "dpkg --compare-versions \$(dpkg -l |grep soledad-server|grep ^ii|awk '{ print \$3}') gt 0.9" vm |grep -q oops if ! LEAP_CMD run "dpkg --compare-versions \$(dpkg -l |grep soledad-server|grep ^ii|awk '{ print \$3}') gt 0.8" vm |grep -q oops
then then
echo "Need to migrate from soledad 0.9!" echo "Need to migrate from soledad 0.8!"
if ! LEAP_CMD run 'systemctl stop leap-mx' vm if ! LEAP_CMD run 'systemctl stop leap-mx' vm
then fail then fail
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment