Skip to content

Add Publish and Retry in Self-Service

Pavit Kaur requested to merge PavitKaur05/debci:publish-in-self-service into master
  • Updated POST '/:user/retry/:run_id' in self-service.rb to create new job with original job's is_private value and updated get_same_pending_jobs to consider is_private value as well.
  • Updated self_service_history.erb to show Publish button only when user is logged in and accessing its own history.
  • Added publish.erb to be the page to show selected private jobs from job_history with button to either publish or cancel.
  • Added GET /:user/test/publish in self-service.rb to accept array of run_ids and pass private jobs data to publish.erb.
  • Added POST /:user/test/publish to accept strings of run_ids separated with , from publish.erb and changing tha valid private jobs to public.
  • Added/Updated tests of above in self_service_spec.rb.
Edited by Pavit Kaur

Merge request reports

Loading