Skip to content

Commit

Permalink
Merge pull request #1131 from mira-miracoli/roll-back-job-conf-native…
Browse files Browse the repository at this point in the history
…-condor

remove condor-secondary from job conf
  • Loading branch information
mira-miracoli authored Mar 27, 2024
2 parents 7837d47 + 604cf88 commit 4f1694a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 34 deletions.
2 changes: 0 additions & 2 deletions group_vars/sn06.yml
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,6 @@ galaxy_config_templates:
dest: "{{ galaxy_config_dir }}/grt.yml"
- src: "{{ galaxy_config_template_src_dir }}/config/pulsar_app.yml"
dest: "{{ galaxy_config_dir }}/pulsar_app.yml"
- src: "{{ galaxy_config_template_src_dir }}/config/pulsar_app_secondary.yml"
dest: "{{ galaxy_config_dir }}/pulsar_app_secondary.yml"
- src: "{{ galaxy_config_template_src_dir }}/config/tool_conf.xml.j2"
dest: "{{ galaxy_config_dir }}/tool_conf.xml"
- src: "{{ galaxy_config_template_src_dir }}/config/galaxy_workflow_scheduler.j2"
Expand Down
9 changes: 0 additions & 9 deletions templates/galaxy/config/job_conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,11 @@ galaxy_jobconf:
#workers: 3
- id: condor
load: galaxy.jobs.runners.condor:CondorJobRunner
- id: condor_secondary
load: galaxy.jobs.runners.condor:CondorJobRunner
params:
condor_rm_cmd: "sudo {{ nspawn_condor_rm_command }}"
condor_ssh_to_job_cmd: "sudo {{ nspawn_condor_ssh_to_job_command }}"
condor_submit_cmd: "sudo {{ nspawn_condor_submit_command }}"
- id: local
load: galaxy.jobs.runners.local:LocalJobRunner
- id: pulsar_embedded
load: galaxy.jobs.runners.pulsar:PulsarEmbeddedJobRunner
pulsar_config: "{{ galaxy_config_dir }}/pulsar_app.yml"
- id: pulsar_embedded_secondary
load: galaxy.jobs.runners.pulsar:PulsarEmbeddedJobRunner
pulsar_config: "{{ galaxy_config_dir }}/pulsar_app_secondary.yml"

- id: pulsar_eu_it01
load: galaxy.jobs.runners.pulsar:PulsarMQJobRunner
Expand Down
14 changes: 0 additions & 14 deletions templates/galaxy/config/job_conf.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -136,17 +136,3 @@ limits:
window: {{ limit['window'] }}
{% endif %}
{% endfor %}
{# Replicate destination limits for the secondary HTCondor cluster #}
{% for limit in galaxy_jobconf['limits'] | sort(attribute='type') %}
{% if limit['type'].startswith('destination_') and 'id' in limit
and (limit['id'].startswith('condor_') or limit['id'].startswith('interactive_pulsar')) %}
- type: {{ limit['type'] }}
value: {{ limit['value'] }}
id: secondary_{{ limit['id'] }}
{% if 'tag' in limit %}
tag: {{ limit['tag'] }}
{% elif 'window' in limit %}
window: {{ limit['window'] }}
{% endif %}
{% endif %}
{% endfor %}
9 changes: 0 additions & 9 deletions templates/galaxy/config/pulsar_app_secondary.yml

This file was deleted.

0 comments on commit 4f1694a

Please sign in to comment.