Skip to content

Conversation

@imjasonh
Copy link
Member

These values were previously defined in two places (here in flag
defaults, and in config/controller.yaml), which could lead to confusing
mismatches (#3007)

/cc @dlorenc

Submitter Checklist

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

  • [y] Includes tests (if functionality changed/added)
  • [n] Includes docs (if user facing)
  • [y] Commit messages follow commit message best practices
  • [y] Release notes block has been filled in or deleted (only if no user facing changes)

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.

Release Notes

Image names passed as flags in config/controller.yaml are now required -- there are no longer default values defined,  and a missing flag value will result in a fatal error when starting the controller.

@tekton-robot tekton-robot requested a review from dlorenc July 27, 2020 17:15
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jul 27, 2020
@imjasonh
Copy link
Member Author

/kind cleanup

@tekton-robot tekton-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 27, 2020
@imjasonh imjasonh force-pushed the no-default-images branch from 8de593b to 3b4f9f8 Compare July 27, 2020 17:19
@tekton-robot
Copy link
Collaborator

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

File Old Coverage New Coverage Delta
pkg/apis/pipeline/images.go Do not exist 100.0%

@dlorenc
Copy link
Contributor

dlorenc commented Jul 27, 2020

Hah, nice. Much better than my ideas of a weird test to make sure they match.

@dlorenc
Copy link
Contributor

dlorenc commented Jul 27, 2020

/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 Jul 27, 2020
These values were previously defined in two places (here in flag
defaults, and in config/controller.yaml), which could lead to confusing
mismatches (tektoncd#3007)
@imjasonh imjasonh force-pushed the no-default-images branch from 3b4f9f8 to 2d7d529 Compare July 30, 2020 18:46
@tekton-robot
Copy link
Collaborator

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

File Old Coverage New Coverage Delta
pkg/apis/pipeline/images.go Do not exist 100.0%

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.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 31, 2020
@tekton-robot tekton-robot merged commit adf4df0 into tektoncd:master Jul 31, 2020
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. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants