groups:
- name: infrastructure
  jobs:
  - deploy-mega-ci-bosh

resources:
- name: deployments-runtime
  type: git
  source:
    branch: master
    private_key: {{private_key}}
    uri: git@github.com:cloudfoundry/deployments-runtime.git
- name: mega-test
  type: git
  source:
    branch: master
    private_key: {{private_key}}
    uri: git@github.com:cloudfoundry/mega-test.git
- name: mega-ci
  type: git
  source:
    branch: master
    private_key: {{private_key}}
    uri: git@github.com:cloudfoundry/mega-ci.git

jobs:
- name: deploy-mega-ci-bosh
  plan:
  - aggregate:
    - get: deployments-runtime
    - get: mega-test
    - get: mega-ci
  - task: deploy-bosh
    file: mega-ci/scripts/ci/deploy-bosh.yml
    config:
      params:
        DEPLOYMENT_DIR: 'mega-test'
        PATH_TO_PASSWORDS_STUB: 'stubs/bosh/passwords_stub.yml'

groups:
- name: infrastructure
  jobs:
  - deploy-mega-ci-bosh

resources:
- name: deployments-runtime
  type: git
  source:
    branch: master
    private_key: {{private_key}}
    uri: git@github.com:cloudfoundry/deployments-runtime.git
- name: mega-test
  type: git
  source:
    branch: master
    private_key: {{private_key}}
    uri: git@github.com:cloudfoundry/mega-test.git
- name: mega-ci
  type: git
  source:
    branch: master
    private_key: {{private_key}}
    uri: git@github.com:cloudfoundry/mega-ci.git

jobs:
- name: deploy-mega-ci-bosh
  plan:
  - aggregate:
    - get: deployments-runtime
    - get: mega-test
    - get: mega-ci
  - task: deploy-bosh
    file: mega-ci/scripts/ci/deploy-bosh.yml
    config:
      params:
        DEPLOYMENT_DIR: 'mega-test'
        PATH_TO_PASSWORDS_STUB: 'stubs/bosh/bosh_passwords.yml'

Update location of bosh password stub
Update location of bosh password stub
