Edge Computing with Cloudflare Workers
Eating Dogfood at Scale: How We Build Serverless Apps with Workers

Eating Dogfood at Scale: How We Build Serverless Apps with Workers

4/19/2019 · Jonathan Spies

What this post added

This post details how Cloudflare engineers are using the Serverless Framework to manage the deployment of Cloudflare Access, a product being rebuilt entirely on Workers. It covers setting up a CI/CD pipeline for Workers, including Git integration, automated deployments, environment management, unit testing, and TypeScript support. The post highlights the decision to use the Serverless Framework over custom scripting or Terraform for its extensibility and focus on the serverless niche. It provides a detailed walkthrough of the `serverless.yml` configuration, including service definition, provider settings, plugins, functions, environment variables, KV namespace binding, and routing. It also touches upon unit testing strategies using tools like `cloudworker`, Mocha, and Sinon.

Read the original post ↗