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

Externalize Affinity Assistant image #2751

Conversation

jlpettersson
Copy link
Member

Changes

Container images should not be hardcoded.
This commit externalize what image should be used for the Affinity Assistant.

/kind misc
Related to #2640

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.

@tekton-robot tekton-robot added the kind/misc Categorizes issue or PR as a miscellaneuous one. label Jun 4, 2020
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 4, 2020
@tekton-robot
Copy link
Collaborator

This PR cannot be merged: expecting exactly one kind/ label

Available kind/ labels are:

kind/bug: Categorizes issue or PR as related to a bug.
kind/flake: Categorizes issue or PR as related to a flakey test
kind/cleanup: Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/design: Categorizes issue or PR as related to design.
kind/documentation: Categorizes issue or PR as related to documentation.
kind/feature: Categorizes issue or PR as related to a new feature.
kind/misc: Categorizes issue or PR as a miscellaneuous one.

@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/reconciler/pipelinerun/affinity_assistant.go 91.8% 92.0% 0.2

@vdemeester vdemeester added this to the Pipelines 0.13 🐱 milestone Jun 4, 2020
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.

config/controller.yaml Outdated Show resolved Hide resolved
@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 4, 2020
@cameronbraid
Copy link

What is wrong with using the tekton controller image with a new entrypoint that just sleeps indefinitely ? Then a second image pull is not required, and will always be present.

Copy link
Collaborator

@bobcatfish bobcatfish left a comment

Choose a reason for hiding this comment

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

Added a couple quick comments, as soon as we get this in I can make a 0.13.1 release!

config/controller.yaml Outdated Show resolved Hide resolved
@jlpettersson jlpettersson force-pushed the externalize_affinity_assistant_image branch from 3848cfa to cd5b5bf Compare June 8, 2020 20:28
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Jun 8, 2020
@jlpettersson jlpettersson force-pushed the externalize_affinity_assistant_image branch from cd5b5bf to 9d7cf12 Compare June 8, 2020 20:34
@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/reconciler/pipelinerun/affinity_assistant.go 91.5% 91.7% 0.2

Copy link
Collaborator

@bobcatfish bobcatfish left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

thanks for the quick turnaround @jlpettersson !

as soon as we get this in I can make a 0.13.1 release!

since it turned out there were a couple other fixes we wanted to get into 0.13.1 my plan is to aim for releasing wednesday (https:/tektoncd/pipeline/milestone/29 for the list)


# This image is used as a placeholder pod, the Affinity Assistant
# TODO(#2640) We may want to create a custom, minimal binary
# As of June 8, 2020, tag 1.19.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 thanks!!

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 8, 2020
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bobcatfish

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 Jun 8, 2020
@bobcatfish
Copy link
Collaborator

/meow

@tekton-robot
Copy link
Collaborator

@bobcatfish: cat image

In response to this:

/meow

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.

@jlpettersson
Copy link
Member Author

Auto-merging config/controller.yaml
CONFLICT (content): Merge conflict in config/controller.yaml
Automatic merge failed; fix conflicts and then commit the result.

From the integration test. Yes, I had fixed the rebase-conflict. But what do I need to do now? Fix it in a different way? Manual merge?

Container images should not be hardcoded.
This commit externalize what image should be used for the Affinity Assistant.

/kind misc
@jlpettersson jlpettersson force-pushed the externalize_affinity_assistant_image branch from 9d7cf12 to 013d64c Compare June 8, 2020 21:30
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Jun 8, 2020
@jlpettersson
Copy link
Member Author

I moved my changes in controller.yaml to avoid merge conflicts with #2781

@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/reconciler/pipelinerun/affinity_assistant.go 91.5% 91.7% 0.2

@vdemeester vdemeester added the needs-cherry-pick Indicates a PR needs to be cherry-pick to a release branch label Jun 9, 2020
@bobcatfish
Copy link
Collaborator

I moved my changes in controller.yaml to avoid merge conflicts with #2781

nice!!! thanks for that extra attention to making this easy to cherry-pick

@bobcatfish
Copy link
Collaborator

/lgtm
/meow

@tekton-robot
Copy link
Collaborator

@bobcatfish: cat image

In response to this:

/lgtm
/meow

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.

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 9, 2020
@tekton-robot tekton-robot merged commit 3c1c49d into tektoncd:master Jun 9, 2020
@vdemeester vdemeester removed the needs-cherry-pick Indicates a PR needs to be cherry-pick to a release branch label Jun 11, 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/misc Categorizes issue or PR as a miscellaneuous one. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants