Yuxing Deng
Yuxing Deng
我安装的就是10.11.6的版本,我从教程里面提供的云盘里面下载的,但是我用HackrNVMeFamily-10_11_6.kext是无法找到我这张SSD的,SSD的品牌不一样是不是需要修改驱动里面的参数呢?
我再次重新使用教程安装,然后就变成卡V屏了,特别郁闷,卡在org.ntp.sntp.117这个地方了
Please also consider export `pkg/builder` as it is the code entry to create VM in harvester.
FYI, this is the debug from drone server ``` {"error":"授权方式无效,或者登录回调地址无效、过期或已被撤销","level":"warning","msg":"manager: cannot generate netrc","repo.id":1,"repo.name":"****","time":"2022-09-07T02:38:35Z"} ```
> This is my .drone.yml configuration > > ``` > > name: keta-ci > kind: pipeline > type: kubernetes > clone: > depth: 50 > disable: true > > node_selector:...
> 个人理解: drone 在创建clone任务时会写入netrc文件,该文件需要能访问当前git仓库的oauth2 token,源码注释中有提到为了避免管道执行过程中token过期,这里进行了强制刷新token,因此并发创建clone任务时可能导致部分token还未clone就已经失效了 你理解得没错,但每个token的生命周期应该是单独的,因此在多个stage并发发起netrc请求时,drone请求gitee一个新的Oauth2 token也不应该给我报错呀。并且该逻辑对于所有的scm都是通用的,其他scm上并不会发生这种情况。
把step都放一起不符合我的场景,因为我需要跑multi-arch,我这边只能用depends_on来串行所有的pipeline。 > 我fork了一个仓库,并将 @kit101 指出的renewer方法注释掉了,目前看起来没问题;[guolong123@64525dc](https://github.com/guolong123/drone/commit/64525dc05d0fba4043b39ba506939c602a173318) > > 打了一个新的镜像:ccr.ccs.tencentyun.com/xishuhq/drone-server 注释掉renew会不会导致token到期后,就无法clone了?
这个确实可以,那issue我先留着吧,帮忙看下能否推动gitee去修复这个问题?或者gitee根本不认为是bug,也能在这里回复我们一下
> 我找到了一个方案可以解决,使用一个固定账户或者个人令牌去clone,但是需要修改drone-server的配置 还是会有问题,不过这个是目前gitee第三方应用带来的。我的drone实例目前只希望提供给某个org使用,但由于使用的我的token进行绑定,是不是会导致组内其他用户能看到我自己的私有repo?
我这边是drone/drone:2,drone/drone-docker-runner:1 版本,复现方式如上图issue中描述,配置multi-arch的pipeline时会复现,`.drone.yml`如下: ```yaml --- kind: pipeline type: docker name: linux-amd64 platform: os: linux arch: amd64 node: instance: agent-amd64 steps: [] --- kind: pipeline type: docker name: linux-arm64 platform: os: linux...