weldr/compose: return the build-id when starting a compose
The return argument was ommitted. Also move to using the uuid package wherever that makes sense. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
cfe89eaed5
commit
0dc30d7f1b
6 changed files with 42 additions and 20 deletions
|
|
@ -152,7 +152,7 @@ func TestCompose(t *testing.T) {
|
|||
http.StatusBadRequest, `{"status":false,"errors":["blueprint does not exist"]}`)
|
||||
|
||||
testRoute(t, api, "POST", "/api/v0/compose", `{"blueprint_name": "test","compose_type": "tar","branch": "master"}`,
|
||||
http.StatusOK, `{"status":true}`)
|
||||
http.StatusOK, `*`)
|
||||
|
||||
job := <-jobChannel
|
||||
if job.Pipeline.Assembler.Name != "org.osbuild.tar" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue