Feature #21994

Auto publish Composite if component updates

Added by Partha Aji 3 months ago. Updated 27 days ago.

Assigned To:Partha Aji
Category:Content Views
Target version:Team Brad - Iteration 27
Difficulty: Pull request:https://github.com/Katello/katello/pull/7117
Bugzilla link:1536194
Story points-
Velocity based estimate-
ReleaseKatello 3.7.0Release relationshipAuto


Currently in a Composite CV we can choose the latest version of a component cv to be automatically included.
A useful complementary feature in CI environment is to be able to automatically publish a Composite when a component cv gets updated.

Associated revisions

Revision 580f7f80
Added by Partha Aji 28 days ago

Fixes #21994 - Auto Publish composite

This commit contains code to auto publish a composite when a component
CV updates.
When a component cv publishes it checks for 2 flags
1) If its composite has auto publish marked as true
2) If its composite wants the latest version of this component.
If those conditions are met then the publish tasks for the composites
are spawned. The user is notified once the operation is completed. The
'triggering' content view's version id is stored in the content view
history so that the caller can track other publishes that are happening
at the same time.

It is assumed that the composite is not getting published
else where at the same time. If that is the case the publish will error


#1 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7117 added

#2 Updated by Brad Buckingham 3 months ago

  • Target version changed from Team Brad - Iteration 25 to Team Brad - Iteration 26

#3 Updated by Eric Helms 3 months ago

  • Release set to Katello Backlog

#4 Updated by Brad Buckingham about 1 month ago

  • Target version changed from Team Brad - Iteration 26 to Team Brad - Iteration 27

#5 Updated by Partha Aji 28 days ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#6 Updated by Justin Sherrill 27 days ago

  • Release changed from Katello Backlog to Katello 3.7.0

#7 Updated by Partha Aji 27 days ago

  • Bugzilla link set to 1536194

Also available in: Atom PDF