anchor.diff:          - VERSION
           - CHANGELOG
   
  -  <% if buildpacks[language]['stacks'].include?('windows') or language == "python" %>
     - name: cf-deployment
       type: git
       source:
         uri: https://github.com/cloudfoundry/cf-deployment
  -  <% end %>
   
     - name: buildpack-develop-with-version-and-changelog
       type: git
  
positive.code:           - specs-unit-develop
          - get: repo
            resource: buildpack-develop
  <% if language == "python" %>
          - get: cf-deployment
        - task: scale-up-api-and-diego-cell
          file: feature-eng-ci/tasks/cf/scale-up-api-and-diego-cell/task.yml
          input_mapping:
            ci: feature-eng-ci
            lock: environment
  <% end %>
  <% if buildpacks[language]['stacks'].include?('windows')%>
          - get: cf-deployment
        - task: deploy-windows-cell
          file: feature-eng-ci/tasks/cf/deploy-windows-cell/task.yml
          input_mapping:
            ci: feature-eng-ci
            lock: environment
  <% end %>
        - in_parallel:
  <% relevant_stacks = buildpacks[language]['stacks'] - ['cflinuxfs2']%>
  
negative.code:         trigger: true
        - get: repo
          resource: buildpack-v3
        - get: cf-deployment
      - task: redeploy
        file: feature-eng-ci/tasks/cf/redeploy/task.yml
        input_mapping:
          ci: feature-eng-ci
          lock: environment
  <% if buildpacks[language]['stacks'].include?('windows')%>
        params:
          DEPLOY_WINDOWS_CELL: true
  <% end %>
      - in_parallel:
        <%
  