cloud-pipeline
cloud-pipeline copied to clipboard
Allow to set the alias/friendly name for the runs
trafficstars
Background At the moment, Cloud Pipeline names the job in the GUI using:
- A pod name (in the runs lists)

- A docker image name (in the dashboard)

It would be nice to allow users name the jobs as they wish.
Approach
- Expose a
Nametext field in the GUI, when launching a new job. This shall be available in both a "Default" and "Custom" configuration modes. - Name shall be editable at runtime.
Nameshall have a limit of 25 symbols - alphanumeric+dashes+underscores.- Expose API to set the name of the run (when launching and at runtime).
- Expose API to receive run alias (for
POST/run/filter,GET/run/<id>, etc.) - GUI shall use the run alias to visualize a run's name in the dashboard, runs list, pipeline/project history:
- In the dashboard - keep the docker image name in the brackets. E.g.:
- WithOUT a
Name:centos:latest - WITH a
Name:My-Job (centos:latest)
- WithOUT a
- In the lists - keep the Run ID in the brackets
- WithOUT a
Name:pipeline-123456 - WITH a
Name:My-Job (123456)
- WithOUT a
- In the dashboard - keep the docker image name in the brackets. E.g.:
Please backport to release/0.16
@mzueva could you please help us with API methods?