问题一:在云效中这边流水线运行报错也不显示日志怎么处理?
在云效中这边流水线运行报错也不显示日志怎么处理?请参考图片:
参考答案:
查看一下主机runner的状态呢。请参考链接:https://help.aliyun.com/document_detail/456683.html?spm=a2cl9.flow_devops2020_goldlog.0.0.1b5346f6rlLP5k 。
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/656663
问题二:云效流水线不是自带了maven私服吗?为什么deploy 401?
云效流水线不是自带了maven私服吗?为什么deploy 401?[11:07:13] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0:deploy-file (custom-deploy) on project roll-sdk: Failed to deploy artifacts: Could not transfer artifact com.douyu.sdk:roll-sdk:jar:encrypted:1.0.0 from/to 2331263-release-lZXwOW (https://maven.aliyun.com/nexus/content/groups/public): Failed to transfer file: https://maven.aliyun.com/nexus/content/groups/public/com/douyu/sdk/roll-sdk/1.0.0/roll-sdk-1.0.0-encrypted.jar. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
参考答案:
您看下是否有相应的权限配置
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/654863
问题三:云效docker镜像构建,apt-get update报错,请问是什么原因?
云效docker镜像构建,apt-get update报错,请问是什么原因?我本地构建或者ECS上都没有这个问题
[23:36:28] #8 sha256:5ee589dc0efd00490f1957e2c8658fa2571958c17e5f15c2cda456dcbdbccd21
[23:36:28] #8 0.933 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
[23:36:28] #8 0.949 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
[23:36:28] #8 0.949 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
[23:36:28] #8 1.005 Err:1 http://deb.debian.org/debian bookworm InRelease
[23:36:28] #8 1.005 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481
[23:36:28] #8 1.052 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
[23:36:28] #8 1.053 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
[23:36:28] #8 1.096 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
[23:36:28] #8 1.096 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
[23:36:28] #8 1.098 Reading package lists...
[23:36:28] #8 1.107 W: GPG error: http://deb.debian.org/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481
[23:36:28] #8 1.107 E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
[23:36:28] #8 1.107 W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
[23:36:28] #8 1.107 E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed.
[23:36:28] #8 1.107 W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
[23:36:28] #8 1.107 E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
参考答案:
报错是公钥配置的不对,可以重新配置一下公钥再看看
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/654862
问题四:云效docker镜像构建时报错了,提示拉取次数达到限制,这种情况应该怎么解决?
云效docker镜像构建时报错了,提示拉取次数达到限制,这种情况应该怎么解决?
参考答案:
docker.io国内禁了。为了更快地下载Docker镜像,尤其是在中国国内,可以使用一些国内的Docker镜像源(也称为镜像加速器)。这些镜像源通过将Docker官方镜像源镜像到国内的服务器,极大地提高了下载速度,减少了由于网络问题导致的下载失败情况。
阿里云提供了非常稳定和高效的Docker镜像源。
注册并登录阿里云账号,然后访问阿里云容器镜像服务,获取你的专属加速器地址。
示例配置:
{
"registry-mirrors": ["https://.mirror.aliyuncs.com"]
}
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/654861
问题五:在云效中flow 报错这个错误是什么原因 ?
在云效中flow 报错这个错误是什么原因 ?请参考图片:
参考答案:
好像是升级了agent的原因,把原来带-Vxx的pod手动删除后重新部署好了。
关于本问题的更多回答可点击进行查看: