Open croissanne opened 3 years ago
What's still open:
/build
should just take a jobId from a /compose
depsolve job.Question: should builds nest under composes, or reference them?
Question: should builds nest under composes, or reference them?
Either could work; but /composes/${id}/build
as a POST makes sense yea, I think I prefer that even.
Actually splitting these jobs up will be handled by depsolving in the workers.
/compose
: should depsolve (should we rename the endpoint to something more obvious?)/build
: build the job which was previously depsolved in/compose
As a first iteration this can be a purely cosmetic change, where everything happens in
/compose
, once the job is split up in the background/build
can do the actual build job.This is useful to for instance call
/compose
(depsolve) on the review screen in image-builder-crc; so we can verify the validity of a request before trying to build it.