Add GraphQL to the Environment Rollback Components

What does this MR do and why?

This adds the necessary local queries and mutations required to trigger a rollback/re-deploy via the new local GraphQL state management set-up. This will be used as part of the new environments page. It pulls the use of isLastDeployment out of the environment object as well, and relies on it being passed in as a prop.

Screenshots or screen recordings

all back stage

How to set up and validate locally

check out !74418 (merged) for the end result.

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 Andrew Fontaine

Merge request reports

Loading