Skip to content

Commit 7eea3ca

Browse files
authored
Merge pull request #233 from mvdbeek/release_16.07_conda_hotfix
Get 16.07 branch, install 4.05 conda before downgrading
2 parents db232ff + 8e452a7 commit 7eea3ca

File tree

6 files changed

+20
-22
lines changed

6 files changed

+20
-22
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
[submodule "galaxy/roles/galaxyproject.galaxyextras"]
22
path = galaxy/roles/galaxyprojectdotorg.galaxyextras
33
url = https://github.com/galaxyproject/ansible-galaxy-extras
4-
[submodule "galaxy/roles/galaxy-tools-playbook"]
5-
path = galaxy/roles/galaxy-tools-playbook
6-
url = https://github.com/afgane/galaxy-tools-playbook
74
[submodule "galaxy/roles/galaxy-postgresql"]
85
path = galaxy/roles/galaxy-postgresql
96
url = https://github.com/galaxyproject/ansible-postgresql

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ script:
7676
# Test the 'old' tool installation script
7777
- docker run quay.io/bgruening/galaxy bash -c 'install-repository "--url https://toolshed.g2.bx.psu.edu -o iuc --name bedtools --panel-section-name 'BEDTools'"'
7878
# Test the 'new' tool installation script
79-
- docker run quay.io/bgruening/galaxy bash -c "install-tools $GALAXY_HOME/ansible/galaxy-tools-playbook/files/sample_tool_list.yaml"
79+
- docker run quay.io/bgruening/galaxy bash -c "install-tools $GALAXY_HOME/ephemeris/sample_tool_list.yaml"
8080
# Test Docker in Docker, used by Interactive Environments; This needs to be at the end as Docker takes some time to start.
8181
- docker exec -i -t galaxy docker info
8282
- docker stop galaxy

galaxy/Dockerfile

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ MAINTAINER Björn A. Grüning, [email protected]
1111
# * Enable the @natefoo magic
1212
# Web server infrastructure matching usegalaxy.org - supervisor, uwsgi, and nginx.
1313

14-
ENV GALAXY_RELEASE=dev \
14+
ENV GALAXY_RELEASE=release_16.07 \
1515
GALAXY_REPO=https://github.com/galaxyproject/galaxy \
1616
GALAXY_ROOT=/galaxy-central \
1717
GALAXY_CONFIG_DIR=/etc/galaxy
@@ -64,7 +64,7 @@ RUN apt-get -qq update && apt-get install --no-install-recommends -y apt-transpo
6464
apt-get install --no-install-recommends -y mercurial python-psycopg2 postgresql-9.3 sudo samtools python-virtualenv \
6565
nginx-extras=1.4.6-1ubuntu3.4ppa1 nginx-common=1.4.6-1ubuntu3.4ppa1 uwsgi uwsgi-plugin-python supervisor lxc-docker-1.9.1 slurm-llnl slurm-llnl-torque libswitch-perl \
6666
slurm-drmaa-dev proftpd proftpd-mod-pgsql libyaml-dev nodejs-legacy npm ansible \
67-
nano nmap lynx vim curl python-pip python-gnuplot python-rpy2 python-psutil condor python-ldap \
67+
nano nmap lynx vim curl python-crypto python-pip python-gnuplot python-rpy2 python-psutil condor python-ldap \
6868
gridengine-common gridengine-drmaa1.0 && \
6969
pip install --upgrade pip && \
7070
pip install ephemeris && \
@@ -91,6 +91,7 @@ RUN mkdir $GALAXY_ROOT && \
9191
RUN su $GALAXY_USER -c "cp $GALAXY_ROOT/config/galaxy.ini.sample $GALAXY_CONFIG_FILE"
9292
ADD ./reports_wsgi.ini.sample $GALAXY_CONFIG_DIR/reports_wsgi.ini
9393

