[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] drop code related to volume groups

Holger Levsen gitlab at salsa.debian.org
Fri Nov 9 13:34:46 GMT 2018


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


Commits:
8f0c9c43 by Holger Levsen at 2018-11-09T13:34:39Z
drop code related to volume groups

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

- - - - -


1 changed file:

- update_jdn.sh


Changes:

=====================================
update_jdn.sh
=====================================
@@ -26,8 +26,6 @@
 set -e
 
 BASEDIR="$(dirname "$(readlink -e $0)")"
-PVNAME=/dev/vdb      # LVM physical volume for jobs
-VGNAME=jenkins01     # LVM volume group
 STAMP=/var/log/jenkins/update-jenkins.stamp
 # The $@ below means that command line args get passed on to j-j-b
 # which allows one to specify --flush-cache or --ignore-cache
@@ -684,24 +682,6 @@ if [ "$(sudo su - jenkins -c 'git config --get user.email')" != "jenkins at jenkins
 	sudo su - jenkins -c "git config --global user.name Jenkins"
 fi
 
-if [ "$HOSTNAME" = "jenkins" ] ; then
-	#
-	# creating LVM volume group for jobs
-	#
-	if [ "$PVNAME" = "" ]; then
-		figlet -f banner Error
-		explain "you must set \$PVNAME to physical volume pathname, exiting."
-		exit 1
-	elif ! $UP2DATE ; then
-		if ! sudo pvs $PVNAME >/dev/null 2>&1; then
-			sudo pvcreate $PVNAME
-		fi
-		if ! sudo vgs $VGNAME >/dev/null 2>&1; then
-			sudo vgcreate $VGNAME $PVNAME
-		fi
-	fi
-fi
-
 #
 # generate the kgb-client configurations
 #



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/8f0c9c434a3699ad46af034a13ca8eb048c5309e

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/8f0c9c434a3699ad46af034a13ca8eb048c5309e
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/20181109/4acba27a/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list