diff options
Diffstat (limited to 'ansible-deploy/files')
-rw-r--r-- | ansible-deploy/files/android-build.linaro.org | 81 | ||||
-rw-r--r-- | ansible-deploy/files/jenkins | 36 | ||||
-rw-r--r-- | ansible-deploy/files/jenkins_users.xml | 6 |
3 files changed, 0 insertions, 123 deletions
diff --git a/ansible-deploy/files/android-build.linaro.org b/ansible-deploy/files/android-build.linaro.org deleted file mode 100644 index e61c21d..0000000 --- a/ansible-deploy/files/android-build.linaro.org +++ /dev/null @@ -1,81 +0,0 @@ -<VirtualHost _default_:443> - ServerAdmin webmaster@localhost - ServerName android-build.linaro.org - <Proxy *> - Order deny,allow - Allow from all - </Proxy> - - RewriteEngine on - RewriteRule ^/builds/~([a-z][-a-z0-9]+)/([-A-Za-z0-9_.]+)/([0-9]+)/output(.*) http://127.0.0.1:600/$1_$2/builds/$3/archive$4 [L,P] - RewriteRule ^/builds/~([a-z][-a-z0-9]+)/([-A-Za-z0-9_.]+)/lastSuccessful/output(.*) http://127.0.0.1:600/$1_$2/lastSuccessful/archive$3 [L,P] - RewriteRule ^/mockup(.*) $1 [R=301] - - ProxyPass /jenkins http://localhost:8080/jenkins - ProxyPassReverse /jenkins http://localhost:8080/jenkins - - Alias /static /home/build-system-frontend/frontend/static - Alias /3.3.0/build /home/build-system-frontend/yui/build - - WSGIScriptAlias /combo /home/build-system-frontend/lazr-js/combo.wsgi - WSGIScriptAlias / /home/build-system-frontend/frontend/linaro-abs-frontend.wsgi - - <LocationMatch "/(3.3.0/build|combo)"> - SetOutputFilter DEFLATE - FileETag none - ExpiresActive on - ExpiresDefault "access plus 10 years" - Header append Cache-Control "public" - </LocationMatch> - - SSLEngine on - SSLCertificateFile /etc/ssl/private/android-build.linaro.org.crt - - BrowserMatch "MSIE [2-6]" \ - nokeepalive ssl-unclean-shutdown \ - downgrade-1.0 force-response-1.0 - BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown -</VirtualHost> - -<VirtualHost 127.0.0.1:600> - ServerAdmin webmaster@localhost - ServerName android-build.linaro.org - DocumentRoot /var/lib/jenkins/jobs -</VirtualHost> - -<VirtualHost _default_:80> - ServerAdmin webmaster@localhost - ServerName android-build.linaro.org - Alias /download/ /var/lib/jenkins/jobs/ - # Provide shortcut URLs to access artifacts - AliasMatch ^/builds/~([^/]+)/([^/]+)/(lastStable|lastSuccessful)(.*) /var/lib/jenkins/jobs/$1_$2/$3/archive/build/out$4 - AliasMatch ^/builds/~([^/]+)/([^/]+)/([^/]+)(.*) /var/lib/jenkins/jobs/$1_$2/builds/$3/archive/build/out$4 - <Directory "/var/lib/jenkins/jobs/"> - Options Indexes MultiViews FollowSymLinks - AllowOverride None - </Directory> - Alias /seed/ /mnt2/seed/ - <Directory "/mnt2/seed/"> - Options Indexes MultiViews FollowSymLinks - AllowOverride None -# Order deny,allow -# Deny from all -# Allow from 127.0.0.0/8 ::1/128 10.0.0.0/8 - </Directory> - -# RewriteLog /var/log/apache2/mod_rewrite_log -# RewriteLogLevel 3 - - RewriteEngine on - RewriteCond %{REQUEST_URI} !^/(download|seed|builds) - RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [redirect=301,last] - # Allow to access everything in /builds/* - RewriteCond %{REQUEST_URI} ^/builds/ - RewriteRule .* - [last] - # Allow to access XMLs in build artifact archives - RewriteCond %{REQUEST_URI} .+/archive/.+\.xml$ - RewriteRule .* - [last] - # But disallow access any other XMLs (e.g. configs) - RewriteCond %{REQUEST_URI} .+\.xml$ - RewriteRule .* - [forbidden] -</VirtualHost> diff --git a/ansible-deploy/files/jenkins b/ansible-deploy/files/jenkins deleted file mode 100644 index eede3e7..0000000 --- a/ansible-deploy/files/jenkins +++ /dev/null @@ -1,36 +0,0 @@ -<VirtualHost *:80> - ServerAdmin webmaster@localhost - ServerName {{site_name}} - ServerName {{inventory_hostname}} -# ServerAlias rdk.ci - ProxyRequests Off - <Proxy *> - Order deny,allow - Allow from all - </Proxy> - ProxyPreserveHost on - ProxyPass / http://localhost:8080/ - - RewriteEngine on - ReWriteCond %{SERVER_PORT} !^443$ - RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L] -</VirtualHost> - -<VirtualHost *:443> - ServerAdmin webmaster@localhost - ServerName {{site_name}} - ServerName {{inventory_hostname}} -# ServerAlias rdk.ci - ProxyRequests Off - <Proxy *> - Order deny,allow - Allow from all - </Proxy> - ProxyPreserveHost off - ProxyPass / http://localhost:8080/ - ProxyPassReverse / http://localhost:8080/ - - SSLEngine on - SSLCertificateFile {{ssl_cert}} - SSLCertificateKeyFile {{ssl_key}} -</VirtualHost> diff --git a/ansible-deploy/files/jenkins_users.xml b/ansible-deploy/files/jenkins_users.xml deleted file mode 100644 index c3c4cb5..0000000 --- a/ansible-deploy/files/jenkins_users.xml +++ /dev/null @@ -1,6 +0,0 @@ - <permission>hudson.model.Hudson.Read:frontend</permission> - <permission>hudson.model.Item.Build:frontend</permission> - <permission>hudson.model.Item.Configure:frontend</permission> - <permission>hudson.model.Item.Create:frontend</permission> - <permission>hudson.model.Item.Delete:frontend</permission> - <permission>hudson.model.Item.Read:frontend</permission> |