another update_ci_routes fix

old-commit-hash: 309384e2f7
commatwo_master
Adeeb Shihadeh 4 years ago
parent 1eb2e651f0
commit c1042b848e
  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] SOURCE_KEYS = [azureutil.get_user_token(account, bucket) for account, bucket in SOURCES]
SERVICE = BlockBlobService(_DATA_ACCOUNT_CI, sas_token=DEST_KEY) SERVICE = BlockBlobService(_DATA_ACCOUNT_CI, sas_token=DEST_KEY)
def sync_to_ci_public(route): def sync_to_ci_public(route):
print(f"Uploading {route}") print(f"Uploading {route}")
key_prefix = route.replace('|', '/') key_prefix = route.replace('|', '/')
@ -33,8 +32,8 @@ def sync_to_ci_public(route):
cmd = [ cmd = [
"azcopy", "azcopy",
"copy", "copy",
"https://{}.blob.core.windows.net/{}/{}/?{}".format(source_account, source_bucket, key_prefix, source_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, DEST_KEY), "https://{}.blob.core.windows.net/{}/{}".format(_DATA_ACCOUNT_CI, "openpilotci", dongle_id),
"--recursive=true", "--recursive=true",
"--overwrite=false", "--overwrite=false",
"--exclude-pattern=*/dcamera.hevc", "--exclude-pattern=*/dcamera.hevc",

Loading…
Cancel
Save