Skip to content

Skip authentication when service account credentials are provided #371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion script/get-dataset-waymo-calibration/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ variations:
env:
MLC_DOWNLOAD_FINAL_ENV_NAME: MLC_DATASET_WAYMO_CALIBRATION_PATH
MLC_EXTRACT_FINAL_ENV_NAME: MLC_DATASET_WAYMO_CALIBRATION_PATH
MLC_DOWNLOAD_URL: mlc-waymo:waymo_preprocessed_dataset/kitti_format/testing
MLC_DOWNLOAD_URL: mlc_waymo:waymo_preprocessed_dataset/kitti_format/testing
extra_cache_tags: waymo,dataset
force_cache: true
names:
Expand All @@ -60,6 +60,7 @@ variations:
group: run-mode
env:
MLC_DOWNLOAD_MODE: dry
MLC_BYPASS_RCLONE_AUTH: True
dry-run,rclone:
env:
MLC_DOWNLOAD_EXTRA_OPTIONS: --dry-run
2 changes: 1 addition & 1 deletion script/get-dataset-waymo/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ variations:
env:
MLC_DOWNLOAD_FINAL_ENV_NAME: MLC_DATASET_WAYMO_PATH
MLC_EXTRACT_FINAL_ENV_NAME: MLC_DATASET_WAYMO_PATH
MLC_DOWNLOAD_URL: mlc-waymo:waymo_preprocessed_dataset/kitti_format
MLC_DOWNLOAD_URL: mlc_waymo:waymo_preprocessed_dataset/kitti_format
extra_cache_tags: waymo,dataset
force_cache: true
names:
Expand Down
2 changes: 1 addition & 1 deletion script/get-rclone-config/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def preprocess(i):
if env.get('MLC_RCLONE_CONFIG_CMD', '') != '':
run_cmds.append(env['MLC_RCLONE_CONFIG_CMD'])

if env.get('MLC_RCLONE_CONNECT_CMD', '') != '':
if env.get('MLC_RCLONE_CONNECT_CMD', '') != '' and not is_true(env.get('MLC_BYPASS_RCLONE_AUTH', '')):
run_cmds.append(env['MLC_RCLONE_CONNECT_CMD'])

env['MLC_RUN_CMD'] = ' && '.join(run_cmds)
Expand Down
4 changes: 2 additions & 2 deletions script/get-rclone-config/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ variations:
MLC_RCLONE_CONNECT_CMD: 'rclone config reconnect mlc-llama3-1:'
waymo:
env:
MLC_RCLONE_CONFIG_CMD: 'rclone config create mlc-waymo drive config_is_local=false scope=<<<MLC_RCLONE_DRIVE_SCOPE>>> root_folder_id=1xbfnaUurFeXliFFl1i1gj48eRU2NDiH5'
MLC_RCLONE_CONNECT_CMD: 'rclone config reconnect mlc-waymo:'
MLC_RCLONE_CONFIG_CMD: 'rclone config create mlc_waymo drive config_is_local=false scope=<<<MLC_RCLONE_DRIVE_SCOPE>>> root_folder_id=1xbfnaUurFeXliFFl1i1gj48eRU2NDiH5'
MLC_RCLONE_CONNECT_CMD: 'rclone config reconnect mlc_waymo:'
config-name.#:
env:
MLC_RCLONE_CONFIG_CMD: 'rclone config create # drive config_is_local=false scope=<<<MLC_RCLONE_DRIVE_SCOPE>>> root_folder_id=<<<MLC_RCLONE_DRIVE_FOLDER_ID>>>'
Expand Down
Loading