<commit_before>---
groups:
- name: fresh-luna
  jobs:
  - add-claimed-lock-fresh
  - setup-infrastructure-fresh
  - update-infrastructure-fresh
  - destroy-infrastructure-fresh
  - remove-claimed-lock-fresh

- name: upgrade-trelawney
  jobs:
  - add-claimed-lock-upgrade
  - setup-infrastructure-upgrade
  - update-infrastructure-upgrade
  - destroy-infrastructure-upgrade
  - remove-claimed-lock-upgrade

- name: experimental-hermione
  jobs:
  - add-claimed-lock-experimental
  - setup-infrastructure-experimental
  - update-infrastructure-experimental
  - destroy-infrastructure-experimental
  - remove-claimed-lock-experimental

- name: cats
  jobs:
  - add-claimed-lock-cats
  - setup-infrastructure-cats
  - update-infrastructure-cats
  - destroy-infrastructure-cats
  - remove-claimed-lock-cats

- name: bbr
  jobs:
  - add-claimed-lock-bbr
  - setup-infrastructure-bbr
  - update-infrastructure-bbr
  - destroy-infrastructure-bbr
  - remove-claimed-lock-bbr

- name: lite-snitch
  jobs:
  - add-claimed-lock-lite
  - setup-infrastructure-lite
  - destroy-infrastructure-lite
  - update-infrastructure-lite
  - remove-claimed-lock-lite

- name: windows-cedric
  jobs:
  - add-claimed-lock-windows
  - setup-infrastructure-windows
  - destroy-infrastructure-windows
  - update-infrastructure-windows
  - remove-claimed-lock-windows

- name: stable-bellatrix
  jobs:
  - add-claimed-lock-stable
  - setup-infrastructure-stable
  - update-infrastructure-stable
  - destroy-infrastructure-stable
  - remove-claimed-lock-stable

- name: dev
  jobs:
  - setup-infrastructure-maxime
  - destroy-infrastructure-maxime

fresh-bbl-up-task: &fresh-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-config: relint-envs
    bbl-state: relint-envs
  params:
    BBL_CONFIG_DIR: environments/test/luna/bbl-config
    BBL_ENV_NAME: luna-fresh
    BBL_GCP_REGION: europe-west3
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/luna/luna-fresh.key.json
    BBL_IAAS: gcp
    BBL_LB_CERT: ../lb-certs/luna.crt
    BBL_LB_KEY: ../lb-certs/luna.key
    BBL_STATE_DIR: environments/test/luna/bbl-state
    LB_DOMAIN: cf.luna.env.wg-ard.ci.cloudfoundry.org
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

upgrade-bbl-up-task: &upgrade-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-config: relint-envs
    bbl-state: relint-envs
  params:
    BBL_CONFIG_DIR: environments/test/trelawney/bbl-config
    BBL_ENV_NAME: trelawney-upgrade
    BBL_GCP_REGION: europe-west3
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/trelawney/trelawney.key.json
    BBL_IAAS: gcp
    BBL_LB_CERT: ../lb-certs/trelawney.crt
    BBL_LB_KEY: ../lb-certs/trelawney.key
    BBL_STATE_DIR: environments/test/trelawney/bbl-state
    LB_DOMAIN: cf.trelawney.env.wg-ard.ci.cloudfoundry.org
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

experimental-bbl-up-task: &experimental-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-config: relint-envs
    bbl-state: relint-envs
  params:
    BBL_AWS_ACCESS_KEY_ID: ((hermione_aws_access_key_id))
    BBL_AWS_REGION: us-west-2
    BBL_AWS_SECRET_ACCESS_KEY: ((hermione_aws_secret_access_key))
    BBL_CONFIG_DIR: environments/test/hermione/bbl-config
    BBL_ENV_NAME: hermione-experimental
    BBL_IAAS: aws
    BBL_LB_CERT: ((hermione_lb.certificate))
    BBL_LB_CERT_CHAIN: ((hermione_lb.ca))
    BBL_LB_KEY: ((hermione_lb.private_key))
    BBL_STATE_DIR: environments/test/hermione/bbl-state
    LB_DOMAIN: hermione.cf-app.com
    TRUSTED_CA: ((relint_ca.certificate))
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

bbr-bbl-up-task: &bbr-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-state: relint-envs
    bbl-config: combined-inputs
  params:
    BBL_STATE_DIR: environments/test/bbr/bbl-state
    BBL_IAAS: gcp
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/bbr/baba-yaga.key.json
    BBL_GCP_REGION: europe-west3
    BBL_LB_CERT: ../lb-certs/baba-yaga.crt
    BBL_LB_KEY: ../lb-certs/baba-yaga.key
    LB_DOMAIN: cf.baba-yaga.env.wg-ard.ci.cloudfoundry.org
    BBL_ENV_NAME: baba-yaga-bbr
    BBL_CONFIG_DIR: .
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

lite-bbl-up-task: &lite-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-config: combined-inputs
    bbl-state: relint-envs
  params:
    BBL_CONFIG_DIR: .
    BBL_ENV_NAME: snitch-lite
    BBL_GCP_REGION: europe-west3
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/snitch/snitch-lite.key.json
    BBL_IAAS: gcp
    BBL_STATE_DIR: environments/test/snitch/bbl-state
    SKIP_LB_CREATION: true
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

windows-bbl-up-task: &windows-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-state: relint-envs
    bbl-config: relint-envs
  params:
    # BBL_CONFIG_DIR: environments/test/cedric/bbl-config
    # BBL_ENV_NAME: cedric-windows
    BBL_GCP_REGION: europe-west3
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/cedric/cedric.key.json
    BBL_IAAS: gcp
    BBL_LB_CERT: ../cert.pem
    BBL_LB_KEY: ../key.pem
    BBL_STATE_DIR: environments/test/cedric/bbl-state
    LB_DOMAIN: cf.cedric.env.wg-ard.ci.cloudfoundry.org
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

stable-bbl-up-task: &stable-bbl-up-task-config<commit_msg>Enable bbl config option for "cedric" environment<commit_after>---
groups:
- name: fresh-luna
  jobs:
  - add-claimed-lock-fresh
  - setup-infrastructure-fresh
  - update-infrastructure-fresh
  - destroy-infrastructure-fresh
  - remove-claimed-lock-fresh

- name: upgrade-trelawney
  jobs:
  - add-claimed-lock-upgrade
  - setup-infrastructure-upgrade
  - update-infrastructure-upgrade
  - destroy-infrastructure-upgrade
  - remove-claimed-lock-upgrade

- name: experimental-hermione
  jobs:
  - add-claimed-lock-experimental
  - setup-infrastructure-experimental
  - update-infrastructure-experimental
  - destroy-infrastructure-experimental
  - remove-claimed-lock-experimental

- name: cats
  jobs:
  - add-claimed-lock-cats
  - setup-infrastructure-cats
  - update-infrastructure-cats
  - destroy-infrastructure-cats
  - remove-claimed-lock-cats

- name: bbr
  jobs:
  - add-claimed-lock-bbr
  - setup-infrastructure-bbr
  - update-infrastructure-bbr
  - destroy-infrastructure-bbr
  - remove-claimed-lock-bbr

- name: lite-snitch
  jobs:
  - add-claimed-lock-lite
  - setup-infrastructure-lite
  - destroy-infrastructure-lite
  - update-infrastructure-lite
  - remove-claimed-lock-lite

- name: windows-cedric
  jobs:
  - add-claimed-lock-windows
  - setup-infrastructure-windows
  - destroy-infrastructure-windows
  - update-infrastructure-windows
  - remove-claimed-lock-windows

- name: stable-bellatrix
  jobs:
  - add-claimed-lock-stable
  - setup-infrastructure-stable
  - update-infrastructure-stable
  - destroy-infrastructure-stable
  - remove-claimed-lock-stable

- name: dev
  jobs:
  - setup-infrastructure-maxime
  - destroy-infrastructure-maxime

fresh-bbl-up-task: &fresh-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-config: relint-envs
    bbl-state: relint-envs
  params:
    BBL_CONFIG_DIR: environments/test/luna/bbl-config
    BBL_ENV_NAME: luna-fresh
    BBL_GCP_REGION: europe-west3
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/luna/luna-fresh.key.json
    BBL_IAAS: gcp
    BBL_LB_CERT: ../lb-certs/luna.crt
    BBL_LB_KEY: ../lb-certs/luna.key
    BBL_STATE_DIR: environments/test/luna/bbl-state
    LB_DOMAIN: cf.luna.env.wg-ard.ci.cloudfoundry.org
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

