Skip to content

Add `manual_variables` field into PipelineType

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

Issue: #323097

JiHu Issue: https://jihulab.com/gitlab-cn/gitlab/-/issues/3965

Add manual_variables fields to pipeline object in GraphQL.

image

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Visit http://127.0.0.1:3000/-/graphql-explorer page
  2. Execute the query statement (remember to replace the project id and pipeline iid)
{
  project(fullPath: "flightjs/Flight") {
    id
    pipeline(iid: 89) {
      manualVariables(first: 1) {
        nodes {
          key
          value
        }
      }
    }
  }
}
Edited by Zhiyuan Lu

Merge request reports