Ephemeral Environments from GitHub Pull Requests

We found that when developers created Pull Requests to have their code reviewed or to preview their work themselves with credentials in a real environment, that often developers work was overwriting one another fairly quickly. If a developer stands up to get a coffee by the time their preview environment is ready it could have already been overwritten by another developers pull request causing another run to occur. Using Kubernetes Operators and our existing developer portal we found an easy way to launch short lived environments on our Kubernetes environment that used GitHub pull requests as the trigger mechanism to create new preview environments for our developers. This provided unique URLs allowing developers to preview or review pull requests without interruption.



Karl Haworth

Karl Haworth is a Architect within the Developer Accelerator space at American Airlines where he works on Developer Experience, including the Backstage implementation, DevOps, and Kubernetes related ...