Skip to content

Commit 57b9fd9

Browse files
authored
Merge pull request #6769 from okurz/feature/dashboard_doc
docs: Add instructions for a continuous dashboard setup
2 parents 840475c + b6bd312 commit 57b9fd9

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

docs/UsersGuide.asciidoc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,50 @@ http://openqa/tests/latest/badge
580580
There is an optional parameter 'show_build=1' that will
581581
prefix the status with the build number.
582582

583+
=== Build a continuous openQA monitoring dashboard
584+
585+
With just some common tools a dashboard showing the openQA index page with
586+
continuously updated results can be setup. Example setup using the
587+
`fullscreen=1` parameter to use the entire page for the build results:
588+
589+
Content of /home/tux/.xinitrc
590+
591+
[source,sh]
592+
----
593+
#!/bin/bash
594+
595+
unclutter &
596+
openbox &
597+
xset s off
598+
xset -dpms
599+
sleep 5
600+
url="https://openqa.opensuse.org?group=openSUSE Tumbleweed\$|openSUSE Leap [0-9]{2}.?[0-9]*\$|openSUSE Leap.\*JeOS\$|openSUSE Krypton|openQA|GNOME Next&limit_builds=2&time_limit_days=14&&show_tags=1&fullscreen=1#build-results"
601+
chromium --kiosk "$url" &
602+
603+
while sleep 300 ; do
604+
xdotool windowactivate $(xdotool search --class Chromium)
605+
xdotool key F5
606+
xdotool windowactivate $(xdotool getactivewindow)
607+
done
608+
----
609+
610+
Content of /usr/share/lightdm/lightdm.conf.d/50-suse-defaults.conf
611+
612+
[source,ini]
613+
----
614+
[Seat:*]
615+
pam-service = lightdm
616+
pam-autologin-service = lightdm-autologin
617+
pam-greeter-service = lightdm-greeter
618+
xserver-command=/usr/bin/X
619+
session-wrapper=/etc/X11/xdm/Xsession
620+
greeter-setup-script=/etc/X11/xdm/Xsetup
621+
session-setup-script=/etc/X11/xdm/Xstartup
622+
session-cleanup-script=/etc/X11/xdm/Xreset
623+
autologin-user=tux
624+
autologin-timeout=0
625+
----
626+
583627

584628
[id="carry-over"]
585629
=== Carry over of bug references from previous jobs in same scenario

0 commit comments

Comments
 (0)