#!/usr/bin/env bash

set -e

source bosh-src/ci/tasks/utils.sh

source /etc/profile.d/chruby.sh
chruby 2.1.2

pushd bosh-src
  bosh sync blobs
  chmod +x ./blobs/davcli/davcli-*-amd64

  pushd blobs
    BOSH_INSTALL_TARGET=$PWD/../src/tmp/integration-nginx bash ../packages/nginx/packaging
  popd

  pushd src
    bundle install

    pushd bosh-director
      bundle exec rspec spec/functional/dav_spec.rb --tag davcli_integration
    popd
  popd
popd


#!/usr/bin/env bash

set -e

source bosh-src/ci/tasks/utils.sh

source /etc/profile.d/chruby.sh
chruby 2.1.2

pushd bosh-src
  bosh sync blobs
  chmod +x ./blobs/davcli/davcli-*-amd64

  pushd blobs
    cp -R $PWD/../src/patches .
    BOSH_INSTALL_TARGET=$PWD/../src/tmp/integration-nginx bash ../packages/nginx/packaging
  popd

  pushd src
    bundle install

    pushd bosh-director
      bundle exec rspec spec/functional/dav_spec.rb --tag davcli_integration
    popd
  popd
popd


Update dav blobstore integration script to patch nginx-upload-module
Update dav blobstore integration script to patch nginx-upload-module

[#148874607](https://www.pivotaltracker.com/story/show/148874607)

Signed-off-by: Tom Viehman <ef9e7682e71c138189ac51545830b782ff2b8b7d@pivotal.io>
