csweichel / werft

Just Kubernetes Native CI
https://werft.dev
MIT License
190 stars 39 forks source link

Sort job annotations in job view #165

Closed adrienthebo closed 2 years ago

adrienthebo commented 2 years ago

Is your feature request related to a problem? Please describe.

When running a series of related jobs on different platforms (such as the self-hosted terraform preview environments I want to view jobs in a side-by-side manner and compare annotation values. At present these annotations are not in a consistent order which makes this comparison less trivial than I'd like.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

Job annotations should be sorted to provide consistent ordering.

Describe alternatives you've considered

Job annotation can continue using the ordering provided by the werft job API.

Additional context

Compare the sort orders for gitpod-self-hosted-installer-tests-head.101 and gitpod-self-hosted-installer-tests-head.99.