upgrade-bbl-up-task: &upgrade-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-config: relint-envs
    bbl-state: relint-envs
  params:
    BBL_CONFIG_DIR: environments/test/trelawney/bbl-config
    BBL_ENV_NAME: trelawney-upgrade
    BBL_GCP_REGION: europe-west3
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/trelawney/trelawney.key.json
    BBL_IAAS: gcp
    BBL_LB_CERT: ../lb-certs/trelawney.crt
    BBL_LB_KEY: ../lb-certs/trelawney.key
    BBL_STATE_DIR: environments/test/trelawney/bbl-state
    LB_DOMAIN: cf.trelawney.env.wg-ard.ci.cloudfoundry.org
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

experimental-bbl-up-task: &experimental-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-config: relint-envs
    bbl-state: relint-envs
  params:
    BBL_AWS_ACCESS_KEY_ID: ((hermione_aws_access_key_id))
    BBL_AWS_REGION: us-west-2
    BBL_AWS_SECRET_ACCESS_KEY: ((hermione_aws_secret_access_key))
    BBL_CONFIG_DIR: environments/test/hermione/bbl-config
    BBL_ENV_NAME: hermione-experimental
    BBL_IAAS: aws
    BBL_LB_CERT: ((hermione_lb.certificate))
    BBL_LB_CERT_CHAIN: ((hermione_lb.ca))
    BBL_LB_KEY: ((hermione_lb.private_key))
    BBL_STATE_DIR: environments/test/hermione/bbl-state
    LB_DOMAIN: hermione.cf-app.com
    TRUSTED_CA: ((relint_ca.certificate))
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

bbr-bbl-up-task: &bbr-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-state: relint-envs
    bbl-config: combined-inputs
  params:
    BBL_STATE_DIR: environments/test/bbr/bbl-state
    BBL_IAAS: gcp
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/bbr/baba-yaga.key.json
    BBL_GCP_REGION: europe-west3
    BBL_LB_CERT: ../lb-certs/baba-yaga.crt
    BBL_LB_KEY: ../lb-certs/baba-yaga.key
    LB_DOMAIN: cf.baba-yaga.env.wg-ard.ci.cloudfoundry.org
    BBL_ENV_NAME: baba-yaga-bbr
    BBL_CONFIG_DIR: .
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

lite-bbl-up-task: &lite-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-config: combined-inputs
    bbl-state: relint-envs
  params:
    BBL_CONFIG_DIR: .
    BBL_ENV_NAME: snitch-lite
    BBL_GCP_REGION: europe-west3
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/snitch/snitch-lite.key.json
    BBL_IAAS: gcp
    BBL_STATE_DIR: environments/test/snitch/bbl-state
    SKIP_LB_CREATION: true
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

windows-bbl-up-task: &windows-bbl-up-task-config
  file: cf-deployment-concourse-tasks/bbl-up/task.yml
  input_mapping:
    bbl-state: relint-envs
    bbl-config: relint-envs
  params:
    BBL_CONFIG_DIR: environments/test/cedric/bbl-config
    # BBL_ENV_NAME: cedric-windows
    BBL_GCP_REGION: europe-west3
    BBL_GCP_SERVICE_ACCOUNT_KEY: environments/test/cedric/cedric.key.json
    BBL_IAAS: gcp
    BBL_LB_CERT: ../cert.pem
    BBL_LB_KEY: ../key.pem
    BBL_STATE_DIR: environments/test/cedric/bbl-state
    LB_DOMAIN: cf.cedric.env.wg-ard.ci.cloudfoundry.org
  ensure:
    put: relint-envs
    params:
      repository: updated-bbl-state
      rebase: true

stable-bbl-up-task: &stable-bbl-up-task-config
{'fraction_non_alphanumeric': 0.11031195840554593, 'fraction_numerical': 0.0010398613518197574, 'mean_word_length': 3.249263622974963, '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': '2245378', 'n_tokens_mistral': 4650, 'n_tokens_neox': 4525, 'n_words': 583}