[Compass-ci] [PATCH v4 compass-ci 1/2] sched: refactor set_upload_dirs and add config dir