Skip to content

Commit 08a9583

Browse files
committed
update tpv doc
1 parent 5e3eb1e commit 08a9583

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: tpv.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
11
# Total Perspective Vortex
22

3+
- [Total Perspective Vortex](#total-perspective-vortex)
4+
- [Galaxy job configuration](#galaxy-job-configuration)
5+
- [Entities and rules](#entities-and-rules)
6+
- [General approach to tagging system (Scheduling)](#general-approach-to-tagging-system-scheduling)
7+
- [How to configure routing all jobs to the remote Pulsar (including files upload)](#how-to-configure-routing-all-jobs-to-the-remote-pulsar-including-files-upload)
8+
- [tpv\_auto\_lint](#tpv_auto_lint)
9+
- [References](#references)
10+
- [Author Information](#author-information)
11+
312

413
In UseGalaxy.it Galaxy can run jobs using local resources within the same VM or can assign them to the local HTCondor Executors or a remote Pulsar node.
514

615
In order to route the jobs to the appropriate location with the appropriate resources available, [Total Perspective Vortex (TPV)](https://total-perspective-vortex.readthedocs.io/en/latest/index.html) Python library is used. TPV provides a set of dynamic rules that can route entities (tools, users, roles) to appropriate destinations based on a tagging system.
716

817
The rules are stored in [`./files/galaxy/tpv`](https://github.com/usegalaxy-it/infrastructure-playbook/tree/master/files/galaxy/tpv) and are copied to Galaxy confing directory during the execution of `sn06.yml` playbook.
918

19+
## Galaxy job configuration
20+
1021
Galaxy should be configured to use TPV in the galaxy_jobconf, which is set in the [sn06 group_vars](https://github.com/usegalaxy-it/infrastructure-playbook/blob/master/group_vars/sn06.yml)
1122

1223
Exapmle of the UseGalaxy.it Galaxy job configuration:
@@ -126,6 +137,7 @@ tools:
126137
............
127138

128139
# destinations.yml
140+
---
129141
destinations:
130142
pulsar_it03_tpv:
131143
inherits: pulsar_default

0 commit comments

Comments
 (0)