Skip to content

Add needed fields to job type

Payton Burdette requested to merge pb-add-fields-to-job-type into master

What does this MR do?

Adds missing data to JobType

This is needed data to refactor the jobs table to Vue/GraphQL.

Query

{
  project(fullPath: "root/ci-project") {
    pipeline(iid: "169") {
      jobs {
        nodes {
         commitPath
          refName
          refPath
          playable
          retryable
          cancelable
          active
          coverage
        }
      }
    }
  }
}

Response

Screen_Shot_2021-04-01_at_12.41.42_PM

Screenshots (strongly suggested)

For context, we need some missing data that's used here on jobs index view

Screen_Shot_2021-04-01_at_10.48.14_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