Video streaming devops blog

Blogging from Github

Github markdown editing user interface

Create a new blog

This works by .travis.yml instructing a build & deploy upon Travis CI.

The downside of this approach is that TravisCI can take as long as ten minutes for a trivial change, since the npm install phase on the build container setup is so slow at ~70s.

Only way I can think of speeding it up is to create a Docker image with the node+aws+gatsbyjs pre-installed in order to just do the gatsby build after pulling the image. Assuming that pulling an image should be faster than a fragile npm install but then it would be a burden to maintain the Docker image.

Though it may be a wasted effort, since AWS Cloudfront can take several minutes for an invalidation to propagate!

Posted 2016-08-15
Page history

Devops at Spuul. Any tips or suggestions? Reach out!