canonical-web-and-design / www.canonical.com

A databaseless django app powering http://www.canonical.com
Other
9 stars 24 forks source link

Entrypoint for talisker gevent workers #293

Closed nottrobin closed 6 years ago

nottrobin commented 6 years ago

Fixes https://github.com/ubuntudesign/base-squad/issues/110

QA

./run

See that it mentions "Booting worker" 3 times. Go to http://localhost:8002 - browse around, check the site works. Then:

docker build --tag canonical --build-arg COMMIT_ID=`git rev-parse HEAD` .
docker run -ti -p 8099:80 canonical

See that it mentions "Booting worker" 3 times. Go to http://localhost:8099 - check the site works.

Also, check the X-VCS-Revision shows correctly:

$ curl -Is localhost:8099 | grep VCS
X-VCS-Revision: {commit_hash}
webteam-app commented 6 years ago

Starting demo at: http://www.canonical.com-pr-293.run.demo.haus/