<commit_before>---
# this is intentionally redundant with the second `replace` operation
# we need to check for the existence of the `fog connection` key
# to confirm that `use-external-blobstore.yml` has been applied
- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/buildpacks/fog_connection
  error: "Please apply `use-external-blobstore.yml` first."
  value:
    provider: Google

- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/buildpacks
  value: &blobstore-properties
    fog_connection:
      provider: Google
      google_storage_access_key_id: ((blobstore_access_key_id))
      google_storage_secret_access_key: ((blobstore_secret_access_key))

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

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

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

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

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

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

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

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

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

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

- type: replace
  path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/resource_pool
  value: *blobstore-properties<commit_msg>[#156104803] Edit replace operations to not clobber blobstore name etc<commit_after>---
# this is intentionally redundant with the second `replace` operation
# we need to check for the existence of the `fog connection` key
# to confirm that `use-external-blobstore.yml` has been applied
- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/buildpacks/fog_connection
  error: "Please apply `use-external-blobstore.yml` first."
  value:
    provider: Google

- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/buildpacks/fog_connection
  value: &blobstore-properties
    provider: Google
    google_storage_access_key_id: ((blobstore_access_key_id))
    google_storage_secret_access_key: ((blobstore_secret_access_key))

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

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

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

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

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

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

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

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

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

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

- type: replace
  path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/resource_pool/fog_connection
  value: *blobstore-properties
{'fraction_non_alphanumeric': 0.10038926449498053, 'fraction_numerical': 0.0018438844499078057, 'mean_word_length': 5.715268225584595, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7547579', 'n_tokens_mistral': 1566, 'n_tokens_neox': 1517, 'n_words': 247}