Skip to content

Conversation

vdemeester
Copy link
Member

Changes

This is part of a set of changes to make sure we don't define CLI
flags in our pkg/… packages… so that importing packages from there
do not pollute the cli flags.

Follow-up of #1348, Closes #1309

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Double check this list of stuff that's easy to miss:

Reviewer Notes

If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.

This allows to use that struct from other package more safely, aka
without depending on reconciler package(s).

Signed-off-by: Vincent Demeester <[email protected]>
This is part of a set of changes to make sure we don't define CLI
flags in our `pkg/…` packages… so that importing packages from there
do not pollute the cli flags.

Signed-off-by: Vincent Demeester <[email protected]>
This is part of a set of changes to make sure we don't define CLI
flags in our `pkg/…` packages… so that importing packages from there
do not pollute the cli flags.

Signed-off-by: Vincent Demeester <[email protected]>
This is part of a set of changes to make sure we don't define CLI
flags in our `pkg/…` packages… so that importing packages from there
do not pollute the cli flags.

Signed-off-by: Vincent Demeester <[email protected]>
This is part of a set of changes to make sure we don't define CLI
flags in our `pkg/…` packages… so that importing packages from there
do not pollute the cli flags.

Signed-off-by: Vincent Demeester <[email protected]>
This is part of a set of changes to make sure we don't define CLI
flags in our `pkg/…` packages… so that importing packages from there
do not pollute the cli flags.

Signed-off-by: Vincent Demeester <[email protected]>
…oller

This is part of a set of changes to make sure we don't define CLI
flags in our `pkg/…` packages… so that importing packages from there
do not pollute the cli flags.

Signed-off-by: Vincent Demeester <[email protected]>
This is part of a set of changes to make sure we don't define CLI
flags in our `pkg/…` packages… so that importing packages from there
do not pollute the cli flags.

Signed-off-by: Vincent Demeester <[email protected]>
@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Oct 3, 2019
@tekton-robot tekton-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Oct 3, 2019
@vdemeester vdemeester changed the title No more global flags 2 Move nopImage and entrypointImage from pkg/… package to cmd/controller Oct 3, 2019
@tekton-robot
Copy link
Collaborator

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

File Old Coverage New Coverage Delta
pkg/artifacts/artifacts_storage.go 80.9% 81.3% 0.4

@chmouel
Copy link
Member

chmouel commented Oct 3, 2019

😻

…ontroller

This is part of a set of changes to make sure we don't define CLI
flags in our `pkg/…` packages… so that importing packages from there
do not pollute the cli flags.

Signed-off-by: Vincent Demeester <[email protected]>
@vdemeester vdemeester force-pushed the no-more-global-flags-2 branch from 5f205e2 to 364ec8a Compare October 4, 2019 05:49
@tekton-robot
Copy link
Collaborator

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

File Old Coverage New Coverage Delta
pkg/artifacts/artifacts_storage.go 80.9% 81.1% 0.2

@vdemeester
Copy link
Member Author

/cc @sbwsg @imjasonh
(as you reviewed the first one too)

@tekton-robot tekton-robot requested review from imjasonh and a user October 4, 2019 06:50
@ghost
Copy link

ghost commented Oct 4, 2019

/lgtm

@tekton-robot tekton-robot assigned ghost Oct 4, 2019
@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 4, 2019
@dlorenc
Copy link
Contributor

dlorenc commented Oct 7, 2019

/approve

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dlorenc

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 7, 2019
@tekton-robot tekton-robot merged commit 7962731 into tektoncd:master Oct 7, 2019
@vdemeester vdemeester deleted the no-more-global-flags-2 branch October 7, 2019 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

importing the pipeline api pollutes flags
5 participants