Organizing Phoenix Seeds

Feb 2, 2020

Seeding is a common data population technique when running an application during development, or for initializing test data. Phoenix already has us covered when it comes to seeding data, via the seeds.exs file generated when a new Phoenix project is created. This single file works great when dealing with relatively little data. Things can quickly get out of hand as the number of tables and data grows however. In this short post we'll look at one option for splitting out seed data into multiple files.

Setting up a Phoenix CI / CD pipeline on GitLab - part 3

Nov 30, 2019

Last time out, we managed to get a Docker image of our application building on GitLab. Today we'll look at deploying that image via GitLab's Kubernetes integration.

Setting up a Phoenix CI / CD pipeline on GitLab - part 2

Nov 24, 2019

Last time we set up the "CI" portion of our "CI / CD" pipeline. Today we'll look at building out a Docker image of our application on GitLab. In a subsequent post we'll use this image in a Kubernetes deployment.

Setting up a Phoenix CI / CD pipeline on GitLab - part 1

Nov 10, 2019

I recently had the opportunity to set-up a Phoenix CI / CD pipeline on GitLab. I was super impressed with how easy it was to get everything up and running. In this post we'll look at how to go about compiling our code and running our tests on GitLab. In subsequent posts, we'll deploy our application via the GitLab Kubernetes integration.

A Docker Disaster

Oct 7, 2019

Okay, disaster is a bit hyperbolic. I did however, end up banging my head against a wall for way too long trying to figure out an issue with a Docker image for use in a GitLab CI / CD pipeline. This had nothing to do with Docker or GitLab and everything to do with me... I hate it when that happens! In this short post I'll run thru the scenario I found myself in. The issue was pretty obvious, but sometimes those are the hardest things to spot; hopefully I can save someone else some time down the line!