another update_ci_routes fix

pull/19630/head
Adeeb Shihadeh 4 years ago
parent 35fbb9d097
commit 309384e2f7
  1. 5
      selfdrive/test/update_ci_routes.py

@ -18,7 +18,6 @@ DEST_KEY = azureutil.get_user_token(_DATA_ACCOUNT_CI, "openpilotci")
SOURCE_KEYS = [azureutil.get_user_token(account, bucket) for account, bucket in SOURCES]
SERVICE = BlockBlobService(_DATA_ACCOUNT_CI, sas_token=DEST_KEY)
def sync_to_ci_public(route):
print(f"Uploading {route}")
key_prefix = route.replace('|', '/')
@ -33,8 +32,8 @@ def sync_to_ci_public(route):
cmd = [
"azcopy",
"copy",
"https://{}.blob.core.windows.net/{}/{}/?{}".format(source_account, source_bucket, key_prefix, source_key),
"https://{}.blob.core.windows.net/{}/{}/?{}".format(_DATA_ACCOUNT_CI, "openpilotci", dongle_id, DEST_KEY),
"https://{}.blob.core.windows.net/{}/{}?{}".format(source_account, source_bucket, key_prefix, source_key),
"https://{}.blob.core.windows.net/{}/{}".format(_DATA_ACCOUNT_CI, "openpilotci", dongle_id),
"--recursive=true",
"--overwrite=false",
"--exclude-pattern=*/dcamera.hevc",

Loading…
Cancel
Save