github.com/elopio/cli@v6.21.2-0.20160902224010-ea909d1fdb2f+incompatible/ci/infrastructure/tasks/set-cf-backend-to-diego.yml (about)

     1  ---
     2  platform: linux
     3  
     4  image: docker:///cloudfoundry/cli-vagrant-ci
     5  
     6  params:
     7    LITE_PRIVATE_IP_ADDRESS:
     8  
     9  run:
    10    path: bash
    11    args:
    12    - -c
    13    - |
    14      set -eux
    15  
    16      bosh -n target $LITE_PRIVATE_IP_ADDRESS
    17      bosh login admin admin
    18  
    19      bosh download manifest cf-warden cf-warden.yml
    20      sed -i "s/default_to_diego_backend: false/default_to_diego_backend: true/" cf-warden.yml
    21      bosh deployment cf-warden.yml
    22      bosh -n deploy