-
Task
-
Resolution: Done
-
Undefined
-
None
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
- depends on
-
HMS-4307 [API] add use_latest snapshot parameter to template create/update
- Closed