Categories
CICD Cloud Infrastructure

GitLab, App Service & CI/CD – Variant 1

[Updates] 2020-11-29 – reference terraform simple-appservice module 2020-11-29 – add small fix for GitLab CI script Since I spent way more time fighting with this I though I might write a proper recap and maybe help others to get started. I also set up a repository with example code which should (!) be a “pull-and-run” […]

Categories
CICD Development Docker Infrastructure Linux

Databases with dokku

This is part 2 of a couple of blog posts about dokku, a amazing little Heroku clone. In the previous post I showed how to set up Dokku on a DigitalOcean droplet, and deployed a little hello-world container with a single git push. The reason why I wanted dokku thoug was the need of a […]

Categories
CICD Development Docker Infrastructure

Build your own PaaS with Dokku

I was looking for some “play” deployment method for a couple of things I want to try out. Most of them require a database. And it should be cheap, cause I don’t have any load on them and don’t earn any money, so I don’t want to spend basically no money if possible. The usual […]

Categories
Uncategorized

CI / CD solutions

Everyone wants free candy. Or a CI/CD solution, that … auto-deploys container-based servcies auto-updates (roll-forward, roll-back) those services on keypress and “triggers” has one-click-deployment of services. My definition of “service” here is “A set of containers working together in a certain way, automatically load balanced where needed”. Example: A n worker nodes, loadbalanced from a […]

Categories
Longer things

My take at a CI infrastructure, Pt.3

All right, back again. Much text here. Let’s talk about … Containerizing The Binaries We are done with the build, now we have a binary. I went for something simple: Who knows best how to put this into a container? The dev guy. Cause he knows what he needs, where he needs it, and where […]

Categories
Longer things

My take at a CI infrastructure, Pt.2

For CI I want the classics – a check in (push) to the repo should be catched by TeamCity, and trigger … a build of the artifact, once running of unit tests containerizing the artifact uploading it to a private Docker registry The question was: How? This post deals with building the code. Building Code […]

Categories
Longer things

My take at a CI infrastructure, Pt.1

… so far. It might be crappy, but I’ll share it, cause it’s working. (Well, today it started doing this 😉 ). But enough preamble, let’s jump in. The Situation I am in a new project. Those people have nothing but a deadline, and when I say nothing I mean it. Not even code. They […]