Sha256: 1453fe0a499bab3165ef14509c3eda1d9fbcd8807f4588094dfa1f244d86fef1

Contents?: true

Size: 571 Bytes

Versions: 4

Compression:

Stored size: 571 Bytes

Contents

#!/bin/bash

set -evx

# Don't run acceptance tests on forks. The decryption keys are not available.
if [ "${CHEF_ACCEPTANCE}" = "true" ] && [[ $encrypted_e2edbb28e76c_key ]]; then

  # download terraform
  wget "https://releases.hashicorp.com/terraform/0.7.4/terraform_0.7.4_linux_amd64.zip" -O tf.zip

   # inflate archive
   unzip tf.zip -d bin

   # decrypt pem
   openssl aes-256-cbc -K $encrypted_e2edbb28e76c_key -iv $encrypted_e2edbb28e76c_iv -in ci/es-infrastructure.pem.enc -out es-infrastructure.pem -d
   mkdir -p ~/.ssh
   mv es-infrastructure.pem ~/.ssh
fi

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mixlib-install-3.0.0 ci/before-script.sh
mixlib-install-2.1.12 ci/before-script.sh
mixlib-install-2.1.11 ci/before-script.sh
mixlib-install-2.1.10 ci/before-script.sh