semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Feat: Adding limit field to template and Taks, overriding the CLI args from task.

Open Gnyblast opened this issue 1 year ago • 0 comments

Fix for https://github.com/semaphoreui/semaphore/issues/1357 and making override of the CLI args from task run dialog:

  • Added limits fields to the template form and runs task dialog
  • Created DB fields for this new field to be stored
  • Changed Models to support parsing from database or api json
  • Overriding implemented for the limit from task to template to enable pre-run changes to take effect
  • Added language element for "limit"
  • Fixed a JS error that was getting thrown due to item elements was being tried to set while item was undefined
  • Made run dialog to display the args defined on template to make it obvious for the end-user to see what's going to be ran
  • Made it also override the args by the task to template, so that if you change the args on pre-run it's really a override.

Gnyblast avatar Oct 14 '24 15:10 Gnyblast