Skip to content
Snippets Groups Projects
Commit 1f27b58b authored by Le Van Quach's avatar Le Van Quach
Browse files

recipes-extended: add checkbox configuration file to write reports in a specific folder


This allows checkbox write reports into a /run/mount/appdata folder

Signed-off-by: default avatarLe Van Quach <levan.quach@kalpa.it>
parent ecda287c
No related branches found
No related tags found
No related merge requests found
Pipeline #9468 failed
#!/usr/bin/env checkbox-cli
[launcher]
launcher_version = 1
stock_reports = text, certification
[exporter:html]
unit = com.canonical.plainbox::html
[exporter:tar]
unit = com.canonical.plainbox::tar
[exporter:junit]
unit = com.canonical.plainbox::junit
[transport:html_transport]
type = file
path = /run/mount/appdata/report.html
[transport:tar_transport]
type = file
path = /run/mount/appdata/report.tar.xz
[transport:junit_transport]
type = file
path = /run/mount/appdata/report.junit
[report:html_report]
transport = html_transport
exporter = html
forced = yes
[report:tar_report]
transport = tar_transport
exporter = tar
forced = yes
[report:junit_report]
transport = junit_transport
exporter = junit
forced = yes
...@@ -18,6 +18,7 @@ SRC_URI += "file://0001-Adjust-for-deprecated-jinja2.Markup-alias.patch \ ...@@ -18,6 +18,7 @@ SRC_URI += "file://0001-Adjust-for-deprecated-jinja2.Markup-alias.patch \
file://${INQ}.${PROVIDER_NAME}.provider \ file://${INQ}.${PROVIDER_NAME}.provider \
file://0001-Modify-restart-logic-in-order-to-run-checkbox-servic.patch \ file://0001-Modify-restart-logic-in-order-to-run-checkbox-servic.patch \
file://0001-Adjust-autoescape-for-Jinja2.patch \ file://0001-Adjust-autoescape-for-Jinja2.patch \
file://checkbox.conf \
" "
inherit pypi setuptools3 inherit pypi setuptools3
...@@ -46,6 +47,7 @@ FILES:checkbox-ng-service = "${systemd_unitdir}/system/checkbox-ng-service.conf" ...@@ -46,6 +47,7 @@ FILES:checkbox-ng-service = "${systemd_unitdir}/system/checkbox-ng-service.conf"
do_install:append() { do_install:append() {
install -D -m 0644 ${WORKDIR}/checkbox-ng.service -t ${D}${systemd_unitdir}/system/ install -D -m 0644 ${WORKDIR}/checkbox-ng.service -t ${D}${systemd_unitdir}/system/
install -D -m 0644 ${WORKDIR}/checkbox.conf -t ${D}/etc/xdg/
install -d ${D}/usr/local/share/plainbox-providers-1/ install -d ${D}/usr/local/share/plainbox-providers-1/
install -d ${D}/usr/local/lib/plainbox-providers-1/ install -d ${D}/usr/local/lib/plainbox-providers-1/
install -d ${D}/usr/local/lib/plainbox-providers-1/${PROVIDER_FOLDER}/ install -d ${D}/usr/local/lib/plainbox-providers-1/${PROVIDER_FOLDER}/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment