Add a new 'create_eventlog' custom property to the configurations that could potentially create a toaster event log. In the case of "nightly.conf", ensure the property is passed to the Triggered builds.
[YOCTO #9884] Signed-off-by: Bill Randle <william.c.ran...@intel.com> --- buildset-config.controller/nightly-arm-lsb.conf | 4 ++++ buildset-config.controller/nightly-arm.conf | 4 ++++ buildset-config.controller/nightly-arm64.conf | 4 ++++ buildset-config.controller/nightly-mips-lsb.conf | 4 ++++ buildset-config.controller/nightly-mips.conf | 4 ++++ buildset-config.controller/nightly-mips64.conf | 4 ++++ buildset-config.controller/nightly-no-x11.conf | 4 ++++ buildset-config.controller/nightly-ppc-lsb.conf | 4 ++++ buildset-config.controller/nightly-ppc.conf | 4 ++++ buildset-config.controller/nightly-x32.conf | 4 ++++ buildset-config.controller/nightly-x86-64-lsb.conf | 4 ++++ buildset-config.controller/nightly-x86-64.conf | 4 ++++ buildset-config.controller/nightly-x86-lsb.conf | 4 ++++ buildset-config.controller/nightly-x86.conf | 4 ++++ buildset-config.controller/nightly.conf | 7 ++++++- 15 files changed, 62 insertions(+), 1 deletion(-) diff --git a/buildset-config.controller/nightly-arm-lsb.conf b/buildset-config.controller/nightly-arm-lsb.conf index eb8d3eb..f94db21 100644 --- a/buildset-config.controller/nightly-arm-lsb.conf +++ b/buildset-config.controller/nightly-arm-lsb.conf @@ -10,6 +10,10 @@ repos: [{'poky': {'meta-qt3': {'repourl':'git://git.yoctoproject.org/meta-qt3', 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-arm.conf b/buildset-config.controller/nightly-arm.conf index 2e6c829..f4c3fb8 100644 --- a/buildset-config.controller/nightly-arm.conf +++ b/buildset-config.controller/nightly-arm.conf @@ -4,6 +4,10 @@ repos: [{'poky': {'repourl':'git://git.yoctoproject.org/poky', 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'}, 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-arm64.conf b/buildset-config.controller/nightly-arm64.conf index 32a5492..3986c93 100644 --- a/buildset-config.controller/nightly-arm64.conf +++ b/buildset-config.controller/nightly-arm64.conf @@ -4,6 +4,10 @@ repos: [{'poky': {'repourl':'git://git.yoctoproject.org/poky', 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'}, 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-mips-lsb.conf b/buildset-config.controller/nightly-mips-lsb.conf index 81faaad..65fb4ec 100644 --- a/buildset-config.controller/nightly-mips-lsb.conf +++ b/buildset-config.controller/nightly-mips-lsb.conf @@ -10,6 +10,10 @@ repos: [{'poky': {'meta-qt3': {'repourl':'git://git.yoctoproject.org/meta-qt3', 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-mips.conf b/buildset-config.controller/nightly-mips.conf index e419ce4..1dbad7e 100644 --- a/buildset-config.controller/nightly-mips.conf +++ b/buildset-config.controller/nightly-mips.conf @@ -4,6 +4,10 @@ repos: [{'poky': {'repourl':'git://git.yoctoproject.org/poky', 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'}, 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-mips64.conf b/buildset-config.controller/nightly-mips64.conf index 13f8573..73cb577 100644 --- a/buildset-config.controller/nightly-mips64.conf +++ b/buildset-config.controller/nightly-mips64.conf @@ -4,6 +4,10 @@ repos: [{'poky': {'repourl':'git://git.yoctoproject.org/poky', 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'}, 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-no-x11.conf b/buildset-config.controller/nightly-no-x11.conf index 4ef1b35..063ae89 100644 --- a/buildset-config.controller/nightly-no-x11.conf +++ b/buildset-config.controller/nightly-no-x11.conf @@ -4,6 +4,10 @@ repos: [{'poky': {'repourl':'git://git.yoctoproject.org/poky', 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'}, 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-ppc-lsb.conf b/buildset-config.controller/nightly-ppc-lsb.conf index 7cf05c1..5944240 100644 --- a/buildset-config.controller/nightly-ppc-lsb.conf +++ b/buildset-config.controller/nightly-ppc-lsb.conf @@ -10,6 +10,10 @@ repos: [{'poky': {'meta-qt3': {'repourl':'git://git.yoctoproject.org/meta-qt3', 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-ppc.conf b/buildset-config.controller/nightly-ppc.conf index 16413c3..1e26307 100644 --- a/buildset-config.controller/nightly-ppc.conf +++ b/buildset-config.controller/nightly-ppc.conf @@ -4,6 +4,10 @@ repos: [{'poky': {'repourl':'git://git.yoctoproject.org/poky', 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'}, 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-x32.conf b/buildset-config.controller/nightly-x32.conf index 2ec5b87..e811a30 100644 --- a/buildset-config.controller/nightly-x32.conf +++ b/buildset-config.controller/nightly-x32.conf @@ -4,6 +4,10 @@ repos: [{'poky': {'repourl':'git://git.yoctoproject.org/poky', 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'}, 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-x86-64-lsb.conf b/buildset-config.controller/nightly-x86-64-lsb.conf index b0bb0a5..784f23d 100644 --- a/buildset-config.controller/nightly-x86-64-lsb.conf +++ b/buildset-config.controller/nightly-x86-64-lsb.conf @@ -10,6 +10,10 @@ repos: [{'poky': {'meta-qt3': {'repourl':'git://git.yoctoproject.org/meta-qt3', 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-x86-64.conf b/buildset-config.controller/nightly-x86-64.conf index 92e5866..93df577 100644 --- a/buildset-config.controller/nightly-x86-64.conf +++ b/buildset-config.controller/nightly-x86-64.conf @@ -4,6 +4,10 @@ repos: [{'poky': {'repourl':'git://git.yoctoproject.org/poky', 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'}, 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-x86-lsb.conf b/buildset-config.controller/nightly-x86-lsb.conf index 34b6780..1381b4c 100644 --- a/buildset-config.controller/nightly-x86-lsb.conf +++ b/buildset-config.controller/nightly-x86-lsb.conf @@ -10,6 +10,10 @@ repos: [{'poky': {'meta-qt3': {'repourl':'git://git.yoctoproject.org/meta-qt3', 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly-x86.conf b/buildset-config.controller/nightly-x86.conf index a5c9f0a..07fb34c 100644 --- a/buildset-config.controller/nightly-x86.conf +++ b/buildset-config.controller/nightly-x86.conf @@ -4,6 +4,10 @@ repos: [{'poky': {'repourl':'git://git.yoctoproject.org/poky', 'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp', 'yocto':'meta-yocto', 'poky':'meta-poky'}, 'branch':'master'}}] +props: [{'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr>Create Toaster event log as part of image creation?:'}}] steps: [{'SetDest':{}}, {'CheckOutLayers': {}}, {'RunPreamble': {}}, diff --git a/buildset-config.controller/nightly.conf b/buildset-config.controller/nightly.conf index 2ac83dc..0f9dd4e 100644 --- a/buildset-config.controller/nightly.conf +++ b/buildset-config.controller/nightly.conf @@ -74,6 +74,10 @@ props: [{'release_me':{'prop_type':'ChoiceStringParameter', 'name': 'prefered_kernel', 'default': 'linux-yocto', 'label':'<hr><h3> PREFERRED_PROVIDER_virtual/kernel (default is "linux-yocto"):</h3>'}}, + {'create_eventlog':{'prop_type':'ChoiceStringParameter', + 'choices': ['False', 'True'], + 'name': 'create_eventlog', + 'label':'<hr><h3> Should a Toaster event log be created as part of the image creation?:</h3>'}}, {'deploy_artifacts':{'prop_type':'ChoiceStringParameter', 'choices': ['True', 'False'], 'name': 'deploy_artifacts', @@ -87,7 +91,8 @@ steps: [{'SetDest':{}}, 'atextprepend': 'SOURCE_MIRROR_FETCH = "1"\n'}}, {'CreateBBLayersConf': {'buildprovider' : 'yocto'}}, {'BuildImages': {'images': 'universe -c fetch'}}, - {'TriggerBuilds': {'schedulerName': 'main-build', 'waitForFinish': 'True', + {'TriggerBuilds': {'copy_properties': ['custom_create_eventlog'], + 'schedulerName': 'main-build', 'waitForFinish': 'True', 'schedulerNames': {'nightly-arm': {}, 'nightly-arm-lsb': {}, 'nightly-mips': {}, 'nightly-mips-lsb': {}, 'nightly-multilib': {}, 'nightly-x32': {}, -- 2.5.5 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto