-
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
Rename PipelineResourceResult to RunResult #6434
Rename PipelineResourceResult to RunResult #6434
Conversation
b2ef1cc
to
bedaa5c
Compare
e80267a
to
7f700e5
Compare
@@ -30,68 +30,68 @@ import ( | |||
|
|||
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { | |||
return map[string]common.OpenAPIDefinition{ | |||
"github.com/tektoncd/pipeline/pkg/apis/pipeline/pod.AffinityAssistantTemplate": schema_pkg_apis_pipeline_pod_AffinityAssistantTemplate(ref), |
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.
also I am confused by how ./hack.update-codegen
has behaved on my local env of m1 macOS, I have put the tekton/pipeline repo under $GOPATH but this seems to be very wrong of changing schema_pkg_apis ref to local 🤔
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.
I'm not sure what the "recommended" approach is but I don't set GOPATH, and the scripts should set up a temporary GOPATH for codegen. Try clearing that env var, running codegen again, and if it's still not working for you, you can open an issue.
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.
Thanks, I have tried unsetting the env variable. But it sill swapped all github paths to my local paths and caused the diff issue. I opened issue to track at #6485
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.
thanks Jerome! Please update the PR title
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lbernick The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
7f700e5
to
83d9e42
Compare
83d9e42
to
6080f65
Compare
fa34ad6
to
758b16a
Compare
This commit renames PipelineResourceResult Golang struct to RunResult. No functional changes.
758b16a
to
87b92d5
Compare
/lgtm |
Changes
This commit renames PipelineResourceResult Golang struct to PipelineInternalResult. No functional changes.
A followup PR for #6434 will move the renamed struct to a proper space since resource_types is no longer used after the removal of all PipelineResources.
part of #6197
/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes