Submit private jobs via API
- depends on !182 (merged)
- updated
request_tests
inlib/debci/test_handler.rb
to update value ofis_private
field of job as per test object sent by POST/test/:suite/:arch
and POST/test/batch
. - updated POST
'/test/:suite/:arch/:package'
to fetchis_private
params for the new job to be created with the check for accepting valid bool values only. - updated
validate_tests
andvalidate_batch_tests
intest_handler.rb
so thatis_private
accepts valid bool value only. - updated
after_save
callback injob.rb
to not update PackageStatus for aprivate job
. - Added tests in
spec/debci/api_spec.rb
Edited by Pavit Kaur