Sha256: 24b6e059a1e19f8e1e147675685fc9f6ddf9aba1a753ff5f5227471ab9fc5b6b

Contents?: true

Size: 569 Bytes

Versions: 4

Compression:

Stored size: 569 Bytes

Contents

#!/bin/bash
set -eu

function cleanup {
  rm $FOG_RC
}

# Override default of ~/.fog and delete afterwards.
export FOG_RC=$(mktemp /tmp/vcloud_fog_rc.XXXXXXXXXX)
trap cleanup EXIT

cat <<EOF >${FOG_RC}
${FOG_CREDENTIAL}:
  vcloud_director_host: '${API_HOST}'
  vcloud_director_username: '${API_USERNAME}'
  vcloud_director_password: ''
EOF

rm -f Gemfile.lock
git clean -fdx

bundle install --path "${HOME}/bundles/${JOB_NAME}"
bundle exec rake

# Never log token to STDOUT.
set +x
eval $(printenv API_PASSWORD | bundle exec vcloud-login)

bundle exec rake integration

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vcloud-walker-3.5.0 jenkins_tests.sh
vcloud-walker-3.4.0 jenkins_tests.sh
vcloud-walker-3.3.1 jenkins_tests.sh
vcloud-walker-3.3.0 jenkins_tests.sh