# this ops file is intentionally a copy of operations/use-gcs-blobstore-service-account.yml
# to test whether increased blobstore timeout improves gcs stability
---
- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/buildpacks/fog_connection
  value: &fog_config
    provider: Google
    google_project: ((gcs_project))
    google_client_email: ((gcs_service_account_email))
    google_json_key_string: ((gcs_service_account_json_key))
    blobstore_timeout: ((gcs_blobstore_timeout))

- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/droplets/fog_connection
  value: *fog_config

- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/packages/fog_connection
  value: *fog_config

- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/resource_pool/fog_connection
  value: *fog_config


- type: replace
  path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/buildpacks/fog_connection
  value: *fog_config

- type: replace
  path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/droplets/fog_connection
  value: *fog_config

- type: replace
  path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/packages/fog_connection
  value: *fog_config

- type: replace
  path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/resource_pool/fog_connection
  value: *fog_config


- type: replace
  path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/buildpacks/fog_connection
  value: *fog_config

- type: replace
  path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/droplets/fog_connection
  value: *fog_config

- type: replace
  path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/packages/fog_connection
  value: *fog_config

- type: replace
  path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/resource_pool/fog_connection
  value: *fog_config

Allow testing whether increasing gcs timeout decreases Zipkin failures
Allow testing whether increasing gcs timeout decreases Zipkin failures

Luna is configured to use gcs blobstore with service account so we can't
use the existing test ops file for this purpose

[
