Skip to content

Instantly share code, notes, and snippets.

View tbarbette's full-sized avatar

Tom Barbette tbarbette

View GitHub Profile
@tbarbette
tbarbette / upgrade_gitlab.sh
Last active December 2, 2025 13:52
Simply upgrade Gitlab when using docker-compose
#!/bin/bash
# GitLab is very picky on upgrade path. There is a manual online tool to get the
# upgrade path but I don't want to do it manually. This script will look for the
# current version and upgrade gitlab version to the next one.
# There are tools like renovate or maybe watchtower to do that in a "pro" way but
# they seemed quite complex. This simply works.
set -e
SERVICE_NAME="tom-gitlab"