[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] add an apache redirect on buildinfos.d.n

Mattia Rizzolo gitlab at salsa.debian.org
Thu Feb 27 17:14:14 GMT 2020



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
c4f3448a by Mattia Rizzolo at 2020-02-27T18:14:05+01:00
add an apache redirect on buildinfos.d.n

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


2 changed files:

- deploy_jdn
- hosts/profitbricks-build7-amd64/etc/apache2/sites-available/buildinfos.debian.net.conf


Changes:

=====================================
deploy_jdn
=====================================
@@ -109,6 +109,7 @@ elif [ "$1" = "jenkins" ] ; then
 			2|pb2)	 HOSTS+=(profitbricks-build2-i386.debian.net) ;;
 			5|pb5)	 HOSTS+=(profitbricks-build5-amd64.debian.net) ;;
 			6|pb6)	 HOSTS+=(profitbricks-build6-i386.debian.net) ;;
+			7|pb7)	 HOSTS+=(profitbricks-build7-amd64.debian.net) ;;
 			9|pb9)	 HOSTS+=(profitbricks-build9-amd64.debian.net) ;;
 			10|pb10) HOSTS+=(profitbricks-build10-amd64.debian.net) ;;
 			11|pb11) HOSTS+=(profitbricks-build11-amd64.debian.net) ;;


=====================================
hosts/profitbricks-build7-amd64/etc/apache2/sites-available/buildinfos.debian.net.conf
=====================================
@@ -97,4 +97,10 @@ Use https-redirect buildinfos.debian.net
 	Use common-directives-ssl buildinfos.debian.net
 	AddDefaultCharset utf-8
 	DocumentRoot /var/lib/jenkins/userContent/reproducible/debian/
+
+	# redirect /pkg to /buildinfo-pool/p/pkg
+	RewriteCond %{REQUEST_FILENAME} !-f
+	RewriteCond %{REQUEST_FILENAME} !-d
+	Rewritecond /var/lib/jenkins/userContent/reproducible/debian/buildinfo-pool/$1/$1$2/ -d
+	RewriteRule ^/((?:lib)?[a-z0-9])([a-z0-9.+-]+)/?$ /buildinfo-pool/$1/$1$2 [R,L]
 </VirtualHost>



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

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


More information about the Qa-jenkins-scm mailing list