Skip to content
Snippets Groups Projects
  1. Jan 10, 2025
  2. Dec 18, 2024
  3. Nov 08, 2024
  4. Nov 05, 2024
    • Stan Hu's avatar
      Make ActionCable Redis settings use default Redis Sentinel password · 6c142799e37c
      Stan Hu authored
      Suppose you have this config:
      
      ```
      gitlab_rails['redis_sentinels'] = [
        {"host"=>"gitlabtest-cluster-redis-01", "port"=>26379},
        {"host"=>"gitlabtest-cluster-redis-02", "port"=>26379},
        {"host"=>"gitlabtest-cluster-redis-03", "port"=>26379}
      ]
      gitlab_rails['redis_sentinels_password'] = "some password"
      redis['enable'] = false
      redis['master_name'] = "gitlab-redis"
      redis['master_password'] = "some password"
      ```
      
      Previously ActionCable Redis settings would only look for
      `gitlab_rails['redis_actioncable_sentinels_password']` and did
      not fall back to `gitlab_rails['redis_sentinels_password']`.
      
      Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8728
      
      Changelog: fixed
      6c142799e37c
  5. Sep 20, 2024
  6. Sep 11, 2024
  7. Jul 12, 2024
  8. Jun 30, 2024
  9. Apr 15, 2024
  10. Jul 12, 2024
  11. Jun 24, 2024
    • Ian Baum's avatar
      Add gitlab-backup user · ab269a7991a2
      Ian Baum authored
      * Creates the gitlab-backup user and groups if they dont' exist
      * Adds the user to other groups
      * For use by gitlab-backup-cli for read/write permission to data for
        backups and restores
      
      Changelog: added
      ab269a7991a2
  12. Jun 11, 2024
  13. May 29, 2024
  14. May 15, 2024
  15. May 09, 2024
  16. May 07, 2024
  17. Apr 03, 2024
  18. Feb 29, 2024
    • Ahmad Sherif's avatar
      Create git_data_dirs even if gitlab_rails is disabled · ea069d9fe8c9
      Ahmad Sherif authored
      Currently, `gitlab_rails` service needs to be enabled in order for
      `gitaly` service to function properly. Specifically, `gitlab_rails`
      creates `git_data_dirs` (e.g. `/var/opt/gitlab/git-data/repositories`)
      which is needed for Gitaly to start-up. If only the `gitaly` service is
      enabled, then Gitaly won't start due to config validation error (i.e.
      storage directories have to be present).
      
      This MR makes the creation of these directories the responsibility of
      the `gitaly` cookbook. The `gitlab` cookbook still creates the
      directories as backward-compatibility measure, as I'm not sure if these
      directories are needed outside of Gitaly.
      
      This is needed as part of
      https://gitlab.com/gitlab-com/gl-infra/production-engineering/-/issues/24530.
      
      Changelog: fixed
      ea069d9fe8c9
  19. Feb 15, 2024
  20. Feb 13, 2024
  21. Jan 23, 2024
  22. Jan 11, 2024
  23. Dec 11, 2023
    • Will Chandler's avatar
      Restart Gitaly when updating Gitlab-Shell token · 05c8442762e4
      Will Chandler authored
      Originally Gitaly would shell out to Gitlab-Shell to make internal API
      calls. This had no retained state regarding the secret token, so no
      service restarts were required in this scenario.
      
      However, for several years the main Gitaly process has been responsible
      for calling the internal API. This will only read the Gitlab-Shell
      secret file during its startup process, and subsequent changes to that
      will not be detected by Gitaly, leading to spurious 401 errors.
      
      To resolve this, restart the Gitaly service when updating
      `gitlab_shell['secret_token']`.
      
      Changelog: fixed
      05c8442762e4
  24. Dec 12, 2023
    • Andrew Patterson's avatar
      Add gitlab-ctl generate-secrets command · 878e283a5318
      Andrew Patterson authored
      Add the generate-secrets command to gitlab-ctl which creates a JSON file
      containing secrets from the gitlab.rb file. The -f|--file option can
      be used to send the output to a specified file instead of the default
      /etc/gitlab/gitlab-secrets.json.
      
      Changelog: added
      878e283a5318
  25. Dec 04, 2023
  26. Dec 06, 2023
  27. Nov 29, 2023
  28. Oct 23, 2023
  29. Oct 16, 2023
  30. Oct 14, 2023
  31. Sep 15, 2023
  32. Aug 01, 2023
  33. Jun 16, 2023
  34. Jun 14, 2023
  35. Jun 12, 2023
  36. May 26, 2023
  37. May 31, 2023
Loading