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)

x86
Linux
defect
Not set
normal

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>
Oh, and update every single packaged installed right at the start.
Product: mozilla.org → Release Engineering
Elastic beanstalk is worth a look for deployment I think.
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
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.