0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GitLab17へのアップデート準備

Posted at

GitLabのバージョン17が5/16にリリース予定となっています

それに向けて情報収集や準備をしようと思います。

重要な変更

ランナーの登録方法の変更

古いランナーの登録方法が完全に排除されるようです。

image.png

DeepLに翻訳してもらいました

GitLab 16.0では、ランナーの登録にランナー認証トークンを使用する新しいランナー作成ワークフローを導入しました。登録トークンを使うレガシーワークフローはGitLab 17.0ではデフォルトで無効になり、GitLab 18.0では削除される予定です。登録トークンがまだ使われている場合、GitLab 17.0にアップグレードするとランナー登録に失敗します。

「ランナー登録に失敗する」って書いてあるけど、登録済みのランナーは使えるのかな?🤔

Postgresのバージョン

Linuxパッケージを利用している場合はPostgres14である必要があるようです。

image.png

事前準備:16系の最新にアップデート

毎回段階的なアップデートを求められるので、事前に16系の最新に上げておきます。
試しに一気に16系最新までアップデートしようとしたら以下のようなメッセージが出ました

gitlab         | It seems you are upgrading from 16.3.7 to 16.11.1.
gitlab         | It is required to upgrade to the latest 16.7.x version first before proceeding.
gitlab         | Please follow the upgrade documentation at https://docs.gitlab.com/ee/update/#upgrade-paths

メッセージに書いてあるとおりに段階的にアップデートしていきます。

最終的に、以下の順でアップデートしました

16.0
 ↓
16.3.7
 ↓
16.7.7
 ↓
16.11.1

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?