Project

General

Profile

Feature #21994

Auto publish Composite if component updates

Added by Partha Aji 11 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

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 (diff)
Added by Partha Aji 9 months 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
out.

History

#1 Updated by The Foreman Bot 11 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 11 months ago

  • Target version changed from 240 to 242

#3 Updated by Eric Helms 10 months ago

  • Legacy Backlogs Release (now unused) set to 114

#4 Updated by Brad Buckingham 10 months ago

  • Target version changed from 242 to 245

#5 Updated by Partha Aji 9 months ago

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

#6 Updated by Justin Sherrill 9 months ago

  • Legacy Backlogs Release (now unused) changed from 114 to 338

#7 Updated by Partha Aji 9 months ago

  • Bugzilla link set to 1536194

Also available in: Atom PDF