Deprecate entityRef in output and move it into links, filter empty links

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
This commit is contained in:
Oliver Sand
2021-06-04 17:12:51 +02:00
parent c5a6f33c37
commit 4dba3594ae
5 changed files with 55 additions and 23 deletions
@@ -99,5 +99,9 @@ spec:
listWorkspace: true
output:
remoteUrl: '{{ steps.publish.output.remoteUrl }}'
entityRef: '{{ steps.register.output.entityRef }}'
links:
- title: Repository
url: '{{ steps.publish.output.remoteUrl }}'
- title: Open in catalog
icon: 'catalog'
entityRef: '{{ steps.register.output.entityRef }}'