Memory and Thought Alex's home on the web


Notes on setting up gitlab CI

At Maker Labs we’ve been working on a Django project with a javascript frontend using React and Redux. Both projects have a significant number of tests and I wanted to have a CI setup running tests on each branch and updating the branch status. As it turns out it was so easy to add deployment that I ended up setting up continuous deployment too.

Transactions and the repository pattern in Go

A common challenge when implementing architectures which use the repository pattern is dealing with the requirement for transactions which need to coordinate multiple repositories. In this post I describe a simple architectural pattern to accomodate this.