正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

Test plan for gitlabsos component upgrade

一貫した開発プロセスとドキュメントを確保するため、GitLabへのすべての貢献は英語で提出する必要があります。そのため、GitLabへの貢献に関するドキュメント(https://docs.gitlab.com/development/に掲載)も英語でのみ提供されています。

以下を希望される場合:

  • コードの貢献を提出する
  • バグの報告または修正
  • 機能や改善の提案
  • ドキュメントへの貢献

これらのページの英語版のガイドラインに従ってください。

このページの英語版にアクセスしてください。

Copy the following test plan to a comment of the merge request that upgrades the component.

## Test plan

- [ ] Check [`gitlabsos` project repository](https://gitlab.com/gitlab-com/support/toolbox/gitlabsos) for potential breaking changes.
- [ ] Green pipeline with `Trigger:ee-package` and `build-package-on-all-os`.
- [ ] Install the package and run `sudo gitlabsos`. It will take a few minutes to complete:

  ```shell
  sudo gitlabsos
  ```

- [ ] Ensure that it generates a tarball with sanitized configuration:

  ```plaintext
  [2025-08-05T15:04:08.463861] INFO -- gitlabsos: Sanitizer module found. GitLab configuration files will be collected.
  [2025-08-05T15:04:08.463926] INFO -- gitlabsos: A copy will be printed on the screen for you to review.
  [2025-08-05T15:04:08.471654] INFO -- gitlabsos: Sanitizing /etc/gitlab/gitlab.rb file
  Sanitizing /etc/gitlab/gitlab.rb...done!

  ===================== Sanitized /etc/gitlab/gitlab.rb =====================
  PLEASE CAREFULLY REVIEW THIS FILE FOR ANY SENSITIVE INFO
  THE BELOW INFO WILL BE INCLUDED (SANITIZED) IN YOUR GITLABSOS ARCHIVE
  =====================================================================
  ```

- [ ] Ensure that the tarball can be extracted.

  ```shell
  tar xzvf gitlabsos.*
  ```

- [ ] Extract the tarball and make sure that it contains `var/log/gitlab` and other files.