Add Publish and Retry in Self-Service
- Updated POST '/:user/retry/:run_id' in
self-service.rb
to create new job with original job'sis_private
value and updatedget_same_pending_jobs
to consideris_private
value as well. - Updated
self_service_history.erb
to showPublish
button only when user is logged in and accessing its own history. - Added
publish.erb
to be the page to show selected private jobs fromjob_history
with button to eitherpublish
orcancel
. - Added GET
/:user/test/publish
inself-service.rb
to accept array ofrun_ids
and passprivate
jobs data topublish.erb
. - Added POST
/:user/test/publish
to accept strings of run_ids separated with,
frompublish.erb
and changing tha validprivate
jobs topublic
. - Added/Updated tests of above in
self_service_spec.rb
.
Edited by Pavit Kaur