OSS Fan ~OSSでLinuxサーバ構築~

このエントリーをはてなブックマークに追加

GitLab Community Edition 14.5.1をリストア

カテゴリ:OSSセットアップ | ソフトウェア:GitLab | タグ:
最終更新日: | 公開日:2022/08/21

目次

概要

 GitLab Community Edition 14.5.1をインストールして利用していましたが、別のサーバへ環境を引っ越すことにしました。 移行のためにGitLabのバックアップを取得後、新しいサーバでリストアした時に実行した手順です。

<注意点>

  • バージョン12.1以前と12.2以降でバックアップコマンドが異なります。本手順は12.2以降のコマンドを使用しています。
  • リストアできるのはバックアップしたGitLabと厳格に同じバージョン同じエディション(CE/EE)が前提となります。
  • Linuxのファイルシステム上に保持されている設定ファイルなどはリストアの対象とならないため、個別リストアする必要があります。
  • リストアする前に少なくとも一度は gitlab-ctl reconfigure コマンドを実行している必要があります。
  • リストアする前に gitlab-ctl start コマンドでGitLabを起動している必要があります。
  • 構成

    サーバ構成

    OS

    AlmaLinux release 8.5 (Arctic Sphynx) aarch64

    インストール済み主要パッケージ

    • gitlab-ce-14.5.1-ce.0.el8.aarch64.rpm
    • postfix-3.5.8-2.el8.aarch64.rpm

    手順

    GitLabのデータのリストア

    GitLabのバックアップファイルの準備

     gitlab-backup create コマンドでバックアップしたファイルを準備します。 リストアしたいサーバの /var/opt/gitlab/backups/ ディレクトリにファイルを配置します。 パーミッションもバックアップした時と同じもの(特に所有ユーザ git が大事)を設定しておきます。

    # cd /var/opt/gitlab/backups/
    # ls -al
    total 780
    drwx------  2 git  root   4096 Dec 12 05:07 .
    drwxr-xr-x 21 root root   4096 Dec 12 05:11 ..
    -rw-r--r--  1 root root 460800 Dec  3 02:25 1638465951_2021_12_03_14.5.1_gitlab_backup.tar
    # chown git:git 1638465951_2021_12_03_14.5.1_gitlab_backup.tar
    # ls -al
    total 780
    drwx------  2 git  root   4096 Dec 12 05:07 .
    drwxr-xr-x 21 root root   4096 Dec 12 05:11 ..
    -rw-r--r--  1 git  git  460800 Dec  3 02:25 1638465951_2021_12_03_14.5.1_gitlab_backup.tar
    

    GitLabの一部プロセスの停止

     GitLabのりストアをする前にGitLabを起動状態にしておく必要がありますが、 puma と sidekiq の2つは個別に停止した状態からリストアを実行します。

    # gitlab-ctl status
    run: alertmanager: (pid 1500266) 30925s; run: log: (pid 798) 109618656s
    run: gitaly: (pid 1500375) 30912s; run: log: (pid 805) 109618656s
    run: gitlab-exporter: (pid 1500280) 30925s; run: log: (pid 792) 109618656s
    run: gitlab-workhorse: (pid 1500257) 30926s; run: log: (pid 801) 109618656s
    run: grafana: (pid 1500283) 30924s; run: log: (pid 795) 109618656s
    run: logrotate: (pid 1581545) 2123s; run: log: (pid 815) 109618656s
    run: nginx: (pid 1500300) 30923s; run: log: (pid 804) 109618656s
    run: node-exporter: (pid 1500308) 30923s; run: log: (pid 796) 109618656s
    run: postgres-exporter: (pid 1500314) 30923s; run: log: (pid 800) 109618656s
    run: postgresql: (pid 812) 109618656s; run: log: (pid 799) 109618656s
    run: prometheus: (pid 1587605) 5s; run: log: (pid 806) 109618656s
    run: puma: (pid 1500333) 30922s; run: log: (pid 809) 109618656s ←起動している
    run: redis: (pid 803) 109618656s; run: log: (pid 794) 109618656s
    run: redis-exporter: (pid 1500339) 30921s; run: log: (pid 793) 109618656s
    run: sidekiq: (pid 1500345) 30921s; run: log: (pid 811) 109618656s ←起動している
    # gitlab-ctl stop puma
    ok: down: puma: 1s, normally up
    # gitlab-ctl stop sidekiq
    ok: down: sidekiq: 1s, normally up
    # gitlab-ctl status
    run: alertmanager: (pid 1500266) 30974s; run: log: (pid 798) 109618705s
    run: gitaly: (pid 1500375) 30961s; run: log: (pid 805) 109618705s
    run: gitlab-exporter: (pid 1500280) 30974s; run: log: (pid 792) 109618705s
    run: gitlab-workhorse: (pid 1500257) 30975s; run: log: (pid 801) 109618705s
    run: grafana: (pid 1500283) 30973s; run: log: (pid 795) 109618705s
    run: logrotate: (pid 1581545) 2172s; run: log: (pid 815) 109618705s
    run: nginx: (pid 1500300) 30972s; run: log: (pid 804) 109618705s
    run: node-exporter: (pid 1500308) 30972s; run: log: (pid 796) 109618705s
    run: postgres-exporter: (pid 1500314) 30972s; run: log: (pid 800) 109618705s
    run: postgresql: (pid 812) 109618705s; run: log: (pid 799) 109618705s
    run: prometheus: (pid 1587755) 9s; run: log: (pid 806) 109618705s
    down: puma: 29s, normally up; run: log: (pid 809) 109618705s ←停止した
    run: redis: (pid 803) 109618705s; run: log: (pid 794) 109618705s
    run: redis-exporter: (pid 1500339) 30970s; run: log: (pid 793) 109618705s
    down: sidekiq: 12s, normally up; run: log: (pid 811) 109618705s ←停止した
    

    GitLabのリストア

     GitLabが提供しているリストアコマンドを実行します。 オプションの「BACKUP=」で指定するのはリストア対象のtarファイル名ではなく、 tarファイル名から後ろの「_gitlab_backup.tar」部分を除いた文字列です。

    # gitlab-backup restore BACKUP=1638465951_2021_12_03_14.5.1
    Unpacking backup ... done
    Be sure to stop Puma, Sidekiq, and any other process that
    connects to the database before proceeding. For Omnibus
    installs, see the following link for more information:
    https://docs.gitlab.com/ee/raketasks/backup_restore.html#restore-for-omnibus-gitlab-installations
    
    Before restoring the database, we will remove all existing
    tables to avoid future upgrade problems. Be aware that if you have
    custom tables in the GitLab database these tables and all data will be
    removed.
    (========== 中略 ==========)
    2021-12-12 14:03:12 +0900 -- Restoring lfs objects ... 
    2021-12-12 14:03:12 +0900 -- done
    This task will now rebuild the authorized_keys file.
    You will lose any data stored in the authorized_keys file.
    Do you want to continue (yes/no)? yes
    
    Deleting backups/tmp ... done
    Warning: Your gitlab.rb and gitlab-secrets.json files contain sensitive data 
    and are not included in this backup. You will need to restore these files manually.
    Restore task is done.
    

    GitLabの設定ファイルのリストア

    リストア対象

     gitlab-backup restore コマンドでデータのリストアは行われますが、リストア対象にGitLabの設定ファイルは含まれていません。 バックアップ時にもファイルシステム上の設定ファイルは個別にファイル単位でバックアップしているはずなので、 バックアップ済みのファイルをリストアします。 設定ファイルのリストアはサーバに scp や rsync などのコマンドを使ってファイルをコピーし、既存のファイルを上書きします。

    # ls -l
    total 576
    drwx------ 2 root root   4096 Dec 12 05:07 config_backup
    -rw------- 1 root root 127757 Nov 28 04:05 gitlab.rb ←リストア対象
    -rw------- 1 root root  19099 Dec 12 05:11 gitlab-secrets.json ←リストア対象
    drwxr-xr-x 2 root root   4096 Nov 28 03:43 trusted-certs
    

    GitLabの再構成

     リストアした設定ファイルの内容を有効にするためにGitLabの再構成を行います。

    # gitlab-ctl reconfigure
    Starting Chef Infra Client, version 15.17.4
    resolving cookbooks for run list: ["gitlab"]
    Synchronizing Cookbooks:
      - gitlab (0.0.1)
      - package (0.1.0)
      - logrotate (0.1.0)
      - postgresql (0.1.0)
      - redis (0.1.0)
      - mattermost (0.1.0)
      - registry (0.1.0)
    (========== 中略 ==========)
         (up to date)
    Recipe: gitlab::database_reindexing_disable
      * crond_job[database-reindexing] action delete
        * file[/var/opt/gitlab/crond/database-reindexing] action delete (up to date)
         (up to date)
    
    Running handlers:
    Running handlers complete
    Chef Infra Client finished, 1/774 resources updated in 38 seconds
    gitlab Reconfigured!
    

    GitLabの再起動

     GitLabの再構成が終わったら、再起動します。

    # gitlab-ctl restart
    ok: run: alertmanager: (pid 1592657) 0s
    ok: run: gitaly: (pid 1592667) 1s
    ok: run: gitlab-exporter: (pid 1592683) 0s
    ok: run: gitlab-workhorse: (pid 1592685) 1s
    ok: run: grafana: (pid 1592695) 0s
    ok: run: logrotate: (pid 1592717) 0s
    ok: run: nginx: (pid 1592723) 1s
    ok: run: node-exporter: (pid 1592731) 0s
    ok: run: postgres-exporter: (pid 1592738) 1s
    ok: run: postgresql: (pid 1592747) 0s
    ok: run: prometheus: (pid 1592749) 1s
    ok: run: puma: (pid 1592767) 0s
    ok: run: redis: (pid 1592772) 0s
    ok: run: redis-exporter: (pid 1592779) 1s
    ok: run: sidekiq: (pid 1592787) 0s
    

    GitLabの設定の検査

     GitLabが起動したら設定に問題ないか検査します。

    # gitlab-rake gitlab:check SANITIZE=true
    Checking GitLab subtasks ...
    
    Checking GitLab Shell ...
    
    GitLab Shell: ... GitLab Shell version >= 13.22.1 ? ... OK (13.22.1)
    Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
    Internal API available: OK
    Redis available via internal API: OK
    gitlab-shell self-check successful
    
    Checking GitLab Shell ... Finished
    
    Checking Gitaly ...
    
    Gitaly: ... default ... OK
    
    Checking Gitaly ... Finished
    
    Checking Sidekiq ...
    
    Sidekiq: ... Running? ... yes
    Number of Sidekiq processes (cluster/worker) ... 1/1
    
    Checking Sidekiq ... Finished
    
    Checking Incoming Email ...
    
    Incoming Email: ... Reply by email is disabled in config/gitlab.yml
    
    Checking Incoming Email ... Finished
    
    Checking LDAP ...
    
    LDAP: ... LDAP is disabled in config/gitlab.yml
    
    Checking LDAP ... Finished
    
    Checking GitLab App ...
    
    Git configured correctly? ... yes
    Database config exists? ... yes
    All migrations up? ... yes
    Database contains orphaned GroupMembers? ... no
    GitLab config exists? ... yes
    GitLab config up to date? ... yes
    Log directory writable? ... yes
    Tmp directory writable? ... yes
    Uploads directory exists? ... yes
    Uploads directory has correct permissions? ... yes
    Uploads directory tmp has correct permissions? ... skipped (no tmp uploads folder yet)
    Systemd unit files or init script exist? ... skipped (omnibus-gitlab has neither init script nor systemd units)
    Systemd unit files or init script up-to-date? ... skipped (omnibus-gitlab has neither init script nor systemd units)
    Projects have namespace: ...
    2/1 ... yes
    6/2 ... yes
    Redis version >= 5.0.0? ... yes
    Ruby version >= 2.7.2 ? ... yes (2.7.4)
    Git version >= 2.33.0 ? ... yes (2.33.1)
    Git user has default SSH configuration? ... yes
    Active users: ... 2
    Is authorized keys file accessible? ... yes
    GitLab configured to store new projects in hashed storage? ... yes
    All projects are in hashed storage? ... yes
    
    Checking GitLab App ... Finished
    
    
    Checking GitLab subtasks ... Finished
    
    

     以上でリストア作業は終了です。 GitLabの色々な機能を利用している場合はプラスでリストア作業が必要となるようですが、 私はGitLabでユーザを作成してソースコードをアップして管理する程度の使い方しかしていないため、 以上でリストア後も利用できています。

    補足

     GitLabのバックアップ/リストアでは厳密に同じエディション、同じバージョンである必要があります。 最新バージョンの場合はあまり困りませんが、少し古いバージョンを使っているような場合、 バージョン指定でGitLabをインストールする必要があります。その手順を補足として載せておきます。

    GitLabをバージョン指定でインストール

     以下は新規インストールではなくGitLab CEをアップデートしたときのログですが、 新規インストールでも実行するコマンドは同じです。 インストール可能なバージョンの一覧を表示し、その中に目的のバージョンがあることを確認してインストールを実行します。

    # dnf --showduplicates search gitlab-ce
    Last metadata expiration check: 0:01:33 ago on Sun 12 Dec 2021 05:00:34 AM JST.
    =========================================== Name Exactly Matched: gitlab-ce ============================================
    gitlab-ce-14.5.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.10.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.10.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.10.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.10.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.10.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.10.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.11.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.11.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.11.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.11.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.11.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.11.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.11.6-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.11.7-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.10-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.11-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.12-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.15-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.7-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.8-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.12.9-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.6-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.7-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.8-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.7.9-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.8.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.8.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.8.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.8.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.8.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.8.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.8.6-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.8.7-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.8.8-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.9.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.9.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.9.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.9.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.9.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.9.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.9.6-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-13.9.7-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.10-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.11-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.12-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.6-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.7-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.8-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.0.9-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.6-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.7-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.7-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.1.8-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.2.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.2.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.2.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.2.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.2.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.2.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.2.6-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.2.7-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.3.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.3.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.3.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.3.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.3.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.3.5-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.3.6-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.4.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.4.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.4.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.4.3-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.4.4-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.5.0-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.5.1-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    gitlab-ce-14.5.2-ce.0.el8.aarch64 : GitLab Community Edition (including NGINX, Postgres, Redis)
    # dnf -y install gitlab-ce-14.5.1-ce.0.el8.aarch64
    Last metadata expiration check: 0:02:20 ago on Sun 12 Dec 2021 05:00:34 AM JST.
    Dependencies resolved.
    ========================================================================================================================
     Package                  Architecture           Version                          Repository                       Size
    ========================================================================================================================
    Upgrading:
     gitlab-ce                aarch64                14.5.1-ce.0.el8                  gitlab_gitlab-ce                908 M
    
    Transaction Summary
    ========================================================================================================================
    Upgrade  1 Package
    
    Total download size: 908 M
    Downloading Packages:
    (========== 中略 ==========)
      Running scriptlet: gitlab-ce-14.5.0-ce.0.el8.aarch64                                                              2/2 
      Verifying        : gitlab-ce-14.5.1-ce.0.el8.aarch64                                                              1/2 
      Verifying        : gitlab-ce-14.5.0-ce.0.el8.aarch64                                                              2/2 
    
    Upgraded:
      gitlab-ce-14.5.1-ce.0.el8.aarch64                                                                                     
    
    Complete!
    

    参考にしたサイト