-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
🔖 Feature description
Currently the harness.io/pipelines
annotations expects an array of key value pairs like this
metadata:
annotations:
harness.io/pipelines: |
ci: ci_pipeline_link
cd: cd_pipeline_link
key1: url1
However it should also be possible to skip these keys here. If the keys are missing, then the pipeline name can be used as the keys in the dropdown list.
metadata:
annotations:
harness.io/pipelines: |
ci_pipeline_link
cd_pipeline_link
url1
or simply
metadata:
annotations:
harness.io/pipelines: pipeline_link
🎤 Context
✌️ Possible Implementation
backstage-plugins/plugins/harness-ci-cd/src/components/ExecutionList/ExecutionList.tsx
Lines 291 to 296 in 32d285f
{Object.keys(harnessPipelineObject).length > 0 ? ( | |
<ListSubheader>Pipelines</ListSubheader> | |
) : null} | |
{Object.keys(harnessPipelineObject).map(envId => ( | |
<MenuItem value={harnessPipelineObject[envId]}>{envId}</MenuItem> | |
))} |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed