chore(gitlab): add more checks

This commit is contained in:
Michele Cereda
2024-05-08 19:19:19 +02:00
parent 6b35c735c9
commit 7bdcec8fbe
2 changed files with 14 additions and 3 deletions

View File

@@ -84,9 +84,11 @@ gitlab-rails runner '
# Package upgrade
sudo yum check-update
sudo yum info 'gitlab-ee'
sudo rpm -qa | grep 'gitlab-ee'
sudo yum info 'gitlab-ee' # informational
sudo rpm -qa | grep 'gitlab-ee' # informational
sudo gitlab-backup create # not strictly necessary: the upgrade will create a partial one
tmux new-session -A -s 'gitlab-upgrade' "sudo yum update 'gitlab-ee'"
sudo gitlab-rake 'gitlab:check'
# Password reset
sudo gitlab-rake 'gitlab:password:reset[root]'