Revert "travis/appveyor: test: enable gcp tests"

This commit is contained in:
Ruslan Kuprieiev
2018-02-14 23:18:41 +02:00
committed by GitHub
parent 1c51e96285
commit bccdbfb15f
4 changed files with 1 additions and 23 deletions
-14
View File
@@ -1,14 +0,0 @@
import os
def get_env(name):
ret = os.getenv(name, None)
if not ret:
print("Failed to obtain env var {}. Skipping GCP setup.".format(name))
exit(0)
return ret
path = get_env("GOOGLE_APPLICATION_CREDENTIALS")
contents = get_env("GCP_CREDS")
with open(path, 'w+') as fd:
fd.write(contents)
-1
View File
@@ -21,4 +21,3 @@ printf "[default]\n" > ~/.aws/credentials
printf "aws_access_key_id = $AWS_ACCESS_KEY_ID\n" >> ~/.aws/credentials
printf "aws_secret_access_key = $AWS_SECRET_ACCESS_KEY\n" >> ~/.aws/credentials
printf "[default]\n" > ~/.aws/config
python scripts/ci/gcp_setup.py