Skip to content

Allow for more flexibility with custom large projects

Nailia Iskhakova requested to merge 441-custom-large-project into master

Adding a new root_group option in large_projects setting to allow specifying custom project path and name and not expecting it to be under gpt root group. Additionally GPT will skip data version check for the custom large project if skip_check_version is set.

Examples:

  • Custom large project setup - with the custom group path and project name. If specify "root_group": "custom_group", GPT will use #{custom_group}/#{group}/#{project} as a large project and will use project data from the file #{project}. Also user need to explicitly disable GPT version check by adding "skip_check_version": "true":
    "gpt_data": {
      "root_group": "gpt",
      "skip_check_version": "true",
      "large_projects": {
        "root_group": "custom_group",
        "group": "test",
        "project": "custom_proj"
        },
  • Default large project setup (no changes)
    "gpt_data": {
      "root_group": "gpt",
      "large_projects": {
        "group": "large_projects",
        "project": "gitlabhq"
        },

Closes #441 (closed)

Edited by Nailia Iskhakova

Merge request reports