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

Fix pushing of image to a private repository #895

Merged
merged 2 commits into from
Jan 4, 2018
Merged

Fix pushing of image to a private repository #895

merged 2 commits into from
Jan 4, 2018

Conversation

Code0x58
Copy link
Contributor

@Code0x58 Code0x58 commented Dec 15, 2017

This is to test and fix #893

p.s. The existing tests/platform flaked on OpenShift

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 15, 2017
@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


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. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Dec 15, 2017
@Code0x58 Code0x58 changed the title Fix pushing of image to a private repository [WIP] Fix pushing of image to a private repository Dec 15, 2017
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 15, 2017
@Code0x58 Code0x58 changed the title [WIP] Fix pushing of image to a private repository Fix pushing of image to a private repository Dec 15, 2017
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 15, 2017
@Code0x58 Code0x58 changed the title Fix pushing of image to a private repository [WIP] Fix pushing of image to a private repository Dec 16, 2017
@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 16, 2017
@Code0x58 Code0x58 changed the title [WIP] Fix pushing of image to a private repository Fix pushing of image to a private repository Dec 26, 2017
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 26, 2017
@Code0x58
Copy link
Contributor Author

I finally got this sorted, the issue with using the default registry was that it wasn't available by the time the docker login was running, this generally wouldn't have been an issue for tests as the pods would fail to pull and then back off before retrying, usually not exceeding the test's timeout.

The issue is reproduced in tests; I don't feel Semaphore CI is doing the tests properly, as it shows the first commit as passing although it doesn't. I am wondering if it has ran the HEAD of the PR twice instead of running each commit in the PR.

Bonus: I think this change will reduce the odds of the first test timing out.

@cdrage
Copy link
Member

cdrage commented Jan 2, 2018

Holy moley. Good test coverage 👍

I see absolutely nothing wrong with the code. Thank you for covering everything from integration to unit tests.

Tests pass, code looks good, LGTM 👍

Copy link
Member

@cdrage cdrage left a comment

Choose a reason for hiding this comment

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

@kadel @surajnarwade second look?

@cdrage
Copy link
Member

cdrage commented Jan 4, 2018

I'd like to get this in for this month's release, so I'm going to merge it in 👍 Thanks a lot @Code0x58 for the PR!

@cdrage cdrage merged commit 9bbab87 into kubernetes:master Jan 4, 2018
@Code0x58 Code0x58 deleted the 893-fix-image-push branch January 4, 2018 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. 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.

Unable to push to (private) registry
3 participants