[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: deploy_jdn: allow to deploy only on some nodes, but not jenkins
Holger Levsen
gitlab at salsa.debian.org
Fri Feb 26 20:37:38 GMT 2021
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
c26ea9f7 by Holger Levsen at 2021-02-26T21:27:07+01:00
deploy_jdn: allow to deploy only on some nodes, but not jenkins
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
0fabb04a by Holger Levsen at 2021-02-26T21:36:53+01:00
osuosl167: there are no libvirt groups
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- deploy_jdn
- update_jdn.sh
Changes:
=====================================
deploy_jdn
=====================================
@@ -25,8 +25,14 @@
# ./deploy_jdn jenkins o167 - deploy on jenkins and osuosl167
# ./deploy_jdn jenkins c9 - deploy on jenkins and codethink9
# ./deploy_jdn jenkins 10 - deploy on jenkins and ionos10
-# ./deploy_jdn jenkins 5 6 - deploy on jenkins and ionos6 and ionos6
+# ./deploy_jdn jenkins 5 6 - deploy on jenkins and ionos5 and ionos6
# ./deploy_jdn jenkins amd64 - deploy on jenkins and all amd64 nodes
+# ./deploy_jdn only ionos10 - deploy on ionos10
+# ./deploy_jdn only o167 - deploy on osuosl167
+# ./deploy_jdn only c9 - deploy on codethink9
+# ./deploy_jdn only 10 - deploy on ionos10
+# ./deploy_jdn only 5 6 - deploy on ionos5 and ionos6
+# ./deploy_jdn only amd64 - deploy on all amd64 only
# ./deploy_jdn upgrade|u - run "apt-get update && upgrade && clean" everywhere
# ./deploy_jdn upgradey|uy - run "apt-get upgrade -y" everywhere
# ./deploy_jdn rmstamp|rm - delete stamp files everywhere
@@ -101,8 +107,12 @@ elif [ "$1" = "check" ] ; then
elif [ "$1" = "" ] ; then
HOSTS=(root at jenkins.debian.net)
echo -n "Running j.d.n.git updates on ${HOSTS[@]} now"
-elif [ "$1" = "jenkins" ] ; then
- HOSTS=(root at jenkins.debian.net)
+elif [ "$1" = "jenkins" ] || [ "$1" = "only" ] ; then
+ if [ "$1" = "jenkins" ] ; then
+ HOSTS=(root at jenkins.debian.net)
+ else
+ HOSTS=()
+ fi
shift
for i in "$@" ; do
case "$i" in
=====================================
update_jdn.sh
=====================================
@@ -117,7 +117,7 @@ user_host_groups['holger','jenkins']="reproducible,${user_host_groups['holger','
user_host_groups['mattia','*']="$sudo_groups"
user_host_groups['mattia','jenkins']="reproducible,${user_host_groups['mattia','*']}"
user_host_groups['phil','jenkins-test-vm']="$sudo_groups,libvirt,libvirt-qemu"
-user_host_groups['phil','osuosl167-amd64']="$sudo_groups,libvirt,libvirt-qemu"
+user_host_groups['phil','osuosl167-amd64']="$sudo_groups"
user_host_groups['phil','jenkins']="$sudo_groups"
user_host_groups['lunar','jenkins']='reproducible'
user_host_groups['lynxis','osuosl171-amd64']="$sudo_groups"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/a4ce754dee1afa80288da4e3983ac5e095bf4b84...0fabb04a30495ca3be96770b9c8f356a7f82d14d
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/a4ce754dee1afa80288da4e3983ac5e095bf4b84...0fabb04a30495ca3be96770b9c8f356a7f82d14d
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/20210226/1325f776/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list