canyon-project / canyon

👋 Canyon is a JavaScript code coverage solution
https://docs.canyonjs.org
MIT License
153 stars 13 forks source link

新建项目->服务提供商列表为空,如何设置服务提供商的数据 #19

Closed imath60 closed 2 months ago

imath60 commented 5 months ago

新建项目,服务提供商下拉菜单为空,如图所示: image 查看代码使用的是GitProvider,如何初始化各字段数据。 image

zhangtao25 commented 5 months ago

INSERT INTO public."GitProvider" (id, url, "clientID", "clientSecret", type, name, disabled) VALUES ('tripgl', 'https://gitlab.com', 'xxxxxxxxx', 'xxxxxxxxx', 'gitlab', 'Trip.com GitLab', false);

zhangtao25 commented 5 months ago

clientID和clientSecret随便填,尚未实现,gitlab鉴权需要配置PRIVATE_TOKEN来鉴权gitlab接口