Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container to container resolver XML file to YAML #868

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bgruening
Copy link
Member

No description provided.

@@ -415,7 +415,7 @@ galaxy_config_templates:
dest: "{{ galaxy_server_dir }}/lib/galaxy/tools/toolbox/filters/global_host_filters.py"
- src: "{{ galaxy_config_template_src_dir }}/config/job_conf.yml.j2"
dest: "{{ galaxy_config_dir }}/job_conf.yml"
- src: "{{ galaxy_config_template_src_dir }}/config/container_resolvers_conf.xml.j2"
- src: "{{ galaxy_config_template_src_dir }}/config/container_resolvers_conf.yml.j2"
dest: "{{ galaxy_config_dir }}/container_resolvers_conf.xml"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dest: "{{ galaxy_config_dir }}/container_resolvers_conf.xml"
dest: "{{ galaxy_config_dir }}/container_resolvers_conf.yml"

@@ -451,7 +451,7 @@ galaxy_config_templates:
dest: "{{ galaxy_server_dir }}/lib/galaxy/tool_util/toolbox/filters/global_host_filters.py"
- src: "{{ galaxy_config_template_src_dir }}/config/job_conf.yml.j2"
dest: "{{ galaxy_config_dir }}/job_conf.yml"
- src: "{{ galaxy_config_template_src_dir }}/config/container_resolvers_conf.xml.j2"
- src: "{{ galaxy_config_template_src_dir }}/config/container_resolvers_conf.yml.j2"
dest: "{{ galaxy_config_dir }}/container_resolvers_conf.xml"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dest: "{{ galaxy_config_dir }}/container_resolvers_conf.xml"
dest: "{{ galaxy_config_dir }}/container_resolvers_conf.yml"

# checks if the image file exists in `cache_directory`
- type: cached_mulled_singularity
#namespace: biocontainers
cache_directory: "/cvmfs/singularity.galaxyproject.org/all/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cache_directory: "/cvmfs/singularity.galaxyproject.org/all/"
cache_directory: "{{ galaxy_singularity_images_cvmfs_path }}"

#
# If true return quay.io/NAMESPACE/MULLED_HASH otherwise to the cached image
# which is also quay.io/NAMESPACE/MULLED_HASH in case of docker
#auto_install: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#auto_install: true
auto_install: true

We have auto install explicitly set to true in the XML version of the file, although judging by the description, I don't even think it makes a difference.

# and note the minor difference in the default for `cache_directory`
cache_directory: "/cvmfs/singularity.galaxyproject.org/all/"
#cache_directory_cacher_type: uncached

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
auto_install: true

Same story as before, we have true in the XML version.

@@ -0,0 +1,128 @@
# Sample file for container resolvers. Resolvers that are potentially used by default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Sample file for container resolvers. Resolvers that are potentially used by default
# Configuration file for container resolvers. Resolvers that are potentially used by default

Just because the file is used in production now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants