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

Clean up mirror and support quay.io pushing #19016

Merged
merged 2 commits into from
Mar 22, 2018

Conversation

smarterclayton
Copy link
Contributor

@smarterclayton smarterclayton commented Mar 18, 2018

quay.io doesn't have schema2 support yet, tolerate it in oc image mirror. Also add file support.

Does some preparator refactoring for adding parallel pushing support.

@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 18, 2018
@mfojtik mfojtik requested review from dmage and bparees and removed request for enj March 19, 2018 12:26
@dmage
Copy link
Contributor

dmage commented Mar 19, 2018

@smarterclayton is it a typo or does quay really not have schema 1 support?

@smarterclayton
Copy link
Contributor Author

Typo, they lack schema2 (are working on it now)

@smarterclayton
Copy link
Contributor Author

Any comments? I'm trying to get mirror ready to sync lots of images to quay, then I'll start adding test suites around it. More iterative dev right now so we can get to a beta state for this command.

}
line = strings.TrimSpace(line)
if len(line) == 0 {
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

It will go to the next line without incrementing lineNumber.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks

@dmage
Copy link
Contributor

dmage commented Mar 20, 2018

Converting schema 2 into schema 1 looks good. Everything else doesn't seem changed.

@smarterclayton
Copy link
Contributor Author

Thanks, updated

@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 20, 2018
Enable short term quay.io support (which doesn't support schema1) by
down converting when we get an invalid manifest error. Also support
arguments from file.
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smarterclayton

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

@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Mar 20, 2018
@smarterclayton
Copy link
Contributor Author

/retest

@smarterclayton smarterclayton added the lgtm Indicates that a PR is ready to be merged. label Mar 21, 2018
@smarterclayton
Copy link
Contributor Author

Tagging based on comments, let me know if there's something still to change and I'll do it in the follow on to this PR (adding planning for a mirror)

@smarterclayton
Copy link
Contributor Author

stupid job, work

@smarterclayton
Copy link
Contributor Author

/test cmd

@soltysh
Copy link
Contributor

soltysh commented Mar 22, 2018

/retest

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue (batch tested with PRs 18905, 18968, 19016, 19037, 19056).

@openshift-merge-robot openshift-merge-robot merged commit 53d3716 into openshift:master Mar 22, 2018
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. lgtm Indicates that a PR is ready to be merged. 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.

5 participants