resending since mobile email triggered approval...

i have created an api endpoint in foreman for docker push and from there
will be calling pulp. don’t worry about “safe” since there is no manual
aspect. if pulp doesn’t support it, i will work around. if it us possible,
please tell me how. thanks!!

In my proof-of-concept foreman work, I have docker login working with RBAC
for limiting scope of images for docker pull. I also added the /v2/_catalog
and /v2/$repo/tags/list since those are very useful for integrating with
tools like openshift. If I can get docker push / skopeo working, that would
be a huge win.

I understand that these topics are not a priority but any suggestions on
how to make this work with existing pulp-2 code would be very welcome.


On Wed, Mar 7, 2018 at 9:31 PM, Mihai Ibanescu <mihai.ibane...@gmail.com>
wrote:

> See https://pulp.plan.io/issues/3231 as well.
>
> On Wed, Mar 7, 2018 at 5:25 PM, Ina Panova <ipan...@redhat.com> wrote:
>
>> Hello Tom,
>>
>> No it is not possible to upload individual blobs, the only way how to get
>> image manifest schema1 or schema2 for now is to use skopeo copy and tar the
>> output.
>> For more info please checks the docs and recipes [0].
>>
>> In addition it is not safe to upload the components of the tar file
>> individually, because if you upload just a single json file without blobs,
>> it ends up to be a corrupted image manifest. In case you'd upload blob by
>> blob, you also risk to end up with corrupted image manifest in case you'd
>> forget some blob to upload.
>>
>> Let me know in case you have more questions.
>>
>> [0] https://github.com/pulp/pulp_docker/blob/master/docs/user-gu
>> ide/recipes.rst#upload-v2-schema-2-and-schema-1-images-to-pulp
>>
>>
>>
>> --------
>> Regards,
>>
>> Ina Panova
>> Software Engineer| Pulp| Red Hat Inc.
>>
>> "Do not go where the path may lead,
>>  go instead where there is no path and leave a trail."
>>
>> On Wed, Mar 7, 2018 at 10:06 PM, Tom McKay <thomasmc...@redhat.com>
>> wrote:
>>
>>> I know I can upload a skopeo copy tar file but is it possible to upload
>>> individual blobs directly? Or upload the components of the tar file
>>> individually? I am on pulp-2.15.2.
>>>
>>> _______________________________________________
>>> Pulp-dev mailing list
>>> Pulp-dev@redhat.com
>>> https://www.redhat.com/mailman/listinfo/pulp-dev
>>>
>>>
>>
>> _______________________________________________
>> Pulp-dev mailing list
>> Pulp-dev@redhat.com
>> https://www.redhat.com/mailman/listinfo/pulp-dev
>>
>>
>
_______________________________________________
Pulp-dev mailing list
Pulp-dev@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-dev

Reply via email to