mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 07:18:27 +01:00
test: use GOOGLE_APPLICATION_CREDENTIALS when running GS repro test
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -380,7 +380,7 @@ class TestReproExternalGS(TestReproExternalBase):
|
||||
return TEST_GCP_REPO_BUCKET
|
||||
|
||||
def cmd(self, i, o):
|
||||
return 'gsutil cp {} {}'.format(i, o)
|
||||
return 'GOOGLE_APPLICATION_CREDENTIALS={} gsutil cp {} {}'.format(os.getenv(GOOGLE_APPLICATION_CREDENTIALS,''), i, o)
|
||||
|
||||
def write(self, bucket, key, body):
|
||||
client = gc.Client()
|
||||
|
||||
Reference in New Issue
Block a user