Skip to content

Adds crossProjectPipelineAvailable to NamespaceType

Laura Montemayor requested to merge lm-add-paid-boolean-to-gql into master

What does this MR do and why?

Add crossProjectPipelineAvailable to NamespaceType. This is needed in order to complete the frontend work: #348303 (closed), which prevents the multi-project pipeline graph being available on GitLab Free

BE issue: #350809 (closed)

How to set up and validate locally

query:

{
  project(fullPath: "root/the-lodge") {
    pipeline(iid: "17") {
      user {
        namespace{
      	  crossProjectPipelineAvailable
        }
      }
    }
  }
}

response:

{
  "data": {
    "project": {
      "pipeline": {
        "user": {
          "namespace": {
            "crossProjectPipelineAvailable": false
          }
        }
      }
    }
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Laura Montemayor

Merge request reports

Loading