Skip to content

Commit

Permalink
Use GitHub releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed May 16, 2022
1 parent bab450b commit c72ddda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci-build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ omego -h
#Tests rely on a non-zero error code being returned on failure
if [ $TEST = install ]; then
export OMERODIR='./OMERO.server-5.6.4-ice36-b232'
omego install --initdb --dbhost localhost --dbname omero --prestartfile $HOME/config.omero -v --release 5.6.4 --ice 3.6 --no-web --no-start
omego install --github ome/openmicroscopy --initdb --dbhost localhost --dbname omero --prestartfile $HOME/config.omero -v --release 5.6.4 --no-web --no-start

ls OMERO.server
# Should return 0 DB_UPTODATE
Expand All @@ -34,7 +34,7 @@ fi

#Test a multistage DB upgrade (5.3 -> 5.4) as part of the server upgrade
if [ $TEST = upgrade ]; then
omego download --release 5.3 --ice 3.6 server
omego download --github ome/openmicroscopy --release 5.3 server
ln -s OMERO.server-5.3.5-ice36-b73 OMERO.server;

# Should return 3 DB_INIT_NEEDED
Expand All @@ -50,7 +50,7 @@ if [ $TEST = upgrade ]; then
# Should return 0 DB_UPTODATE
omego db upgrade -n --serverdir OMERO.server

omego download --release 5.5 --ice 3.6 server --sym download-server-50
omego download --github ome/openmicroscopy --release 5.5 server --sym download-server-50
# Should return 2 DB_UPGRADE_NEEDED
RC=0;
omego db upgrade -n --dbname omero --serverdir download-server-50 || RC=$?
Expand Down

0 comments on commit c72ddda

Please sign in to comment.