cloud-pipeline icon indicating copy to clipboard operation
cloud-pipeline copied to clipboard

Allow to set the alias/friendly name for the runs

Open sidoruka opened this issue 3 years ago • 2 comments
trafficstars

Background At the moment, Cloud Pipeline names the job in the GUI using:

  • A pod name (in the runs lists) image
  • A docker image name (in the dashboard) image

It would be nice to allow users name the jobs as they wish.

Approach

  • Expose a Name text 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.
  • Name shall 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)
    • In the lists - keep the Run ID in the brackets
      • WithOUT a Name: pipeline-123456
      • WITH a Name: My-Job (123456)

sidoruka avatar Mar 29 '22 10:03 sidoruka

Please backport to release/0.16

sidoruka avatar Mar 29 '22 10:03 sidoruka

@mzueva could you please help us with API methods?

rodichenko avatar Apr 05 '22 12:04 rodichenko