Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-4313

api - after snapshotting, update distributions in templates set to use latest snapshot

      Goal: 

      • To support templates that use the latest snapshot, repository distributions within those templates must be updated every time a new snapshot is created.
      • In a new task, after the repository snapshot task, fetch every use_latest template associated to that repository and update its distributions to point to the new snapshot.
      • For custom repositories, filter by org ID. For red hat repositories, all templates can be updated.
      • This new task should add the snapshot task as a dependency
      • The taskinfo fetch and list queries should be updated to include the list of dependencies

      Acceptance Criteria:

      • An existing use_latest template's distributions should be updated when an associated repository gets a new snapshot
      • A new task, that is dependent on the snapshot task, is created for making these template updates
      • The new task doesn't run if the snapshot fails
      • The tasks list and fetch APIs should include the task's dependencies

              rverdile@redhat.com Ryan Verdile
              rverdile@redhat.com Ryan Verdile
              Stephen Wadeley Stephen Wadeley
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: