<commit_before>jobs:
  - name: bosh-deploy
    plan:
    - aggregate:
      - get: github-release
      - get: bosh-stemcell
        resource: gcp-stemcell
      - get: deployments
    - put: wings-deployment
      params:
        cleanup: true
        manifest: deployments/prod/deployments/wings.yml
        stemcells: [bosh-stemcell/*.tgz]
        releases:
          - github-release/concourse-*.tgz
          - github-release/garden-runc-*.tgz

resources:
- name: wings-deployment
  type: bosh-deployment
  source:
    target: ((bosh_target))
    deployment: concourse-wings
    client: ((bosh_client.id))
    client_secret: ((bosh_client.secret))

- name: github-release
  type: github-release
  source:
    access_token: ((concourse_github_release.access_token))
    repository: concourse
    user: concourse

- name: gcp-stemcell
  type: bosh-io-stemcell
  source:
    name: bosh-google-kvm-ubuntu-trusty-go_agent

- name: deployments
  type: git
  source:
    uri: git@github.com:concourse/deployments.git
    branch: master
    private_key: ((deployments_repo_private_key))


resource_types:
- name: bosh-deployment
  type: docker-image
  source:
    repository: cloudfoundry/bosh-deployment-resource<commit_msg>add rc deployment jobs for wings<commit_after>jobs:
  - name: bosh-deploy-final-release
    plan:
    - aggregate:
      - get: github-release
      - get: bosh-stemcell
        resource: gcp-stemcell
      - get: deployments
    - put: wings-deployment
      params:
        cleanup: true
        manifest: deployments/prod/deployments/wings.yml
        stemcells: [bosh-stemcell/*.tgz]
        releases:
          - github-release/concourse-*.tgz
          - github-release/garden-runc-*.tgz

  - name: dry-run-bosh-deploy-rc
    plan:
    - aggregate:
      - get: bosh-rc
      - get: garden-runc
      - get: bosh-stemcell
        resource: gcp-stemcell
      - get: deployments
    - put: wings-deployment
      params:
        cleanup: true
        manifest: deployments/prod/deployments/wings.yml
        stemcells: [bosh-stemcell/*.tgz]
        dry_run: true
        releases:
          - garden-runc/*.tgz
          - bosh-rc/concourse-*.tgz

  - name: bosh-deploy-rc
    plan:
    - aggregate:
      - get: bosh-rc
        passed: [dry-run-bosh-deploy-rc]
      - get: garden-runc
        passed: [dry-run-bosh-deploy-rc]
      - get: bosh-stemcell
        passed: [dry-run-bosh-deploy-rc]
        resource: gcp-stemcell
      - get: deployments
        passed: [dry-run-bosh-deploy-rc]
    - put: wings-deployment
      params:
        cleanup: true
        manifest: deployments/prod/deployments/wings.yml
        stemcells: [bosh-stemcell/*.tgz]
        releases:
          - garden-runc/*.tgz
          - bosh-rc/concourse-*.tgz

resources:
- name: wings-deployment
  type: bosh-deployment
  source:
    target: ((bosh_target))
    deployment: concourse-wings
    client: ((bosh_client.id))
    client_secret: ((bosh_client.secret))

- name: github-release
  type: github-release
  source:
    access_token: ((concourse_github_release.access_token))
    repository: concourse
    user: concourse

- name: gcp-stemcell
  type: bosh-io-stemcell
  source:
    name: bosh-google-kvm-ubuntu-trusty-go_agent

- name: deployments
  type: git
  source:
    uri: <EMAIL>:concourse/deployments.git
    branch: master
    private_key: ((deployments_repo_private_key))

- name: bosh-rc
  type: s3
  source:
    bucket: concourse-release-candidates
    regexp: concourse-(.*).tgz

- name: garden-runc
  type: bosh-io-release
  source:
    repository: cloudfoundry/garden-runc-release

resource_types:
- name: bosh-deployment
  type: docker-image
  source:
    repository: cloudfoundry/bosh-deployment-resource
{'fraction_non_alphanumeric': 0.11224216447897134, 'fraction_numerical': 0.0002678810608090008, 'mean_word_length': 2.3822463768115942, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3275411', 'n_tokens_mistral': 1325, 'n_tokens_neox': 1245, 'n_words': 234}