Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qa release #2

Open
wants to merge 92 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
7f3eb4d
use research datasets for local run
mirco-nasuti Feb 18, 2019
a8a1566
Align with master
ludovicc Mar 4, 2019
cd219e4
Update instructions
ludovicc Mar 4, 2019
c40c20a
Bumped frontend to 2.15.8
nicedexter Mar 8, 2019
03be3a3
Bumped frontend to 2.16.0
nicedexter Mar 13, 2019
2977af5
Bumped Frontend to 2.16.1
nicedexter Mar 19, 2019
f529cfb
Bumped Backend to 2.9.4
nicedexter Mar 20, 2019
929fbe0
Bumped frontend 2.16.2
nicedexter Mar 20, 2019
200381b
Sync with master
ludovicc Mar 25, 2019
1e09d36
Merge remote-tracking branch 'origin' into research_datasets
ludovicc Mar 25, 2019
1f2cce8
Bumped portal frontend to 2.16.4
nicedexter Mar 26, 2019
b9fc4db
Release 3.0 Beta
nicedexter Apr 8, 2019
08728f0
UPdated README
nicedexter Apr 15, 2019
b4ee4c6
Bumped Frontend to 3.0.0
nicedexter Apr 29, 2019
1dce9b4
gitlab url login
nicedexter Apr 29, 2019
031bb63
Update versions
ludovicc May 1, 2019
40cc16f
Merge branch 'master' into research_datasets
ludovicc May 1, 2019
9c5cb30
Merge branch 'research_datasets' of ssh://lab01560.intranet.chuv:2222…
ludovicc May 1, 2019
434a175
Fix ci
ludovicc May 1, 2019
0fa1458
Bumbped frontend to 3.0.2
nicedexter May 10, 2019
9dfb017
Bumped frontend to 3.0.2
nicedexter May 10, 2019
ee25455
Pathologies added.
ThanKarab Sep 9, 2019
3f1a872
Template added.
ThanKarab Sep 9, 2019
3667af3
JSON demo file for pathologies
nicedexter Sep 10, 2019
2f42253
Reworked pathologies demo sample
nicedexter Sep 10, 2019
e6d12f0
v5 demo setup
nicedexter Sep 12, 2019
0417b02
New frontend alpha release
nicedexter Sep 13, 2019
2f751b1
Changed versions (typo)
nicedexter Sep 13, 2019
4edacfb
Updated frontend + config
nicedexter Sep 17, 2019
4b4c1b8
Frontend + Backend updates
nicedexter Sep 19, 2019
f784a9e
Updated frontend and backend
nicedexter Sep 20, 2019
718483e
Updated back + frond ends
nicedexter Sep 24, 2019
27b7594
Frontend updated
nicedexter Sep 24, 2019
008f30d
Frontend update
nicedexter Sep 24, 2019
4c42458
Bug fixes
nicedexter Sep 26, 2019
152de65
init standalone mode - wip
nicedexter Sep 29, 2019
931632b
environment variables
nicedexter Oct 7, 2019
c4bf675
beta wip
nicedexter Oct 10, 2019
32e8ee7
Updated versions
nicedexter Oct 11, 2019
a10f1ca
5.0.0
nicedexter Oct 16, 2019
0aacffd
MIP Complete Deployment Guide.
ThanKarab Oct 24, 2019
1b1d59b
Merge branch 'feat-standalone' of github.com:HBPMedical/web-analytics…
nicedexter Oct 24, 2019
ae7bdc6
Updated Frontend version
nicedexter Oct 24, 2019
219b82d
Cleanup
nicedexter Oct 24, 2019
1a3b789
Updated frontend
nicedexter Oct 29, 2019
2bd782c
Update MIP-DEPLOYMENT.md
sofiakarb Oct 30, 2019
6262066
Updated backend
nicedexter Oct 30, 2019
54afee4
Merge branch 'feat-standalone' of github.com:HBPMedical/web-analytics…
nicedexter Oct 30, 2019
4e4f0a0
Update MIP-DEPLOYMENT.md
ThanKarab Oct 30, 2019
8c83c63
Updated components & cofig for galaxy iframe
nicedexter Oct 30, 2019
580c815
Merge branch 'feat-standalone' of github.com:HBPMedical/web-analytics…
nicedexter Oct 30, 2019
34dd245
Merging branch feat-standalone
nicedexter Oct 31, 2019
6c1635d
adding GALAXY_URL variable editing GALAXY_CONTEXT
JerryPan44 Nov 1, 2019
dc91918
Updated Frontend and backend components
nicedexter Nov 1, 2019
b9a16e2
Updated frontend
nicedexter Nov 1, 2019
4f53360
adding submodule exareme and Galaxy_Middleware_API
Nov 4, 2019
550ca4b
update readme file
Nov 4, 2019
9a5dbc1
add script after-git-clone to download the submodule
Nov 4, 2019
7c6b7c1
Portal critical update
nicedexter Nov 4, 2019
57225df
Merge branch 'master' of github.com:HBPMedical/mip-deployment-infrast…
nicedexter Nov 4, 2019
3b9d276
Updated frontend
nicedexter Nov 5, 2019
0b8666d
Updated frontend
nicedexter Nov 5, 2019
2d679de
add new folder data
Nov 5, 2019
a927849
add data folder
Nov 5, 2019
2c5991c
Fixed mode + local by default
nicedexter Nov 7, 2019
2a5fb89
Merge branch 'master' of github.com:HBPMedical/mip-deployment-infrast…
nicedexter Nov 7, 2019
e6b13f1
Updated Frontend version
nicedexter Nov 7, 2019
29f8da8
Update .gitmodules
tchamabe1979 Nov 12, 2019
947debb
local bug fix
nicedexter Nov 12, 2019
cb4070e
Merge branch 'master' of github.com:HBPMedical/mip-deployment-infrast…
nicedexter Nov 12, 2019
62834ba
Galaxy URL bug fix
nicedexter Nov 12, 2019
f973561
after-git-clone
Nov 12, 2019
2c962b4
configure féderation deployment
Dec 2, 2019
4667607
commit changing related to installation production
Dec 3, 2019
553a3cc
adding script to restart galaxy stack
Dec 4, 2019
1a73b1d
changing mod file start-galaxy-stack.sh
Dec 4, 2019
4076eea
changing on production branch
Dec 5, 2019
138aafa
adding hosts.ini file
Dec 5, 2019
3252050
changing README about installation galaxy
Dec 9, 2019
4b6afc6
commit the documentation modification
Dec 9, 2019
2564ac7
Update README.md
tchamabe1979 Dec 9, 2019
61ca0b6
changing the documentation
Dec 9, 2019
ea2f5db
adding qa release branch
Dec 18, 2019
14c2054
delete password on the manages.yaml file
Dec 18, 2019
f75716e
update QA branch
Jan 3, 2020
b4d7627
my new commit
Jan 9, 2020
c3f358f
Data env variable set
nicedexter Jan 9, 2020
fa4b3d1
adding the new file env.list
tchamabe1979 Jan 17, 2020
e096968
Delete env.list
NWSehgelmeble Jan 23, 2020
a4638a3
remove unavailable datasets from pathologies JSON file
mirco-nasuti Jan 27, 2020
8afb9ad
change frontend mode to federation
mirco-nasuti Jan 27, 2020
15fac32
Bumped components
nicedexter Jan 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Galaxy_Middleware_API"]
path = Galaxy_Middleware_API
url = https://github.com/madgik/Galaxy_Middleware_API.git
108 changes: 108 additions & 0 deletions Deployment-exareme/exareme/Exareme-Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
FROM alpine:3.6
MAINTAINER Sofia Karvounari <[email protected]>

