<commit_before>---
name: concourse

director_uuid: <%= `bosh status --uuid` %>

# fill in with jobs and resources
pipeline: &pipeline
  resources: []

  jobs:
    - name: dummy
      config:
        image: docker:///ubuntu#14.04
        run:
          path: echo
          args: [Hello, world!]

releases:
  - name: concourse
    version: latest

jobs:
  - name: web
    instances: 1
    resource_pool: concourse
    networks:
      - name: concourse
        static_ips: [&web-ip 10.244.8.2]
    persistent_disk: 1024 # for consul
    templates:
      - {release: concourse, name: atc}
      - {release: concourse, name: consul-agent}
    properties:
      atc:
        pipeline: *pipeline
        postgresql:
          database: &atc-db atc
          role: &atc-role
            name: atc
            password: <PASSWORD>

      consul:
        agent:
          mode: server

  - name: db
    instances: 1
    resource_pool: concourse
    networks: [{name: concourse}]
    persistent_disk: 10240
    templates:
      - {release: concourse, name: postgresql}
      - {release: concourse, name: consul-agent}
    properties:
      postgresql:
        databases: [{name: *atc-db}]
        roles: [*atc-role]

      consul:
        agent:
          services: [{name: postgresql}]
          servers: {lan: [*web-ip]}

  - name: worker
    instances: 1
    resource_pool: concourse
    networks: [{name: concourse}]
    templates:
      - {release: concourse, name: turbine}
      - {release: concourse, name: garden}
      - {release: concourse, name: consul-agent}
    properties:
      consul:
        agent:
          services: [{name: turbine}]
          servers: {lan: [*web-ip]}

networks:
  - name: concourse
    subnets:
      # network with static ip used for web
      - range: 10.244.8.0/30
        reserved: [10.244.8.1]
        static: [10.244.8.2]
        cloud_properties: {}

      # networks for dynamic ips (db, workers, compilation vms)
      - range: 10.244.8.4/30
        reserved: [10.244.8.5]
        cloud_properties: {}
      - range: 10.244.8.8/30
        reserved: [10.244.8.9]
        cloud_properties: {}
      - range: 10.244.8.12/30
        reserved: [10.244.8.13]
        cloud_properties: {}<commit_msg>update bosh-lite manifest<commit_after>---
name: concourse

director_uuid: <%= `bosh status --uuid` %>

# fill in with jobs and resources
pipeline: &pipeline
  resources: []

  jobs:
    - name: dummy
      config:
        image: docker:///ubuntu#14.04
        run:
          path: echo
          args: [Hello, world!]

releases:
  - name: concourse
    version: latest
  - name: garden-linux
    version: latest

jobs:
  - name: web
    instances: 1
    resource_pool: concourse
    networks:
      - name: concourse
        static_ips: [&web-ip 10.244.8.2]
    persistent_disk: 1024 # for consul
    templates:
      - {release: concourse, name: atc}
      - {release: concourse, name: consul-agent}
    properties:
      atc:
        pipeline: *pipeline
        postgresql:
          database: &atc-db atc
          role: &atc-role
            name: atc
            password: <PASSWORD>

      consul:
        agent:
          mode: server

  - name: db
    instances: 1
    resource_pool: concourse
    networks: [{name: concourse}]
    persistent_disk: 10240
    templates:
      - {release: concourse, name: postgresql}
      - {release: concourse, name: consul-agent}
    properties:
      postgresql:
        databases: [{name: *atc-db}]
        roles: [*atc-role]

      consul:
        agent:
          services: [{name: postgresql}]
          servers: {lan: [*web-ip]}

  - name: worker
    instances: 1
    resource_pool: concourse
    networks: [{name: concourse}]
    templates:
      - {release: concourse, name: turbine}
      - {release: garden-linux, name: garden}
      - {release: concourse, name: consul-agent}
    properties:
      consul:
        agent:
          services: [{name: turbine}]
          servers: {lan: [*web-ip]}

networks:
  - name: concourse
    subnets:
      # network with static ip used for web
      - range: 10.244.8.0/30
        reserved: [10.244.8.1]
        static: [10.244.8.2]
        cloud_properties: {}

      # networks for dynamic ips (db, workers, compilation vms)
      - range: 10.244.8.4/30
        reserved: [10.244.8.5]
        cloud_properties: {}
      - range: 10.244.8.8/30
        reserved: [10.244.8.9]
        cloud_properties: {}
      - range: 10.244.8.12/30
        reserved: [10.244.8.13]
        cloud_properties: {}
{'fraction_non_alphanumeric': 0.12251216275984078, 'fraction_numerical': 0.042459088898717384, 'mean_word_length': 1.8882503192848021, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 20, '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': '4476548', 'n_tokens_mistral': 1605, 'n_tokens_neox': 1479, 'n_words': 374}