Skip to content

Replace git_data_dirs #416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tobiashuste
Copy link
Member

@tobiashuste tobiashuste commented Apr 28, 2025

Starting with GitLab 18.0 git_data_dirs will be removed. They need to be replaced according to: https://docs.gitlab.com/omnibus/settings/configuration/#migrating-from-git_data_dirs

@Normo Do we want to provide a fallback for older GitLab versions? In principle the new method is now supported for quite a couple of releases.

Related to #366

@tobiashuste tobiashuste self-assigned this Apr 28, 2025
@tobiashuste tobiashuste requested a review from a team as a code owner April 28, 2025 12:51
@github-actions github-actions bot added the gitlab Related to hifis.gitlab role label Apr 28, 2025
Starting with GitLab 18.0 git_data_dirs will be removed. They need to be
replaced according to: https://docs.gitlab.com/omnibus/settings/configuration/#migrating-from-git_data_dirs
@tobiashuste tobiashuste force-pushed the replace-git-data-dirs branch from 1edd95f to 73e9ad5 Compare April 28, 2025 12:59
@Normo Normo self-requested a review April 28, 2025 13:05
@tobiashuste
Copy link
Member Author

@Normo Could you please review this one?

@Normo
Copy link
Member

Normo commented May 19, 2025

@tobiashuste Thanks, that looks reasonable to me.

One thing we definitely need to consider: gitaly[‘configuration’] is also used to configure authentication and network listeners for example. So far, we have done this via the gitlab_additional_configurations variable as follows:

gitlab_additional_configurations:
  - gitaly:
      - key: ‘configuration’
        type: ‘plain’
        value: ‘{{ gitaly_configuration }}’

We need to make sure that it is merged and not overwritten.

@tobiashuste
Copy link
Member Author

@tobiashuste Thanks, that looks reasonable to me.

One thing we definitely need to consider: gitaly[‘configuration’] is also used to configure authentication and network listeners for example. So far, we have done this via the gitlab_additional_configurations variable as follows:

gitlab_additional_configurations
  - gitaly:
      - key: ‘configuration’
        type: ‘plain’
        value: ‘{{ gitaly_configuration }}’

We need to make sure that it is merged and not overwritten.

That's a good point. I'll have a look how this could be done.

@tobiashuste tobiashuste force-pushed the replace-git-data-dirs branch from d8cade9 to 876fc36 Compare May 19, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gitlab Related to hifis.gitlab role
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants