-
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
Design: Deployment build-pipeline-resource #68
Comments
I like it! I think this should be generic enough that we could define different types of deployers, e.g. |
We need to create bindings between the Resources Tasks need and the Resources we have. We were previously using `key` to identify which of a Task's Resource needs we were binding one of our existing Resources to, but @pivotal-nader-ziada pointed out that `Name` is a more straightforward and clear option. I considered updating the cluster binding as well, but since #68 is a work in progress I figured it would cause less conflicts to leave it. I also deleted `PipelineResourceVersion` b/c this seems to duplicate `TaskRunResourceVersion`, only exists in `Status`, isn't currently being used and doesn't have a clear purpose at the moment. We can add those fields back into `Status` if we feel like we need them later.
We need to create bindings between the Resources Tasks need and the Resources we have. We were previously using `key` to identify which of a Task's Resource needs we were binding one of our existing Resources to, but @pivotal-nader-ziada pointed out that `Name` is a more straightforward and clear option. I considered updating the cluster binding as well, but since #68 is a work in progress I figured it would cause less conflicts to leave it. I also deleted `PipelineResourceVersion` b/c this seems to duplicate `TaskRunResourceVersion`, only exists in `Status`, isn't currently being used and doesn't have a clear purpose at the moment. We can add those fields back into `Status` if we feel like we need them later.
We need to create bindings between the Resources Tasks need and the Resources we have. We were previously using `key` to identify which of a Task's Resource needs we were binding one of our existing Resources to, but @pivotal-nader-ziada pointed out that `Name` is a more straightforward and clear option. I considered updating the cluster binding as well, but since #68 is a work in progress I figured it would cause less conflicts to leave it. I also deleted `PipelineResourceVersion` b/c this seems to duplicate `TaskRunResourceVersion`, only exists in `Status`, isn't currently being used and doesn't have a clear purpose at the moment. We can add those fields back into `Status` if we feel like we need them later.
In my view a deployment output resource would be the output of a deployment task, so it would contain the metadata which resulted from the deployment, e.g. the release name and version in case of helm and perhaps a cluster resource. This could basically provide a kind of standard interface to tasks / pipelines who wanted to access the deployed "app" and that could work regardless of the deployment technology used in the deployment step. However I don't think the deployment output resource should take care of the deployment itself, there should be a deployment task. Similar to how the image output resource does not take care of building and pushing an image, it will only receive the metadata of the built image from a kaniko task or some other build task. |
Don't think this is as relevant anymore given that PipelineResources are not in beta? @sbwsg can we close this? |
Yeah this doesn't look like it's hugely relevant anymore in the face of all the changes that have gone on around resources. If someone does want to revisit this specific idea then they can always reopen. |
The work for this task is to design this feature and present one or more proposals (before implementing).
Expected Behavior
A common expectation of a pipeline is to deploy the created application/function on some cluster
The
deploy
resource should satisfy the following requirements:an example definition of a pipeline
and an example of a resource
Actual Behavior
We have no resource currently to deploy using helm chart or otherwise
Additional Info
The text was updated successfully, but these errors were encountered: