mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Revert "travis/appveyor: test: enable gcp tests"
This commit is contained in:
@@ -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)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user