Home » DevOps

DevOps

Docker Tutorial Part 2 – The good the bad and the IP

In this second part of docker tutorial, I’ll explain basics of networking in docker with stand-alone containers. Remember from the previous part of the tutorial where we mapped port of our host machine and the container? In this part, we will setup our containers so they can communicate with each other and for that we don’t need to do an ...

Read More »

Run a docker PostgreSQL instance locally for Testing

Running a PostgreSQL instance ad-hoc for testing is not always as bootstraping as it should be. This blog will run a PostgreSQL instance that connects to your workstation’s network and instead of using one of the popular tools like dbeaver we shall use the client that comes with the instance. Also we shall run a bootstrap script to have some ...

Read More »

Docker Tutorial part 1 – fistfull of container

In this docker tutorial series, my aim is to explain basics of docker and to do that with min number of words but maximum number of examples. Before doing anything I want you to install docker on your machine and I hope you have an idea what docker does. If not please check docker.com. Now let me explain two basic ...

Read More »

Best Jenkins Pipeline Tutorial For Beginners [Examples]

Jenkins CI/CD has always been the goto option for DevOps professionals and beginners. It has more than 16,000 stars on GitHub and 6,500 forks. Being one of the oldest players in the CI/CD market, Jenkins has huge community support with more than 1500 plugins to help professionals ship faster through their Jenkins Pipelines. Whether you are just starting off your ...

Read More »

DevOps Guide – Implementing four-eyes principle with process automation tooling

With great power comes great responsibility. More and more organisations are moving towards a DevOps based organisational model, putting more and more responsibility into the hands of the teams delivering software. As part of that change – and the need due to the markets moving faster and faster – more and more organisations are investing into means to release more ...

Read More »

Rebuild a Maven repository in 3 steps

In this blog post, I will show a way to very quickly rebuild a Maven repository without having to set up a project. Step 1: Delete all artifacts Cleanse your Maven repository by deleting the contents of the /.m2/repository directory. Ensure to delete the settings.xml file if so required. Step 2: Create a dummy POM file Create the simplest POM ...

Read More »

TeamCity vs. Jenkins: Picking The Right CI/CD Tool

Every software development cycle involves three major phases-building, testing, and deployment. A lag in any of these three phases will result in a delay in the launch of the product. In order to avoid such delays, organizations rely on CI/CD tools to automate these processes. But lately, with rapid demand for CI/CD tools there’s a proliferation of choices, and choosing ...

Read More »

Database migrations in Kubernetes applications with Flyway

I’ve recorded a video how to migrate databases for applications that are deployed in a managed Kubernetes environment using Flyway and init containers. In order to achieve zero-downtime deployments, we need to make sure that our persistence concept supports N-1 compatibility, which requires us to be able to migrate our database schemas, ideally from reproducible scripts stored in version control. ...

Read More »

The Best and Worst of Times

The Horrible Dilemma of Dockerising Databases for Testing When working with database client code you have essentially got 4 options for testing: Mock out the entire dao layer – so your DB code isn’t tested – which is great when it’s entirely autogenerated and trustworthyMock the DB driver – an often messy implementation-driven rewrite-backwards of the client code just to ...

Read More »