[Git][qa/jenkins.debian.net][master] reproducible Debian: add gunicorn service to serve /api for rebuilder-snapshot.d.o

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Nov 21 19:44:22 GMT 2023



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


Commits:
990c992b by Holger Levsen at 2023-11-21T20:44:01+01:00
reproducible Debian: add gunicorn service to serve /api for rebuilder-snapshot.d.o

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

- - - - -


2 changed files:

- + hosts/osuosl5-amd64/etc/systemd/system/rebuilder-snapshot-metadata.service
- update_jdn.sh


Changes:

=====================================
hosts/osuosl5-amd64/etc/systemd/system/rebuilder-snapshot-metadata.service
=====================================
@@ -0,0 +1,12 @@
+[Unit]
+Description=Gunicorn instance to serve rebuilder-snapshot metadata
+After=network.target
+
+[Service]
+User=www-data
+Group=www-data
+WorkingDirectory=/srv/rebuilder-snapshop/metaservice/
+ExecStart=/usr/bin/gunicorn --workers 3 --bind 127.0.0.1:5001 wsgi:app
+
+[Install]
+WantedBy=multi-user.target


=====================================
update_jdn.sh
=====================================
@@ -483,10 +483,11 @@ if [ -f /etc/debian_version ] ; then
 			DEBS="$DEBS ffmpeg python3-popcon dose-extra"
 			;;
 		esac
-		# packages needed for snapshot.reproducible-builds.org (on osuosl4-amd64 and osuosl5, as we migrate from the former to the later)
+		# packages needed for snapshot.reproducible-builds.org and snapshot-rebuilder.d.n (on osuosl4-amd64 and osuosl5, as we migrate from the former to the later)
 		case $HOSTNAME in
 			osuosl4*|osuosl5*)	DEBS="$DEBS
 						nginx-full
+						gunicorn
 						postgresql-15
 						postgresql-plpython3-15
 						python3-dateutil



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/990c992bf3c32034f15098a4f648fa78358ca1a6
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/20231121/2daf12a4/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list