Project

General

Profile

Bug #10623

Need way to promote latest version of Content View to next environment via hammer

Added by dustin tsang almost 5 years ago. Updated over 1 year ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1219585
Currently you must use the version ID of a Content View to promote to the next environment:

hammer content-view version promote --organization Engineering --content-view-id 5 --to-lifecycle-environment DEV --id 59

This makes automation hard if you wish to 'auto promote' after a publish as you are forced to query version IDs to fill out the --id param above.

Ideally we would not require the specification of the version and it would just take the latest and you could promote via:

hammer content-view version promote --organization Engineering --content-view-id 5 --to-lifecycle-environment DEV

if we required specification of the prior you could do:

hammer content-view version promote --organization Engineering --content-view-id 5 --to-lifecycle-environment DEV --from-lifecycle-environment Library

Associated revisions

Revision 35cbd6fd (diff)
Added by dustin tsang over 4 years ago

fixes #10623 - cvv resolver uses max version if > 1 found

include from-environment

Revision 71c91b03
Added by Thomas McKay over 4 years ago

Merge pull request #308 from thomasmckay/10623-cvv

fixes #10623 - cvv resolver uses max version if > 1 found

History

#1 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/296 added
  • Pull request deleted ()

#2 Updated by Eric Helms almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

#3 Updated by dustin tsang over 4 years ago

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

#4 Updated by Bryan Kearney about 4 years ago

  • Category changed from Web UI to Content Views

Also available in: Atom PDF