This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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" |