Project

Profile

Help

Task #3991

Story #3990: As a user, I can "docker pull" from a registry hosted by Pulp

Add a DockerPublisher and DockerDistribution models, serializers, and viewsets

Added by dkliban@redhat.com about 1 year ago. Updated about 10 hours ago.

Status:
MODIFIED
Priority:
Normal
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 43

Description

DockerPublisher model needs to inherit from pulpcore.plugin.models.Publisher.

The ViewSet for the DockerPublisher needs to implement a detail route for 'publish' endpoint. This view needs to accept a repository or repository version URL. It returns a 202 and dispatches a publish task.

DockerDistribution model needs to inherit from pulpcore.plugin.models.BaseDistribution.

A DockerDistribution defines the URLs (paths) under which a publication is distributed. DockerDistributions also define which publications are live (visible for consumption).

The DockerDistribution ViewSet needs to allow users to create, retrieve, update, and delete DockerDistributions.


Related issues

Related to Pulp - Test #4121: Test CRUD Docker Publisher CLOSED - COMPLETE Actions

Associated revisions

Revision 9b646891 View on GitHub
Added by dkliban@redhat.com about 1 year ago

Problem: Distribution is not available as an abstract model

Solution: Add a BaseDistribution for plugin writers to use

This patch adds an abstract BaseDistribution model to the plugin api.

re: #3991
https://pulp.plan.io/issues/3991

Revision 9b646891 View on GitHub
Added by dkliban@redhat.com about 1 year ago

Problem: Distribution is not available as an abstract model

Solution: Add a BaseDistribution for plugin writers to use

This patch adds an abstract BaseDistribution model to the plugin api.

re: #3991
https://pulp.plan.io/issues/3991

Revision 9b646891 View on GitHub
Added by dkliban@redhat.com about 1 year ago

Problem: Distribution is not available as an abstract model

Solution: Add a BaseDistribution for plugin writers to use

This patch adds an abstract BaseDistribution model to the plugin api.

re: #3991
https://pulp.plan.io/issues/3991

Revision 84f44f0a View on GitHub
Added by dkliban@redhat.com about 1 year ago

Adds models, viewsets, and serializers needed for publishing

This patch also updates the publish task to simply create a pass_through Publication.

Required PR: https://github.com/pulp/pulp/pull/3675

closes: #3991
https://pulp.plan.io/issues/3991

closes: #3992
https://pulp.plan.io/issues/3992

Revision 84f44f0a View on GitHub
Added by dkliban@redhat.com about 1 year ago

Adds models, viewsets, and serializers needed for publishing

This patch also updates the publish task to simply create a pass_through Publication.

Required PR: https://github.com/pulp/pulp/pull/3675

closes: #3991
https://pulp.plan.io/issues/3991

closes: #3992
https://pulp.plan.io/issues/3992

History

#1 Updated by dkliban@redhat.com about 1 year ago

  • Parent task set to #3990

#2 Updated by dkliban@redhat.com about 1 year ago

  • Tracker changed from Story to Task
  • Subject changed from As a user, I can use a DockerPublisher to create a publication. to Add a DockerPublisher and DockerDistribution models, serializers, and viewsets

#3 Updated by dkliban@redhat.com about 1 year ago

  • Project changed from Pulp to Docker Support

#4 Updated by dkliban@redhat.com about 1 year ago

  • Description updated (diff)

#5 Updated by dkliban@redhat.com about 1 year ago

  • Description updated (diff)
  • Sprint Candidate changed from No to Yes

#6 Updated by dkliban@redhat.com about 1 year ago

  • Description updated (diff)

#7 Updated by dkliban@redhat.com about 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#8 Updated by dkliban@redhat.com about 1 year ago

  • Status changed from ASSIGNED to POST
  • Groomed changed from No to Yes
  • Sprint set to Sprint 43

#9 Updated by dkliban@redhat.com about 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

Applied in changeset commit:84f44f0ab72cb2aaf3f05422739008de63a3fc1b.

#10 Updated by kersom about 1 year ago

  • Related to Test #4121: Test CRUD Docker Publisher added

#11 Updated by dkliban@redhat.com 9 months ago

  • Tags Pulp 3 added

#12 Updated by bmbouter 7 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF