Open joaoestrela opened 3 months ago
Fully agree, it would be awesome to automatically generate freights with an alias equal image version (from semver) like that:
Bear in mind that a piece of Freight is a collection of artifacts. A piece of Freight with just one artifact in it is the simple case. It may seem intuitive in that case that the Freight alias would just match the tag of your Docker image, for instance, but that doesn't generalize well. The moment you have two or more artifacts in a piece of Freight (which is common, btw) that strategy falls apart. Some kind of customization ability seems likely, eventually, but adopting a strategy of mirroring version information of a single artifact doesn't seem likely when it doesn't hold up for the common case.
Checklist
Proposed Feature
Customisable freight aliases
Motivation
With the introduction of Multi-Pipelines it would be nice to allow some customisation to freight aliases to better distinguish. It is possible to rename but generated recognisable aliases would be a great improvement.
Suggested Implementation