# Here we install GNU libc (aka glibc) and set C.UTF-8 locale as default.
RUN ALPINE_GLIBC_BASE_URL="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" && \
ALPINE_GLIBC_PACKAGE_VERSION="2.23-r2" && \
ALPINE_GLIBC_BASE_PACKAGE_FILENAME="glibc-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && \
ALPINE_GLIBC_BIN_PACKAGE_FILENAME="glibc-bin-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && \
ALPINE_GLIBC_I18N_PACKAGE_FILENAME="glibc-i18n-$ALPINE_GLIBC_PACKAGE_VERSION.apk" && \
apk add --no-cache --virtual=build-dependencies wget ca-certificates && \
wget \
"$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" \
"$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" \
"$ALPINE_GLIBC_BASE_URL/$ALPINE_GLIBC_PACKAGE_VERSION/$ALPINE_GLIBC_I18N_PACKAGE_FILENAME" && \
apk add --allow-untrusted --no-cache \
"$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" \
"$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" \
"$ALPINE_GLIBC_I18N_PACKAGE_FILENAME" && \
/usr/glibc-compat/bin/localedef --force --inputfile POSIX --charmap UTF-8 C.UTF-8 || true && \
echo "export LANG=C.UTF-8" > /etc/profile.d/locale.sh && \
apk del glibc-i18n && \
apk del build-dependencies && \
rm \
"$ALPINE_GLIBC_BASE_PACKAGE_FILENAME" \
"$ALPINE_GLIBC_BIN_PACKAGE_FILENAME" \
"$ALPINE_GLIBC_I18N_PACKAGE_FILENAME"

ENV LANG=C.UTF-8

