mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
ci: fetch submodules from mirror, if enabled
This commit is contained in:
committed by
Anton Maklakov
parent
beaee539de
commit
4878cdd125
@ -24,7 +24,8 @@ class Gitlab(object):
|
|||||||
else:
|
else:
|
||||||
# otherwise try to use config file at local filesystem
|
# otherwise try to use config file at local filesystem
|
||||||
config_files = None
|
config_files = None
|
||||||
self.gitlab_inst = gitlab.Gitlab.from_config(config_files=config_files)
|
gitlab_id = os.getenv("LOCAL_GITLAB_HTTPS_HOST") # if None, will use the default gitlab server
|
||||||
|
self.gitlab_inst = gitlab.Gitlab.from_config(gitlab_id=gitlab_id, config_files=config_files)
|
||||||
self.gitlab_inst.auth()
|
self.gitlab_inst.auth()
|
||||||
if project_id:
|
if project_id:
|
||||||
self.project = self.gitlab_inst.projects.get(project_id)
|
self.project = self.gitlab_inst.projects.get(project_id)
|
||||||
|
Reference in New Issue
Block a user