Add CI job to Terraform state version GraphQL type
What does this MR do?
Allows fetching details about the CI job that created a Terraform state version.
GraphQL example
Query:
{
project(fullPath: "terraform/test-project") {
id
terraformStates {
nodes {
name
latestVersion {
id
job {
name
}
}
}
}
}
}
Response
{
"data": {
"project": {
"id": "gid://gitlab/Project/21",
"terraformStates": {
"nodes": [
{
"name": "example-name",
"latestVersion": {
"id": "gid://gitlab/Terraform::StateVersion/19",
"job": {
"name": "apply"
}
}
}
]
}
}
}
}
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
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
Related to #267168
Merge request reports
Activity
changed milestone to %13.6
added 1 commit
- d9a92320 - Add CI job to Terraform state version GraphQL type
mentioned in commit 164e9136
added 1 commit
- 164e9136 - Add CI job to Terraform state version GraphQL type
added backend documentation labels
1 Message This merge request adds or changes documentation files. A review from the Technical Writing team before you merge is recommended. Reviews can happen after you merge. Documentation review
The following files require a review from a technical writer:
doc/api/graphql/reference/index.md
The review does not need to block merging this merge request. See the:
- Technical Writers assignments for the appropriate technical writer for this review.
- Documentation workflows for information on when to assign a merge request for review.
Reviewer roulette
Changes that require review have been detected! A merge request is normally reviewed by both a reviewer and a maintainer in its primary category (e.g. frontend or backend), and by a maintainer in all other categories.
To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot, based on their timezone. Feel free to override these selections if you think someone else would be better-suited, or the chosen person is unavailable.
To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.
Once you've decided who will review this merge request, mention them as you normally would! Danger does not automatically notify them for you.
Category Reviewer Maintainer backend Corinna Wiesner ( @cwiesner
) (UTC+1, 10 hours behind@tigerwnz
)Heinrich Lee Yu ( @engwan
) (UTC+8, 3 hours behind@tigerwnz
)If needed, you can retry the
danger-review
job that generated this comment.Generated by
DangerEdited by 🤖 GitLab Bot 🤖mentioned in merge request !47347 (merged)
Hi @emilyring, can you please give this a first look? Thanks!
assigned to @emilyring and unassigned @tigerwnz
assigned to @tigerwnz
unassigned @emilyring
@engwan can you please have a look as maintainer? Thanks!
mentioned in issue #267168
enabled an automatic merge when the pipeline for 9b8d7d45 succeeds
Thanks @tigerwnz, looks good to me
mentioned in commit 52cd3d90
added workflowstaging label and removed workflowdesign label
added workflowcanary label and removed workflowstaging label
added workflowproduction label and removed workflowcanary label
added releasedcandidate label
added releasedpublished label and removed releasedcandidate label
added groupenvironments label and removed groupconfigure [DEPRECATED] label