-
Notifications
You must be signed in to change notification settings - Fork 23
Reduce duplication in pulp.yml #580
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
Conversation
Interacts with: #578 |
FWIW, I had some help in reviewing this:
Annoyingly this didn't work, and barfed at some inline vault stuff. A small hand edit of
|
Hold on, you don't need the workaround when using |
c80fa5c
to
976a602
Compare
etc/kayobe/pulp.yml
Outdated
{%- set name = repo.distribution_name ~ 'development' -%} | ||
{%- set base_path = repo.base_path ~ 'development' -%} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{%- set name = repo.distribution_name ~ 'development' -%} | |
{%- set base_path = repo.base_path ~ 'development' -%} | |
{%- set name = repo.distribution_name ~ 'production' -%} | |
{%- set base_path = repo.base_path ~ 'production' -%} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
976a602
to
283cc79
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice
Uses the same approach as stackhpc-release-train for generating Pulp repository and distribution lists.