Skip to content

Add missing data to CiJob type

Payton Burdette requested to merge pb-add-missing-data-to-ci-job-type into master

What does this MR do?

Adds new data to the CiJob type. This data is needed to successfully refactor the jobs index view to Vue/GraphQL.

  • created_by_tag
  • manual_job
  • triggered

Query

query getJobs($fullPath: ID! ) {
  project(fullPath: $fullPath) {
    jobs {
      nodes {
        createdByTag
        manualJob
        triggered
      }
    }
  }
}

Related to: #328416 (closed)

Screenshots (strongly suggested)

Screen_Shot_2021-04-21_at_9.41.17_AM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Payton Burdette

Merge request reports

Loading