Navigation Menu

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

fix for create env on prow and add filtering to jx get build log on tekton #3286

Merged
merged 6 commits into from Mar 6, 2019

Conversation

jstrachan
Copy link
Member

No description provided.

@@ -502,7 +502,7 @@ func (o *GetBuildLogsOptions) loadPipelines(kubeClient kubernetes.Interface, tek
log.Warnf("Error creating PipelineRunInfo for PipelineRun %s: %s\n", pr.Name, err)
return names, defaultName, buildMap, pipelineMap, err
}
if pri != nil {
if pri != nil && o.BuildFilter.BuildMatches(pri.ToBuildPodInfo()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we'll eventually want to change BuildFilter to be a PipelineRunInfoFilter, but it does seem easier to just keep it compatible for now.

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah - or we could have a filter interface which we support on both BuildRunInfo and PipeilneRunInfo that both take the filter parmeters and do their thing

@abayer
Copy link
Contributor

abayer commented Mar 6, 2019

/lgtm

@jstrachan
Copy link
Member Author

/test this

@jenkins-x-bot jenkins-x-bot removed the lgtm label Mar 6, 2019
@garethjevans
Copy link
Member

/lgtm

@jenkins-x-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abayer, garethjevans

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:
  • OWNERS [abayer,garethjevans]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@abayer
Copy link
Contributor

abayer commented Mar 6, 2019

/test this

@jstrachan jstrachan merged commit 0913f0b into jenkins-x:master Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants