Skip to content

Commit

Permalink
Merge pull request #102 from sbesson/mail
Browse files Browse the repository at this point in the history
Expand OMERO-test-integration configuration to set up fake mail
  • Loading branch information
joshmoore authored Aug 7, 2018
2 parents 00d0c3a + 594f2ca commit accabc2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion home/jobs/OMERO-test-integration/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,18 @@ rm dbsetup.sql

## END PURGE

# install web dependencies
# Install web dependencies
pip install -r $OMERO_DIST/share/web/requirements-py27-nginx.txt

# Set up fake mail configuration
export OMERO_PROFILE=$WORKSPACE/config
mkdir -p $OMERO_PROFILE/blitz
cp $OMERO_DIST/etc/blitz/* $OMERO_PROFILE/blitz
for f in $OMERO_PROFILE/blitz/*; do mv $f $OMERO_PROFILE/blitz/`basename $f .example`.xml; done
$OMERO_DIST/bin/omero config set omero.mail.config true
$OMERO_DIST/bin/omero config set omero.mail.fake true
$OMERO_DIST/bin/omero config set omero.mail.port 2525

# START OMERO
BUILD_ID=DONT_KILL_ME $OMERO_DIST/bin/omero admin start
$OMERO_DIST/bin/omero admin waitup
Expand Down

0 comments on commit accabc2

Please sign in to comment.