Skip to content

Commit 325ab7d

Browse files
authored
Merge pull request #174 from CESNET/utilize_galaxy_tmpclean
adds configurable tmp dirs to clean
2 parents 81e18c5 + c6a9ae7 commit 325ab7d

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

group_vars/galaxyservers.yml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
---
2-
# Galaxy
3-
galaxy_manage_systemd: no
4-
galaxy_create_user: true # False by default, as e.g. you might have a 'galaxy' user provided by LDAP or AD.
5-
galaxy_separate_privileges: true # Best practices for security, configuration is owned by 'root' (or a different user) than the processes
6-
galaxy_manage_paths: true # False by default as your administrator might e.g. have root_squash enabled on NFS. Here we can create the directories so it's fine.
7-
galaxy_manage_cleanup: true # Requires tmpwatch(8) or tmpreaper(8) present
8-
galaxy_layout: root-dir
9-
galaxy_root: /srv/galaxy
10-
galaxy_user: {name: "{{ galaxy_user_name }}", shell: /bin/bash}
11-
galaxy_commit_id: release_24.2
12-
galaxy_force_checkout: true
13-
miniconda_prefix: "{{ galaxy_tool_dependency_dir }}/_conda"
14-
miniconda_version: 24.11.1
15-
miniconda_channels: ['conda-forge', 'defaults']
16-
172
# defaults for host-specific vars
183
csnt_brand: ""
194
csnt_short_term_storage_dir: short_term_web_storage
@@ -35,11 +20,31 @@ csnt_library_import_dir: null
3520
csnt_user_library_import_dir: null
3621
csnt_allow_path_paste: false
3722
csnt_tool_sheds_config_file: "{{ galaxy_root }}/server/config/tool_sheds_conf.xml.sample"
23+
csnt_galaxy_tmpclean_dirs:
24+
- "{{ galaxy_config.galaxy.job_working_directory }}"
25+
- "{{ galaxy_config.galaxy.new_file_path }}"
26+
- "{{ galaxy_tus_upload_store if galaxy_config.gravity.tusd.enable else ' ' }}"
3827
admin_ssh_keys: false
3928
enable_telegraf: false
4029
enable_flower: false
4130
enable_tiaas: true
4231

32+
# Galaxy
33+
galaxy_manage_systemd: no
34+
galaxy_create_user: true # False by default, as e.g. you might have a 'galaxy' user provided by LDAP or AD.
35+
galaxy_separate_privileges: true # Best practices for security, configuration is owned by 'root' (or a different user) than the processes
36+
galaxy_manage_paths: true # False by default as your administrator might e.g. have root_squash enabled on NFS. Here we can create the directories so it's fine.
37+
galaxy_manage_cleanup: true # Requires tmpwatch(8) or tmpreaper(8) present
38+
galaxy_tmpclean_dirs: "{{ csnt_galaxy_tmpclean_dirs }}"
39+
galaxy_layout: root-dir
40+
galaxy_root: /srv/galaxy
41+
galaxy_user: {name: "{{ galaxy_user_name }}", shell: /bin/bash}
42+
galaxy_commit_id: release_24.2
43+
galaxy_force_checkout: true
44+
miniconda_prefix: "{{ galaxy_tool_dependency_dir }}/_conda"
45+
miniconda_version: 24.11.1
46+
miniconda_channels: ['conda-forge', 'defaults']
47+
4348
# Galaxy Job Configuration
4449
galaxy_job_config:
4550
runners:

0 commit comments

Comments
 (0)