Skip to content

Commit

Permalink
style: Adjust variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Sep 19, 2024
1 parent 5d8ec10 commit 918e52c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions roles/player/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ fp_parameter_file: parameters.yaml
fp_image_registry: ''
fp_image_name: informaticsmatters/fragmentor-player
fp_image_tag: '1.2.0'
fp_image_pull_policy: 'IfNotPresent'

# The nextflow version to run.
# The player image generally contains the 'latest' nextflow version.
Expand All @@ -47,8 +46,10 @@ fp_image_pull_policy: 'IfNotPresent'
#
# See https://github.com/nextflow-io/nextflow/issues/1902
fp_nextflow_version: '21.02.0-edge'
# And the Nextflow queue size
fp_nextflow_queue_size: 100
# And the Nextflow executor queue size
fp_nextflow_executor_queue_size: 100
# And Pod pull policy
fp_nextflow_pod_image_pull_policy: 'IfNotPresent'

# A pull-secret for public images pulled from DockerHub.
# If set this is the base-64 string that can be used as the value
Expand Down
4 changes: 2 additions & 2 deletions roles/player/tasks/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

- name: Assert queue size
assert:
that: fp_nextflow_queue_size|int > 0
fail_msg: You must set a sensible 'fp_nextflow_queue_size'
that: fp_nextflow_executor_queue_size|int > 0
fail_msg: You must set a sensible 'fp_nextflow_executor_queue_size'

# Assert the Kubernetes config has been named and exists

Expand Down
4 changes: 2 additions & 2 deletions roles/player/templates/configmap-nextflow-config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ data:
{% if all_image_preset_pullsecret_name|string|length > 0 %}
imagePullSecret: '{{ all_image_preset_pullsecret_name }}',
{% endif %}
imagePullPolicy: '{{ fp_image_pull_policy }}'
imagePullPolicy: '{{ fp_nextflow_pod_image_pull_policy }}'
]
}
executor {
name = 'k8s'
queueSize = {{ fp_nextflow_queue_size }}
queueSize = {{ fp_nextflow_executor_queue_size }}
}
k8s {
serviceAccount = 'fragmentor'
Expand Down

0 comments on commit 918e52c

Please sign in to comment.