Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Extract the ApplyReplacements logic from ApplyTemplate. #415

Merged
merged 1 commit into from
Oct 11, 2018

Conversation

dlorenc
Copy link
Contributor

@dlorenc dlorenc commented Oct 11, 2018

This functionality will be used in build-pipeline as well, and reusing
this logic will help ensure consistency.

Should be used for tektoncd/pipeline#64

Proposed Changes

  • Extract logic from ApplyTemplate into a new, public function ApplyReplacements

Release Note

NONE

/lint

Copy link

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@dlorenc: 0 warnings.

In response to this:

This functionality will be used in build-pipeline as well, and reusing
this logic will help ensure consistency.

Should be used for tektoncd/pipeline#64

Proposed Changes

  • Extract logic from ApplyTemplate into a new, public function ApplyReplacements

Release Note

NONE

/lint

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

pkg/builder/common.go Show resolved Hide resolved
@dlorenc
Copy link
Contributor Author

dlorenc commented Oct 11, 2018

/assign @imjasonh

This functionality will be used in build-pipeline as well, and reusing
this logic will help ensure consistency.
@knative-metrics-robot
Copy link

The following is the coverage report on pkg/.
Say /test pull-knative-build-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/builder/common.go 93.6% 94.0% 0.4

Copy link
Contributor

@shashwathi shashwathi left a comment

Choose a reason for hiding this comment

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

/lgtm

@dlorenc
Copy link
Contributor Author

dlorenc commented Oct 11, 2018

@shashwathi can i get an /approve as well?

@shashwathi
Copy link
Contributor

/approve

(Sorry :( )

@knative-prow-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dlorenc, shashwathi, vdemeester

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot merged commit 92a1258 into knative:master Oct 11, 2018
vdemeester pushed a commit to vdemeester/knative-build that referenced this pull request Apr 3, 2019
This functionality will be used in build-pipeline as well, and reusing
this logic will help ensure consistency.
vdemeester pushed a commit to vdemeester/knative-build that referenced this pull request Apr 3, 2019
This functionality will be used in build-pipeline as well, and reusing
this logic will help ensure consistency.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants