Loading bin/reproducible_common.sh +1 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,7 @@ write_page_header() { || [ "$1" = "suite_arch_stats" ] \ || [ "$1" = "bugs" ] \ || [ "$1" = "nodes_health" ] \ || [ "$1" = "job_health" ] \ || [ "$1" = "nodes_weekly_graphs" ] \ || [ "$1" = "nodes_daily_graphs" ] ; then displayed_page="\"$1\": \"true\"" Loading bin/reproducible_html_nodes_info.sh +34 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ common_init "$@" . /srv/jenkins/bin/reproducible_common.sh # # build static webpages # build node health page # VIEW=nodes_health PAGE=index_${VIEW}.html Loading Loading @@ -139,6 +139,9 @@ write_page "</p>" write_page_footer publish_page debian # # munin nodes daily/weekly pages # for TYPE in daily weekly ; do VIEW=nodes_${TYPE}_graphs PAGE=index_${VIEW}.html Loading Loading @@ -197,3 +200,33 @@ for TYPE in daily weekly ; do publish_page debian done # # job health page # VIEW=job_health PAGE=index_${VIEW}.html ARCH=amd64 SUITE=unstable echo "$(date -u) - starting to write $PAGE page." write_page_header $VIEW "Job health overview" write_page "<p style=\"clear:both;\">" cd ~/jobs for CATEGORY in $(reproducible_*|grep -v maintenance | grep -v node_health|grep -v setup_pbuilder|grep -v setup_schroot|cut -d _ -f2|sort -u) ; do write_page "<h3>reproducible_$CATEGORY jobs</h3>" write_page "<table><tr>" for JOB in $(ls -1d reproducible_$CATEGORY* |grep -v maintenance | grep -v node_health|grep -v setup_pbuilder|grep -v setup_schroot) ; do write_page "<th>$JOB</th>" done write_page "</tr><tr>" for JOB in $(ls -1d reproducible_$CATEGORY* |grep -v maintenance | grep -v node_health|grep -v setup_pbuilder|grep -v setup_schroot) ; do URL="https://jenkins.debian.net/job/$JOB" BADGE="$URL/badge/icon" write_page "<td><a href='$URL'><img src='$BADGE' /></a></td>" done write_page "</tr>" done write_page "</table>" write_page "</p>" write_page_footer publish_page debian mustache-templates/reproducible/main_navigation.mustache +5 −2 Original line number Diff line number Diff line Loading @@ -178,9 +178,12 @@ <li {{#performance}}class='active'{{/performance}}> <a href="/debian/index_performance.html">Performance stats</a> </li> <li><ul>Nodes health <li><ul>Health monitoring <li {{#nodes_health}}class='active'{{/nodes_health}}> <a href="/debian/index_nodes_health.html">overview</a> <a href="/debian/index_nodes_health.html">node overview</a> </li> <li {{#job_health}}class='active'{{/job_health}}> <a href="/debian/index_job_health.html">job overview</a> </li> <li {{#nodes_daily_graphs}}class='active'{{/nodes_daily_graphs}}> <a href="/debian/index_nodes_daily_graphs.html">daily graphs</a> Loading Loading
bin/reproducible_common.sh +1 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,7 @@ write_page_header() { || [ "$1" = "suite_arch_stats" ] \ || [ "$1" = "bugs" ] \ || [ "$1" = "nodes_health" ] \ || [ "$1" = "job_health" ] \ || [ "$1" = "nodes_weekly_graphs" ] \ || [ "$1" = "nodes_daily_graphs" ] ; then displayed_page="\"$1\": \"true\"" Loading
bin/reproducible_html_nodes_info.sh +34 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ common_init "$@" . /srv/jenkins/bin/reproducible_common.sh # # build static webpages # build node health page # VIEW=nodes_health PAGE=index_${VIEW}.html Loading Loading @@ -139,6 +139,9 @@ write_page "</p>" write_page_footer publish_page debian # # munin nodes daily/weekly pages # for TYPE in daily weekly ; do VIEW=nodes_${TYPE}_graphs PAGE=index_${VIEW}.html Loading Loading @@ -197,3 +200,33 @@ for TYPE in daily weekly ; do publish_page debian done # # job health page # VIEW=job_health PAGE=index_${VIEW}.html ARCH=amd64 SUITE=unstable echo "$(date -u) - starting to write $PAGE page." write_page_header $VIEW "Job health overview" write_page "<p style=\"clear:both;\">" cd ~/jobs for CATEGORY in $(reproducible_*|grep -v maintenance | grep -v node_health|grep -v setup_pbuilder|grep -v setup_schroot|cut -d _ -f2|sort -u) ; do write_page "<h3>reproducible_$CATEGORY jobs</h3>" write_page "<table><tr>" for JOB in $(ls -1d reproducible_$CATEGORY* |grep -v maintenance | grep -v node_health|grep -v setup_pbuilder|grep -v setup_schroot) ; do write_page "<th>$JOB</th>" done write_page "</tr><tr>" for JOB in $(ls -1d reproducible_$CATEGORY* |grep -v maintenance | grep -v node_health|grep -v setup_pbuilder|grep -v setup_schroot) ; do URL="https://jenkins.debian.net/job/$JOB" BADGE="$URL/badge/icon" write_page "<td><a href='$URL'><img src='$BADGE' /></a></td>" done write_page "</tr>" done write_page "</table>" write_page "</p>" write_page_footer publish_page debian
mustache-templates/reproducible/main_navigation.mustache +5 −2 Original line number Diff line number Diff line Loading @@ -178,9 +178,12 @@ <li {{#performance}}class='active'{{/performance}}> <a href="/debian/index_performance.html">Performance stats</a> </li> <li><ul>Nodes health <li><ul>Health monitoring <li {{#nodes_health}}class='active'{{/nodes_health}}> <a href="/debian/index_nodes_health.html">overview</a> <a href="/debian/index_nodes_health.html">node overview</a> </li> <li {{#job_health}}class='active'{{/job_health}}> <a href="/debian/index_job_health.html">job overview</a> </li> <li {{#nodes_daily_graphs}}class='active'{{/nodes_daily_graphs}}> <a href="/debian/index_nodes_daily_graphs.html">daily graphs</a> Loading