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

Accept extra vars files in synchronize.py #232

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

kysrpex
Copy link
Contributor

@kysrpex kysrpex commented Nov 8, 2023

This PR enables extra vars files to be passed to synchronize.py using the --vars-file argument (repeat the argument to pass multiple files).

synchronize.py will use the extra variables when templating userdata.yaml.j2.

The immediate use of this is to add the mounts repository as a Git submodule to this one, pass mountpoints.yml as an extra vars file, and move the contents of vgcn-mounts.yml.j2 to userdata.yaml.j2.

We did not do this in the past because userdata.yaml.j2 was not a Jinja template.

Extra vars files can be passed to synchronize.py using the `--vars-file` argument (repeat the argument to pass multiple files).

synchronize.py will use the extra variables when templating userdata.yaml.j2.
@kysrpex kysrpex merged commit f3e91f0 into usegalaxy-eu:main Nov 8, 2023
2 checks passed
@kysrpex kysrpex deleted the extra_vars_files branch November 8, 2023 10:24
kysrpex added a commit to kysrpex/usegalaxy-eu-vgcn-infrastructure that referenced this pull request Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants