Closed sherl0cks closed 6 years ago
Seems like a lot of extra hoops to jump through every time we want to make a change, but I suppose we can if it is required.
@InfoSec812 that is a fair point. It would be nice to have one less repository to jump between. At minimum, we need consolidation. we have the same thing in two places, and that's not good. @oybed is interested in having the automation in this repo point to remote files. I just want a single source of truth, whatever it is.
My vote is on a single repo, this one, instead of the templates one. I'm also using this one to add more templates to it.
OK - I'm going to open a PR that merges https://github.com/rht-labs/openshift-templates here
🤗
I'm totally fine with consolidating and merging the ones from openshift-templates
into this repo to avoid having duplicates.
My points were the following:
1) labs-ci-cd
should be CI/CD related, so it doesn't make sense to add content that aren't related to CI/CD. Hence, we need to find a home for templates that currently don't have a home, but again I don't want to see everything just dumped into this repo. The openshift-templates
may be a good one to catch these other ones, or maybe there's a specific repo per implementation if that make sense.
2) The openshift-applier
supports both local and remote files. If the labs-ci-cd
only uses local files (i.e.: referenced as part of the local inventory), chances are that consumers of the labs-ci-cd
repo also just copies everything as-is and keep local copies in their own repo. The latter is fine, of course, if it's done on purpose (i.e: upstream github is not accessible, or some additional tweaks are needed), but also unnecessary in those cases where the "upstream" template can be referenced.
@oybed that makes sense. My apologies if in my brevity I didn't represent you fairly. I believe #14 meets the requirements you've outlined here. A few other thoughts:
We have https://github.com/rht-labs/openshift-templates. Can that be the home for templates, and the we reference them from here?