diff --git a/.travis.yml b/.travis.yml index 1720dda58..8070c2eab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,6 @@ go_import_path: github.com/terraform-providers/terraform-provider-cf before_install: - openssl aes-256-cbc -K $encrypted_22350934ad09_key -iv $encrypted_22350934ad09_iv -in .test_env/tfacc_env.enc -out .test_env/tfacc_env -d -- openssl aes-256-cbc -K $encrypted_22350934ad09_key -iv $encrypted_22350934ad09_iv - -in .test_env/pcfdev.pem.enc -out .test_env/pcfdev.pem -d -- chmod 0600 .test_env/pcfdev.pem install: - sudo apt-get install jq - pip install --upgrade --user awscli diff --git a/scripts/build.sh b/scripts/build.sh index 9d719893f..185896efa 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -17,6 +17,7 @@ set -e PCFDEV_INSTANCE_DETAIL=$(pcfdev_instance_detail) if [[ -n $PCFDEV_INSTANCE_DETAIL ]]; then + chmod 0600 .test_env/pcfdev.pem scripts/pcfdev-access.sh PUBLIC_IP=$(echo $PCFDEV_INSTANCE_DETAIL | jq -r .PublicIpAddress)