问题一:云效 这两个时间,GetProjectInfo和ListProjects都没有返回,为什么?
云效 这两个时间,GetProjectInfo和ListProjects都没有返回,为什么?
参考答案:
这两个字段目前确实没有返回,后面我们这边补充上去。
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/576416
问题二:云效Service成功,但是Deployment 一直卡主 ,也没有任何状态反馈 。怎么回事?
云效Service成功,但是Deployment 一直卡主 ,也没有任何状态反馈 。怎么回事?部署单ID:48bb093a7b2c490f9c645d54fc5606bd
参考答案:
分批发布,前序deployment删除了,删除环境,重建。
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/576411
问题三:云效yaml流水线里的 ${CI_COMMIT_REF_NAME} 失效了?
云效yaml流水线里的 ${CI_COMMIT_REF_NAME} 或者 ${CI_COMMIT_REF_NAME_1} 失效了? condition: | "${CI_COMMIT_REF_NAME}" == "master" 在这个明明是master也跳过。$[sources.源.branch]嘛?
参考答案:
当流水线配置了多个代码源时,不同代码源信息可以通过变量名+数字后缀(第n个代码源)获取。环境变量和代码源对照关系如下图所示: 您这个任务是第一个?这个不支持第一个任务的,因为第一个任务还没有拉取代码源,还没有代码源有关的环境变量。
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/576407
问题四:云效这个问题怎么解决?
云效这个问题怎么解决?
https://rdc.aliyun.com/ec/projects/273930/pipelines/185613 https://rdc.aliyun.com/ec/project/273930/app/120907/env/429950/deploy/config?spm=a2c40.aone_cd_assets_pages_pipeline_view.0.0.60bebcc6K1xAtU
参考答案:
这个部署的步骤是通过获取deployment的labels,然后再运行时候其实是使用了这个labels在做匹配,所以您可以看下通过labels是不是会找到多个deployment。您看能不能在ACK控制台上用标签过滤下所有的deployment,看看您当前的这个deploy的标签是不是其他的deploy也在使用。
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/576396
问题五:云效流水线触发有问题了?
云效流水线触发有问题了?合并了代码没触发流水线。{
"object_attributes": {
"action": "merge",
"author_id": 921595,
"created_at": "2023-11-29T16:09:27+08:00",
"description": "",
"id": 9543058,
"iid": 24,
"is_update_by_push": false,
"is_use_push_block": true,
"last_commit": {
"author": {
"email": "imdengshuang@gmail.com",
"name": "imdengshuang"
},
"id": "63577efe9b0341568e5cdec31c4740ca3802029a",
"message": "1",
"timestamp": "2023-11-29T16:08:55+08:00",
"url": "https://codeup.aliyun.com/spman/sp_app/afterloan/commits/63577efe9b0341568e5cdec31c4740ca3802029a"
},
"merge_status": "can_be_merged",
"source": {
"http_url": "https://codeup.aliyun.com/spman/sp_app/afterloan.git",
"name": "afterloan",
"namespace": "spman/sp_app",
"ssh_url": "git@codeup.aliyun.com:spman/sp_app/afterloan.git",
"visibility_level": 0,
"web_url": "https://codeup.aliyun.com/spman/sp_app/afterloan"
},
"source_branch": "feature/解决开启事务异常未补货可能导致的问题",
"source_project_id": 3587372,
"state": "merged",
"target": {
"http_url": "https://codeup.aliyun.com/spman/sp_app/afterloan.git",
"name": "afterloan",
"namespace": "spman/sp_app",
"ssh_url": "git@codeup.aliyun.com:spman/sp_app/afterloan.git",
"visibility_level": 0,
"web_url": "https://codeup.aliyun.com/spman/sp_app/afterloan"
},
"target_branch": "develop",
"target_project_id": 3587372,
"title": "1",
"updated_at": "2023-11-29T16:09:34+08:00",
"url": "https://codeup.aliyun.com/spman/sp_app/afterloan/merge_request/9543058",
"work_in_progress": false
},
"object_kind": "merge_request",
"repository": {
"git_http_url": "https://codeup.aliyun.com/spman/sp_app/afterloan.git",
"git_ssh_url": "git@codeup.aliyun.com:spman/sp_app/afterloan.git",
"homepage": "https://codeup.aliyun.com/spman/sp_app/afterloan",
"name": "afterloan",
"secondary_url": "https://codeup.aliyun.com/608bcd103f0a108338ce7b47/sp_app/afterloan.git",
"url": "https://codeup.aliyun.com/spman/sp_app/afterloan.git"
},
"user": {
"aliyun_pk": "248966115442127508",
"avatar_url": "https://tcs-devops.aliyuncs.com/thumbnail/112u0d8e82a96c9ce388b7330674bd24bc9e/w/100/h/100",
"extern_uid": "63169f9bb0a284bfe7f4741e",
"name": "邓爽",
"username": "dengshuang@lechaoren.com"
}
}
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<h1>502 Bad Gateway</h1>
<p>The proxy server received an invalid response from an upstream server. Sorry for the inconvenience.<br/>
Please report this message and include the following information to us.<br/>
Thank you very much!</p>
<table>
<tr>
<td>URL:</td>
<td>http://flow-openapi.aliyun.com/scm/webhook/zoAKzmOoel8FefVsp1xi</td>
</tr>
<tr>
<td>Server:</td>
<td>iz2ze26pixxe9sym096quqz</td>
</tr>
<tr>
<td>Date:</td>
<td>2023/11/29 16:09:34</td>
</tr>
</table>
<hr/>Powered by Tengine</body>
</html>
参考答案:
您再看一下,这个应该影响了几分钟之后就恢复了。
关于本问题的更多回答可点击进行查看: