Sha256: af9d00c7fa1e8c1a9134ca295fe2e4ff3aaf782ea0d20402cf057819f1c02d04

Contents?: true

Size: 565 Bytes

Versions: 1

Compression:

Stored size: 565 Bytes

Contents

#!/bin/bash

set -evx

# Don't run acceptance tests on forks. The decryption keys are not available.
if [ "${TRAVIS_REPO_SLUG}" = "chef/mixlib-install" ]; 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

1 entries across 1 versions & 1 rubygems

Version Path
mixlib-install-2.1.6 ci/before-script.sh