[Compass-ci] [PATCH compass-ci] sched: refactor set_upload_dirs and add config dir