Sha256: 889fcf5ae76073e8729a86c3a0687c761bc24a3b58a68558461ffe935ed630fc

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 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"

   # inflate archive
   unzip terraform_0.7.4_linux_amd64.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

3 entries across 3 versions & 1 rubygems

Version Path
mixlib-install-2.1.9 ci/before-script.sh
mixlib-install-2.1.8 ci/before-script.sh
mixlib-install-2.1.7 ci/before-script.sh