########################################################
# Install Java (Shamelessly copy pasted from develar/java,
# https://github.com/develar/docker-java/blob/master/Dockerfile)
#
# LSC: Updated for new URLs schemes on the Oracle website.
ENV JAVA_VERSION_MAJOR=8 \
JAVA_VERSION_MINOR=141 \
JAVA_VERSION_BUILD=15 \
JAVA_VERSION_HASH=336fa29ff2bb4ef291e347e091f7f4a7 \
JAVA_PACKAGE=server-jre \
JAVA_HOME=/jre \
PATH=${PATH}:/jre/bin \
LANG=C.UTF-8

# about nsswitch.conf - see https://registry.hub.docker.com/u/frolvlad/alpine-oraclejdk8/dockerfile/
#/usr/glibc/usr/bin/ldconfig /lib /usr/glibc/usr/lib && \

RUN apk add --update curl ca-certificates && \
cd /tmp && \
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \
curl -jksSLH "Cookie: oraclelicense=accept-securebackup-cookie" \
"http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-b${JAVA_VERSION_BUILD}/${JAVA_VERSION_HASH}/${JAVA_PACKAGE}-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.tar.gz" \
| gunzip -c - | tar -xf - && \
apk del curl ca-certificates && \
mv jdk1.${JAVA_VERSION_MAJOR}.0_${JAVA_VERSION_MINOR}/jre /jre && \
rm /jre/bin/jjs && \
rm /jre/bin/keytool && \
rm /jre/bin/orbd && \
rm /jre/bin/pack200 && \
rm /jre/bin/policytool && \
rm /jre/bin/rmid && \
rm /jre/bin/rmiregistry && \
rm /jre/bin/servertool && \
rm /jre/bin/tnameserv && \
rm /jre/bin/unpack200 && \
rm /jre/lib/ext/nashorn.jar && \
rm /jre/lib/jfr.jar && \
rm -rf /jre/lib/jfr && \
rm -rf /jre/lib/oblique-fonts && \
rm -rf /tmp/* /var/cache/apk/*

# Some extra python libraries for the mip-algorithms, which needs to be
# compiled by hand
ADD files/requirements.txt /root/requirements.txt
RUN apk add --update py-psycopg2 py-pip ca-certificates gcc musl-dev python-dev lapack-dev g++ gfortran && \
pip install -r /root/requirements.txt && \
pip install scipy==1.2.1 scikit-learn==0.20.3 && \
pip install liac-arff && \
apk del py-pip ca-certificates gcc musl-dev python-dev lapack-dev gfortran && \
rm -rf /tmp/* /var/cache/apk/*

# Runtime dependencies for Exareme
RUN apk add --update rsync curl bash jq python py-requests lapack --no-cache procps && \
rm -rf /tmp/* /var/cache/apk/*


# Add Exareme
ADD src/exareme/exareme-distribution/target/exareme /root/exareme

# Add the algorithms
ADD src/mip-algorithms /root/mip-algorithms

# Exareme configuration, ssh keys and so on
# This has to be done after copying in the algorithms and exareme, as some
# files are placed in folders created by those two steps.
ADD files/java.sh /etc/profile.d/java.sh
RUN chmod 755 /etc/profile.d/java.sh
ADD files/root /root
RUN chmod -R 755 /root/exareme/*.py /root/exareme/*.sh

EXPOSE 9090
EXPOSE 22

ENV USER=root
WORKDIR /root/exareme

CMD ["/bin/bash","bootstrap.sh"]
# While debugging
#ENTRYPOINT /bin/sh
27 changes: 27 additions & 0 deletions Deployment-exareme/exareme/Exareme-Docker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Docker container for Exareme

This project creates a Docker image for running Exareme. It has been developed on Ubuntu 16.04 LTS and not tested on other platforms.

## Build procedure

1. Install build requirements
```
sudo apt-get install -y git maven curl python python-apsw jq
sudo apt-get install -y python-dev build-essential python-pip libblas-dev liblapack-dev libatlas-base-dev gfortran
```

2. Clone the sources and build Exareme
```
git clone -b mip https://github.com/madgik/exareme.git src/exareme
(cd src/exareme && mvn clean install)
```

3. Retrieve the MIP Algorithms
```
git clone https://github.com/madgik/mip-algorithms src/mip-algorithms
```

4. Building the Docker image
```
docker build -t hbpmip/exareme .
```
8 changes: 8 additions & 0 deletions Deployment-exareme/exareme/Exareme-Docker/files/java.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export JAVA_VERSION_MAJOR=8
export JAVA_VERSION_MINOR=141
export JAVA_VERSION_BUILD=15
export JAVA_VERSION_HASH=336fa29ff2bb4ef291e347e091f7f4a7
export JAVA_PACKAGE=server-jre
export JAVA_HOME=/jre
export PATH=${PATH}:/jre/bin
export LANG=C.UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apsw==3.9.2-r1
NumPy==1.16.3
titus

Loading