<commit_before>---
groups:
  - name: aws-bats
    jobs:
      - bats-ubuntu

jobs:
  - name: bats-ubuntu
    serial: true
    plan:
      - aggregate:
        - {trigger: true,  get: bosh-aws-cpi-release}
        - {trigger: false, get: stemcell, resource: aws-ubuntu-hvm-stemcell}
        - {trigger: true,  get: bosh-src}
        - {trigger: false, get: bats}
        - {trigger: false, get: bosh-init}

      - task: teardown-infrastructure
        file: bosh-src/ci/pipelines/aws-bats/tasks/teardown-infrastructure.yml
        config: *recreate-primary-config

      - task: setup-infrastructure
        file: bosh-src/ci/pipelines/aws-bats/tasks/setup-infrastructure.yml
        config: &recreate-primary-config
          params:
            aws_access_key_id:        {{aws_access_key__primary}}
            aws_secret_access_key:    {{aws_secret_key__primary}}
            region_name:              {{aws_region__primary}}
            stack_name:               primary

      - task: create-dev-release
        file: bosh-src/ci/pipelines/aws-bats/tasks/create-dev-release.yml

      - task: setup-director
        file: bosh-src/ci/pipelines/aws-bats/tasks/setup-director.yml
        config:
          params:
            base_os:                    Ubuntu
            aws_access_key_id:          {{aws_access_key__primary}}
            aws_secret_access_key:      {{aws_secret_key__primary}}
            region_name:                {{aws_region__primary}}
            private_key_data:           {{bosh_private_key}}
            stack_name:                 primary

      - task: run-bats
        file: bosh-src/ci/pipelines/aws-bats/tasks/run-bats.yml
        tags: ["bosh-integration-4"]
        config:
          params:
            base_os:                    Ubuntu
            aws_access_key_id:          {{aws_access_key__primary}}
            aws_secret_access_key:      {{aws_secret_key__primary}}
            region_name:                {{aws_region__primary}}
            BAT_VCAP_PASSWORD:          {{BAT_VCAP_PASSWORD}}
            BAT_STEMCELL_NAME:          {{BAT_STEMCELL_NAME_hvm_ubuntu}}
            stack_name:                 primary

      - task: teardown-director
        file: bosh-src/ci/pipelines/aws-bats/tasks/teardown-director.yml

<commit_msg>Use new concourse syntax<commit_after>---
groups:
  - name: aws-bats
    jobs:
      - bats-ubuntu

jobs:
  - name: bats-ubuntu
    serial: true
    plan:
      - aggregate:
        - {trigger: true,  get: bosh-aws-cpi-release}
        - {trigger: false, get: stemcell, resource: aws-ubuntu-hvm-stemcell}
        - {trigger: true,  get: bosh-src}
        - {trigger: false, get: bats}
        - {trigger: false, get: bosh-init}

      - task: teardown-infrastructure
        file: bosh-src/ci/pipelines/aws-bats/tasks/teardown-infrastructure.yml
        params: *recreate-primary-params

      - task: setup-infrastructure
        file: bosh-src/ci/pipelines/aws-bats/tasks/setup-infrastructure.yml
        params: &recreate-primary-params
          aws_access_key_id:        {{aws_access_key__primary}}
          aws_secret_access_key:    {{aws_secret_key__primary}}
          region_name:              {{aws_region__primary}}
          stack_name:               primary

      - task: create-dev-release
        file: bosh-src/ci/pipelines/aws-bats/tasks/create-dev-release.yml

      - task: setup-director
        file: bosh-src/ci/pipelines/aws-bats/tasks/setup-director.yml
        params:
          base_os:                    Ubuntu
          aws_access_key_id:          {{aws_access_key__primary}}
          aws_secret_access_key:      {{aws_secret_key__primary}}
          region_name:                {{aws_region__primary}}
          private_key_data:           {{bosh_private_key}}
          stack_name:                 primary

      - task: run-bats
        file: bosh-src/ci/pipelines/aws-bats/tasks/run-bats.yml
        tags: ["bosh-integration-4"]
        config:
          params:
            base_os:                    Ubuntu
            aws_access_key_id:          {{aws_access_key__primary}}
            aws_secret_access_key:      {{aws_secret_key__primary}}
            region_name:                {{aws_region__primary}}
            BAT_VCAP_PASSWORD:          {{BAT_VCAP_PASSWORD}}
            BAT_STEMCELL_NAME:          {{BAT_STEMCELL_NAME_hvm_ubuntu}}
            stack_name:                 primary

      - task: teardown-director
        file: bosh-src/ci/pipelines/aws-bats/tasks/teardown-director.yml


{'fraction_non_alphanumeric': 0.09962364401151207, 'fraction_numerical': 0.00044277175116227583, 'mean_word_length': 1.734866828087167, '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': '1080522', 'n_tokens_mistral': 1473, 'n_tokens_neox': 1383, 'n_words': 209}