94+
ADD sample_tool_list.yaml $GALAXY_HOME/ephemeris/sample_tool_list.yaml
9495
ADD roles/ /tmp/ansible/roles
9596
ADD provision.yml /tmp/ansible/provision.yml
9697
ADD postgresql_provision.yml /tmp/ansible/postgresql_provision.yml
@@ -161,10 +162,10 @@ RUN ./scripts/common_startup.sh && \
161162
# Install all required Node dependencies. This is required to get proxy support to work for Interactive Environments
162163
cd $GALAXY_ROOT/lib/galaxy/web/proxy/js && \
163164
npm install && \
164-
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
165-
bash Miniconda3-latest-Linux-x86_64.sh -b -p $GALAXY_CONDA_PREFIX && \
166-
rm Miniconda3-latest-Linux-x86_64.sh && \
167-
$GALAXY_CONDA_PREFIX/bin/conda install conda==3.19.3
165+
wget https://repo.continuum.io/miniconda/Miniconda3-4.0.5-Linux-x86_64.sh && \
166+
bash Miniconda3-4.0.5-Linux-x86_64.sh -b -p $GALAXY_CONDA_PREFIX && \
167+
rm Miniconda3-4.0.5-Linux-x86_64.sh && \
168+
$GALAXY_CONDA_PREFIX/bin/conda install -y conda==3.19.3
168169

169170
# Container Style
170171
ADD GalaxyDocker.png $GALAXY_CONFIG_DIR/web/welcome_image.png
@@ -189,10 +190,6 @@ RUN rm $PG_DATA_DIR_DEFAULT -rf && \
189190
python /usr/local/bin/create_galaxy_user.py --user $GALAXY_DEFAULT_ADMIN_USER --password $GALAXY_DEFAULT_ADMIN_PASSWORD -c $GALAXY_CONFIG_FILE --key $GALAXY_DEFAULT_ADMIN_KEY && \
190191
service postgresql stop
191192

192-
# Add Ansible playbook for installing tools
193-
ADD roles/galaxy-tools-playbook $GALAXY_HOME/ansible/galaxy-tools-playbook
194-
RUN chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_HOME/ansible
195-
196193
# Activate additional Tool Sheds
197194
# Activate the Test Tool Shed during runtime, useful for testing repositories.
198195
ADD ./tool_sheds_conf.xml $GALAXY_HOME/tool_sheds_conf.xml

galaxy/install_tools_wrapper.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,7 @@ else
4747
done
4848
fi
4949

50-
su galaxy -c "cd $GALAXY_HOME/ansible/galaxy-tools-playbook; unset PYTHONPATH; \
51-
ansible-playbook tools.yml -i "localhost," --extra-vars galaxy_tools_api_key=admin \
52-
--extra-vars galaxy_config_file=/etc/galaxy/galaxy.ini \
53-
--extra-vars galaxy_venv_dir=$GALAXY_VIRTUAL_ENV \
54-
--extra-vars galaxy_server_dir=/galaxy-central \
55-
--extra-vars galaxy_tools_galaxy_instance_url=localhost:$PORT \
56-
--extra-vars galaxy_tools_tool_list=$1"
50+
shed-install -g "http://localhost:$PORT" -a admin -t "$1"
5751

5852
exit_code=$?
5953

galaxy/roles/galaxy-tools-playbook

Lines changed: 0 additions & 1 deletion
This file was deleted.

galaxy/sample_tool_list.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This is just a sample file. For a fully documented version of this file, see
2+
# https://github.com/galaxyproject/ansible-galaxy-tools/blob/master/files/tool_list.yaml.sample
3+
tools:
4+
- name: 'column_maker'
5+
owner: 'devteam'
6+
tool_panel_section_label: 'Columnmaker section'
7+
- name: 'tabular_to_fasta'
8+
owner: 'devteam'
9+
tool_panel_section_label: 'New Converters'
10+
revisions:
11+
- '0b4e36026794' # v1.1.0

0 commit comments

Comments
 (0)