[Pulp-list] OpenShift's docker registry extensions in pulp

Michael Hrivnak mhrivnak at redhat.com
Fri Apr 24 12:51:13 UTC 2015


Tomas,

Your best option is to use pulp's new (in upcoming 2.7) notification system. It would let openshift listen for specific task types it cares about, and respond accordingly. You can read about it here:

https://github.com/pulp/pulp/blob/master/docs/dev-guide/integration/events/index.rst

Pulp and crane will add support for the v2 registry API and the new manifest format. At this point, I'm just waiting for the manifest format to stop changing. I know your team interacts with docker upstream on a much more frequent basis than we do, so if you hear news about the manifest format settling down, please let me know. I check on it every few weeks, and I'm due for that probably next week.

We are tracking the v2 effort here: https://pulp.plan.io/issues/150

Michael

----- Original Message -----
From: "Tomas Tomecek" <ttomecek at redhat.com>
To: pulp-list at redhat.com
Cc: "Jay Greguske" <jgregusk at redhat.com>, "Václav Pavlín" <vpavlin at redhat.com>
Sent: Friday, April 24, 2015 5:58:58 AM
Subject: [Pulp-list] OpenShift's docker registry extensions in pulp

Hello,

we are working on a build system for docker images which is built on top of
OpenShift v3. The built images will be stored in pulp & crane. OpenShift has its
own custom docker registry plugin [1]. The main feature is that for every image
which is pushed to the registry, it sends the info about the image back to
OpenShift master [2]. Would it be possible to get such functionality into pulp?

We would use this so we could rebuild images once base images are updated (e.g.
shellshock).


Also, are you planning to support docker registry v2 spec [3] with crane?


(originally I CCed also openshift-devel but since both lists are public, I don't
think that's a good idea since some respondents may not be subbed to both lists)


[1] https://github.com/openshift/docker-registry-extensions
[2] https://github.com/openshift/docker-registry-extensions/blob/master/openshift/tag_created.py#L67
[3] https://docs.docker.com/registry/spec/api/


Looking forward to the feedback,
~~
Tomáš Tomeček
Software Engineer
Developer Experience
UTC+2 (CEST)

_______________________________________________
Pulp-list mailing list
Pulp-list at redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list