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

Google/ko 5.0+ requires images to be prefixed by ko:// . #2675

Merged

Conversation

akram
Copy link
Contributor

@akram akram commented May 22, 2020

Changes

Adds ko:// scheme to images used by ko

See ko-build/ko#158

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.

Release Notes

Adds ko:// scheme to images used by ko (dev only)

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 22, 2020

CLA Check
The committers are authorized under a signed CLA.

@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 22, 2020
@tekton-robot
Copy link
Collaborator

Hi @akram. Thanks for your PR.

I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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
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.

2 similar comments
@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

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.

@afrittoli
Copy link
Member

Thanks for this.

We tried this before (#2216, #2216) but we reverted it (#2561, #2624, #2624) because it broke our release process, there is an issue (ko-build/ko#164) with ko when using ko:// and the -P (preserve path) flag.

As far as I can see the issue on ko side is still open. I would prefer once the issue is solved on ko side to revert the reverts and get the ko:// back in that way.

@akram
Copy link
Contributor Author

akram commented May 23, 2020

note @afrittoli
I will keep it up to you close the PR if it is a dup or let it open if it could be helpful in a close future.

@vdemeester
Copy link
Member

/cc @mattmoor @bobcatfish what is the status on ko and our previous failures on using ko:// ? 🙃

@bobcatfish
Copy link
Collaborator

@vdemeester afaik someone needs to experiment with changing the yamls back to using ko:// and possibly bumping the pinned version of ko we are building into the gcloud images

as a bonus it would be great to understand more about how the version pinning actually works since it doesnt seem to guarantee that we get the pinned version at all

@mattmoor
Copy link
Member

mattmoor commented Jun 2, 2020

I linked what we're doing in the Knative prow images from the linked issue above.

As far as I know 0.5.1 (what we pin) fixes what you are seeing and HEAD has a further fix for "local" mode, which we've been using successfully with KinD for weeks now.

@vdemeester
Copy link
Member

/kind misc
/ok-to-test

@tekton-robot tekton-robot added kind/misc Categorizes issue or PR as a miscellaneuous one. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jul 6, 2020
@vdemeester vdemeester force-pushed the fix-ko-5.0-compatibility-warnings branch from fad4250 to 128a8a4 Compare July 6, 2020 12:26
@tekton-robot tekton-robot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Jul 6, 2020
@vdemeester
Copy link
Member

/kind misc
Rebased and updated the release-note part.

/lgtm

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

/test pull-tekton-pipeline-integration-tests

@bobcatfish
Copy link
Collaborator

let's give it a shot

/approve

@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 Jul 6, 2020
@bobcatfish
Copy link
Collaborator

Looks like #2850 should have fixed the cancel tests, however it did get merged 4 hours ago and the latest flake was 1 hour ago so maybe we should keep an eye on it.

@vdemeester
Copy link
Member

test TestPipelineLevelFinally_OneDAGTaskFailed_Failure 1m26s.. a new one…
/retest

@tekton-robot tekton-robot merged commit f51e09e into tektoncd:master Jul 6, 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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants