text: import gql from 'graphql-tag';
  import DeploymentFragment from 'lib/fragment/Deployment';
  
  export default gql`
    query getEnvironment($openshiftProjectName: String!, $deploymentName: String!) {
      environment: environmentByOpenshiftProjectName(
        openshiftProjectName: $openshiftProjectName
      ) {
        id
        name
        openshiftProjectName
        project {
          id
          name
        }
        deployments(name: $deploymentName) {
          ...deploymentFields
          buildLog
        }
      }
    }
    ${DeploymentFragment}
  `;
  