[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] move deploy_kgb.py to (/srv/jenkins/)bin/

Holger Levsen gitlab at salsa.debian.org
Mon Jul 6 00:00:46 BST 2020



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


Commits:
e67051de by Holger Levsen at 2020-07-06T00:58:12+02:00
move deploy_kgb.py to (/srv/jenkins/)bin/

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

- - - - -


2 changed files:

- deploy_kgb.py → bin/deploy_kgb.py
- update_jdn.sh


Changes:

=====================================
deploy_kgb.py → bin/deploy_kgb.py
=====================================


=====================================
update_jdn.sh
=====================================
@@ -802,8 +802,8 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "osuosl-build168-amd64" ] || [
 	KGB_SECRETS="/srv/jenkins/kgb/secrets.yml"
 	if [ -f "$KGB_SECRETS" ] && [ $(stat -c "%a:%U:%G" "$KGB_SECRETS") = "640:jenkins-adm:jenkins-adm" ] ; then
 		# the last condition is to assure the files are owned by the right user/team
-		if [ "$KGB_SECRETS" -nt $STAMP ] || [ "deploy_kgb.py" -nt "$STAMP" ] || [ ! -f $STAMP ] ; then
-			sudo -u jenkins-adm "./deploy_kgb.py"
+		if [ "$KGB_SECRETS" -nt $STAMP ] || [ "/srv/jenkins/bin/deploy_kgb.py" -nt "$STAMP" ] || [ ! -f $STAMP ] ; then
+			sudo -u jenkins-adm "/srv/jenkins/bin/deploy_kgb.py"
 		else
 			explain "kgb-client configuration unchanged, nothing to do."
 		fi



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/e67051dec71090b92e68916a90c5d2a5a26111b2
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/20200705/bacaaa91/attachment.html>


More information about the Qa-jenkins-scm mailing list