Closed
Bug 888215
Opened 12 years ago
Closed 12 years ago
Write puppet manifests for machine(s) to serve S3 archive of mozilla-inbound builds
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: nthomas, Unassigned)
References
Details
Current list of steps once you have an instance based on our Centos builder AMI, EC2-Classic network, releng-public security group:
# as root
wget --no-check-certificate https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz
tar xf virtualenv-1.9.1.tar.gz
mkdir /var/www/serveS3
cd $_
python ~/virtualenv-1.9.1/virtualenv.py venv # convert to vendor/ ??
. venv/bin/activate
pip install boto flask
# put serveS3.py, makehtml.py and serveS3.wsgi here
# see bug 888214 for where this will live
chown -R apache:apache .
yum install mod_wsgi
#### put this in /etc/httpd/conf.d/serveS3.conf:
# for daemon mode WSGI
WSGISocketPrefix /var/run/wsgi
<VirtualHost *>
WSGIDaemonProcess serveS3 user=apache group=apache threads=5
WSGIScriptAlias / /var/www/serveS3/serveS3.wsgi
<Directory /var/www/serveS3>
WSGIProcessGroup serveS3
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
| Reporter | ||
Comment 1•12 years ago
|
||
Oh, and update every single packaged installed right at the start.
| Assignee | ||
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Comment 2•12 years ago
|
||
Elastic beanstalk is worth a look for deployment I think.
| Reporter | ||
Comment 3•12 years ago
|
||
I put the code up in http://hg.mozilla.org/users/nthomas_mozilla.com/serveS3/. Since comment #0 I added the flask-compress module to the virtualenv.
OS: Mac OS X → Linux
| Reporter | ||
Comment 4•12 years ago
|
||
Elastic Beanstalk completely removes this requirement.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•