-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Discussion] Unify GitSource CRD & PiplelineResource of type Git #749
Comments
( edited the CRD type :) ) |
Thanks for opening this! Would you be interested in coming to one of the upcoming Tekton weekly calls to discuss some goals/ideas for unifying? I wholeheartedly agree with the idea of fewer CRDs :) |
Sure, I would love to, @dlorenc . |
Nice, I've added this to the agenda @sbose78 ! And here's the info on our working group meeting just in case you hadn't seen it yet. Talk to you soon! |
Sorry, will add this to my calendar and join the next one! |
Gonna close this for now, please re-open if still interested! |
Sounds good, @bobcatfish ! |
Hi,
I'm Shoubhik from the OpenShift Developer Console team.
The DevConsole operator team is using a CRD called
GitSource
which represents a Git repo. Here's how it looks likehttps://github.com/redhat-developer/devconsole-operator/blob/master/deploy/crds/devconsole_v1alpha1_gitsource_crd.yaml
We use this for in our suite of CRDs which also consists of Component CRD and GitSourceAnalysis CRD. The GitSource CRD has a controller which verifies the Git 'connection' for the repository and writes an assertive/negative to the
status
field.The structure/spec has been inspired from the
BuildConfig
type and the reason we went for a new CRD altogether is because we wanted to store Git Source information in a way that we are able to use this outside the context ofBuildConfig
as well. Example, a user can import an application in OpenShift Developer Console and then launch it inChe
in which case we could use theGitSource
belonging to the associated appComponent
in Che for cloning code into Che ( and other Che to Git operations )I feel the goal of
PipelineResource
of type 'git' andGitSource
is similar - and should try unifying the effort :)Let me know your thoughts!
The text was updated successfully, but these errors were encountered: