[Git][qa/jenkins.debian.net][master] 2 commits: jenkins nodes: install /etc/cron.d/* with correct perms
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Dec 12 18:13:55 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
15e85eb0 by Holger Levsen at 2024-12-12T19:13:35+01:00
jenkins nodes: install /etc/cron.d/* with correct perms
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
6bb615b3 by Holger Levsen at 2024-12-12T19:13:35+01:00
amd64.reproduce.d.n: create /stats from cron
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
3 changed files:
- + hosts/osuosl5-amd64/etc/cron.d/rebuilderd
- hosts/osuosl5-amd64/etc/nginx/nginx.conf
- update_jdn.sh
Changes:
=====================================
hosts/osuosl5-amd64/etc/cron.d/rebuilderd
=====================================
@@ -0,0 +1,2 @@
+MAILTO=root
+42 * * * * rebuilderd mkdir -p /srv/rebuilderd/stats/ && /srv/jenkins/bin/rebuilder_stats.py i386 /srv/rebuilderd/rebuilderd.db > /srv/rebuilderd/stats/index.html
=====================================
hosts/osuosl5-amd64/etc/nginx/nginx.conf
=====================================
@@ -46,10 +46,10 @@ http {
}
location /stats/ {
- alias /home/jspricke/public_html/stats/ ;
+ alias /srv/rebuilderd/stats/ ;
disable_symlinks off;
autoindex on;
- }
+ }
}
=====================================
update_jdn.sh
=====================================
@@ -292,6 +292,11 @@ for h in common common-amd64 common-i386 common-arm64 common-armhf "$HOSTNAME" ;
sudo cp --preserve=mode,timestamps -r "hosts/$h/$d/"* "/$d"
fi
done
+ if [ -d "hosts/$h/etc/cron.d/" ]; then
+ for f in "hosts/$h/etc/cron.d/"* ; do
+ sudo chmod 640 "$f"
+ done
+ fi
done
# We really don't need the man database here, save time.
$UP2DATE || echo "man-db man-db/auto-update boolean false" | sudo debconf-set-selections
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/8f350a922dd4bdc97aaef27d68741f32fcc9779b...6bb615b3ac87c1da4ac3c33de4ff8dab4839b097
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/8f350a922dd4bdc97aaef27d68741f32fcc9779b...6bb615b3ac87c1da4ac3c33de4ff8dab4839b097
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/20241212/5f3c33b8/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list