[Git][qa/jenkins.debian.net][master] jenkins nodes: only run jenkins_reproducible_builds munin plugin on the nodes actually doing that

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed May 7 23:24:10 BST 2025



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
83e98e19 by Holger Levsen at 2025-05-08T00:23:36+02:00
jenkins nodes: only run jenkins_reproducible_builds munin plugin on the nodes actually doing that

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


3 changed files:

- bin/reproducible_html_nodes_info.sh
- hosts/common/etc/munin/plugins/jenkins_reproducible_builds → hosts/common/usr/share/munin/plugins/jenkins_reproducible_builds
- update_jdn.sh


Changes:

=====================================
bin/reproducible_html_nodes_info.sh
=====================================
@@ -216,12 +216,15 @@ build_graph_overview_pages() {
 				for GRAPH in jenkins_reproducible_builds cpu memory df swap load ; do
 					if [ "$GRAPH" = "jenkins_reproducible_builds" ] ; then
 						case $JENKINS_NODENAME in
-							jenkins)	write_page "<td></td>" ; continue ;;
-							ionos7)		write_page "<td></td>" ; continue ;;
-							ionos9)		write_page "<td></td>" ; continue ;;
-							ionos10)	write_page "<td></td>" ; continue ;;
-							osuosl*)	write_page "<td></td>" ; continue ;;
-							*)		;;
+							jenkins)				write_page "<td></td>" ; continue ;;
+							ionos17)				write_page "<td></td>" ; continue ;;
+							ionos7)					write_page "<td></td>" ; continue ;;
+							ionos9)					write_page "<td></td>" ; continue ;;
+							ionos10)				write_page "<td></td>" ; continue ;;
+							infom07*|infom08*)			write_page "<td></td>" ; continue ;;
+							codethink01*|codethink02*|codethink03*)	write_page "<td></td>" ; continue ;;
+							*risc*|osuosl*)				write_page "<td></td>" ; continue ;;
+							*)					;;
 						esac
 					fi
 					write_page "<td><a href='https://jenkins.debian.net/munin/debian.net/$NODE/$GRAPH.html'>"


=====================================
hosts/common/etc/munin/plugins/jenkins_reproducible_builds → hosts/common/usr/share/munin/plugins/jenkins_reproducible_builds
=====================================


=====================================
update_jdn.sh
=====================================
@@ -835,6 +835,13 @@ if ! $UP2DATE || [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] ; then
 	elif ( [ "$HOSTNAME" = "osuosl5-amd64" ] || [ "$HOSTNAME" = "ionos7-amd64" ] ) && [ ! -L /etc/munin/plugins/nginx_request ] ; then
 		for i in nginx_request nginx_status ; do sudo ln -s /usr/share/munin/plugins/$i $i ; done
 	fi
+	case $HOSTNAME in
+			jenkins|ionos17*|ionos7*|ionos9*|ionos10*)	;;
+			infom07*|infom08*)				;;
+			codethink01*|codethink02*|codethink03*)		;;
+			*risc*|osuosl*)					;;
+			*)						[ -L /etc/munin/plugins/jenkins_reproducible_builds ] || sudo ln -s sudo ln -s /usr/share/munin/plugins/jenkins_reproducible_builds jenkins_reproducible_builds ;;
+	esac
 	# this is a hack to work around (rare) problems with restarting munin-node...
 	sudo systemctl status munin-node.service || true
 fi



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/83e98e192feaf23ca42a210372eff4777bd877a5

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/83e98e192feaf23ca42a210372eff4777bd877a5
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250507/18256f00/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list