Install xxxxxxxxxxxx lab - TEMPLATE
$ git clone git@gitlab.com:ifb-elixirfr/usegalaxy-fr/infrastructure.git
-
-
create new branch from preprod
-
$ git checkout -b xxxxxxxxxxxx-lab
-
-
add following code in -
-
/development/group_vars/galaxy/galaxy.yml
-
-
-
/preproduction/group_vars/galaxy/galaxy.yml
-
-
-
/production/group_vars/galaxy/galaxy.yml
-
-
brand_by_host:
[...]
'xxxxxxxxxxxx.galaxy_domain_name' : 'xxxxxxxxxxxx'
# exemple : 'singlecell.usegalaxy-dev.dev.ifb.local' : 'Single Cell - dev'
# exemple : 'singlecell.usegalaxy.fr' : 'Single Cell'
-
-
add following code in -
-
/development/group_vars/galaxy/subdomains.yml
-
-
-
/preproduction/group_vars/galaxy/subdomains.yml
-
-
-
/production/group_vars/galaxy/subdomains.yml
-
-
galaxy_themes_subdomains:
- name: xxxxxxxxxxxx
theme:
xxxxxxxxxxxx:
masthead:
color: "#530080"
-
-
create welcome.html in /production/files/subdomains/xxxxxxxxxxxx/welcome.html
-
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style>
body, html { width:100% ;
height:100% ;
overflow:hidden ;
}
iframe { width:100% ;
height:100% ;
border:none ;
position: absolute;
top: -9999em;
visibility: hidden;
}
</style>
</head>
<body style="margin:0px">
<iframe id='center-iframe' src="" height="100%" onload="this.style.position='static'; this.style.visibility='visible';"></iframe>
<script type="text/javascript">
var pseudo_rand = parseInt(Date.now() / 1000 / 60 / 10);
document.getElementById('center-iframe').src = 'https://labs.usegalaxy.org.au/?content_root=https://github.com/galaxyproject/galaxy_codex/blob/main/communities/spoc/lab/usegalaxy.fr.yml';
</script>
</body>
</html>
/!\ be sure to add your URL in place of https://labs.usegalaxy.org.au/?content_root=https://github.com/galaxyproject/galaxy_codex/blob/main/communities/spoc/lab/usegalaxy.fr.yml
-
-
add in /templates/galaxy/global_host_filters.py.j2
select sections defined in /templates/galaxy/tool_conf.xml --> <section id="tool_panel_id_1" ... />
/!\ this list may be empty
-
DOMAIN_SECTIONS = {
'xxxxxxxxxxxx': [
"tool_panel_id_1",
"tool_panel_id_2"
],
-
-
add in /templates/galaxy/global_host_filters.py.j2
select labels defined in /templates/galaxy/tool_conf.xml --> <label id="label_id_1" ... />
/!\ this list may be empty
-
DOMAIN_LABELS = {
'xxxxxxxxxxxx': [
"label_id_1",
"label_id_2"
],
$ git add .
$ git commit -am "what I've done"
$ git push --set-upstream origin xxxxxxxxxxxx-lab
-
-
create a merge request with xxxxxxxxxxxx-lab in the source branch and preprod in the target branch
-
Edited by Thomas Chaussepied