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