本人遇到同样问题,很多时候gitlab runner是在其他服务器,所以我们会用到传输工具,或者各种问题导致私钥文件不一致,请使用md5检查文件,最好是在gitlab runner服务器下载,复制到key目录,在gitlab yml文件中填写地址。 本人在gitlab runner服务器下载后复制文件到key目录,重新运行pipeline后upload成功。大家可以尝试一下。
小程序CI上传报错-80011,怎么解决,目前已排查appid 和上传密钥是对应的?get wx811c3ebf44e6f72c project attr fail errCode: -1, errMsg: get new ticket fail innerCode: -80011 20003 Error: {"errCode":-1,"errMsg":"get new ticket fail innerCode: -80011"} (node:21122) UnhandledPromiseRejectionWarning: Error: Error: {"errCode":-1,"errMsg":"get new ticket fail innerCode: -80011"} at Object.upload (/node_modules/miniprogram-ci/dist/upload/upload.js:1:3781) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async a (/lib/node_modules/miniprogram-ci/dist/cli.js:1:5507) (Use `node --trace-warnings ...` to show where the warning was created) (node:21122) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:21122) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2020-11-20