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

Use templates dir when building the new app #95

Merged
merged 1 commit into from
Oct 19, 2018

Conversation

dirgim
Copy link
Collaborator

@dirgim dirgim commented Oct 17, 2018

Right now, we change to the config/ directory of the project when building with new-app which doesn't work when we supply an alternative os_template_dir parameter, especially if the config directory doesn't exist.
This change uses the os_templates_dir when determining where to go when building the templates, moving one level up from the supplied directory.
This doesn't modify the default behavior as the default value for os_templates_dir is "config/s2i", so we still change to "config" dir when building.

Copy link
Member

@arilivigni arilivigni left a comment

Choose a reason for hiding this comment

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

LGTM

@dirgim
Copy link
Collaborator Author

dirgim commented Oct 19, 2018

[merge]

@adl-bot adl-bot merged commit c383efc into CentOS-PaaS-SIG:master Oct 19, 2018
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.

None yet

3 participants