[Git][qa/jenkins.debian.net][master] djm: new action: check-packages - to run 'dsa-check-packages -t ,' and enter a shell

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Aug 31 15:58:21 BST 2023



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


Commits:
ec7176f7 by Holger Levsen at 2023-08-31T16:58:02+02:00
djm: new action: check-packages - to run 'dsa-check-packages -t ,' and enter a shell

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

- - - - -


1 changed file:

- bin/djm


Changes:

=====================================
bin/djm
=====================================
@@ -177,6 +177,7 @@ show_help(){
 	echo "         a|autoremove            apt autoremove && apt clean"
 	echo "         b|bring-back            mark hosts as online"
 	echo "         c|command               run \$4 on hosts"
+	echo "         cp|check-packages       run dsa-check-packages and enter bash on hosts"
 	echo "         d|deploy-git            deploy jenkins.debian.net.git"
 	echo "         f|fix-future            fix clock on hosts running in the future"
 	echo "         j|jenkins-ui            for when doing things manually in the jenkins-ui"
@@ -238,6 +239,7 @@ verify_target_action_reason(){
 		a|autoremove)	ACTION=autoremove				;;
 		b|bring-back)	ACTION=bring-back				;;
 		c|command)	ACTION=command		;	CONFIRM=true	;;
+		cp|check-packages)	ACTION=check-packages			;;
 		d|deploy-git)	ACTION=deploy-git				;;
 		f|fix-future)	ACTION=fix-future				;;
 		j|jenkins-ui)	ACTION=jenkins-ui				;;
@@ -642,6 +644,9 @@ djm_do() {
 					COMMAND="$COMMAND ; ( echo press enter ; read a )"
 					run_command_futureproof_on_node_in_xterm
 					;;
+			check-packages)	COMMAND="dsa-check-packages | tr -d , ; bash"
+					run_command_futureproof_on_node_in_xterm
+					;;
 			*)	echo unsupported action, sorry, please improve.
 				exit 1
 				;;



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ec7176f7578b71e9eb10a0acdddbca34f9f488d1
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/20230831/f15d9d9b/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list