Best (hosted) CI solution to use with GAE (Python)?

150 views
Skip to first unread message

Filip Nilsson

unread,
Aug 3, 2015, 6:29:41 AM8/3/15
to Google App Engine
Hi!

Does anyone have experiences to share regarding hosted CI providers and Google App Engine. Currently I have my tests running locally using nose and nose-gae. One provider I have been looking at is CircleCI. Seems quite nice, they have instructions on how to set up testing with GAE.

Any thoughts are welcome!

Thanks in advance,
Filip

Michael Spainhower

unread,
Aug 3, 2015, 4:01:40 PM8/3/15
to Google App Engine
We use CircleCI and it is great for testing Python GAE apps.  Here (https://gist.github.com/SpainTrain/28fe7da692f5b9bf3266) is a gist for our circle.yml, Makefile, .noserc, and requirements.txt as an example.  We use vendoring (https://cloud.google.com/appengine/docs/python/tools/libraries27?hl=en#vendoring), so this config basically does the following:
  • Updates certain "global" pypi pkgs
  • Installs the local vendored pypi packages
  • Installs the GAE SDK
  • Runs linters
  • Runs tests with nose (outputting artifacts for results xml, coverage, and profiling)
  • [when building master branch] run a deployment script
As a bit of errata, do not worry about caching the downloaded SDK zip files.  CircleCI already reverse proxies these downloads with a cache, so they are extremely fast.

As a different example, this project skeleton seems to use TravisCI - https://github.com/rbanffy/testable_appengine

cheers,
--Spain

Michael Spainhower

unread,
Aug 4, 2015, 6:25:27 PM8/4/15
to Google App Engine
Also, CodeShip has built in support for deploying to GAE.  I have not used CodeShip myself.



On Monday, August 3, 2015 at 6:29:41 AM UTC-4, Filip Nilsson wrote:

Filip Nilsson

unread,
Aug 12, 2015, 6:06:19 AM8/12/15
to Google App Engine
Hey!

Sorry for my late replay, vacation time here. Thanks for you detailed response, we ended up trying CircleCI, and it seems to work really good. Also, great input about the reverse proxying, I had some caching plans in mind already, so you speared me some time there.

Cheers,
Filip
Reply all
Reply to author
Forward
0 new messages