Add script to orchestrate multiple composes

It may make sense to break a big compose into smaller chunks that can be
done independently. This script allows describing the smaller parts,
runs them with correct dependencies and arranges the result to look like
a single big compose.

All parts use the same koji event, that is either obtained from Koji, or
from command line argument.

JIRA: COMPOSE-2654
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2018-09-10 10:16:44 +02:00
parent ba260c24e8
commit 90c60f8e64
37 changed files with 1943 additions and 12 deletions

View file

@ -0,0 +1,25 @@
{
"header": {
"type": "productmd.composeinfo",
"version": "1.2"
},
"payload": {
"compose": {
"date": "20181001",
"id": "Mixed-1.0-20181001.n.0",
"respin": 0,
"type": "nightly"
},
"release": {
"internal": false,
"name": "Dummy Product",
"short": "Mixed",
"type": "ga",
"version": "1.0"
},
"variants": {
"Var0": {
}
}
}
}

View file

@ -0,0 +1,18 @@
{
"header": {
"type": "productmd.images",
"version": "1.2"
},
"payload": {
"compose": {
"date": "20181001",
"id": "Mixed-1.0-20181001.n.0",
"respin": 0,
"type": "nightly"
},
"images": {
"Var0": {
}
}
}
}

View file

@ -0,0 +1,18 @@
{
"header": {
"type": "productmd.modules",
"version": "1.2"
},
"payload": {
"compose": {
"date": "20181001",
"id": "Mixed-1.0-20181001.n.0",
"respin": 0,
"type": "nightly"
},
"modules": {
"Var0": {
}
}
}
}

View file

@ -0,0 +1,4 @@
{
"Var0": {
}
}

View file

@ -0,0 +1,18 @@
{
"header": {
"type": "productmd.rpms",
"version": "1.2"
},
"payload": {
"compose": {
"date": "20181001",
"id": "Mixed-1.0-20181001.n.0",
"respin": 0,
"type": "nightly"
},
"rpms": {
"Var0": {
}
}
}
}