goodrain/rainbond

openApi:组件构建接口调用问题

ldsdsy opened this issue · 5 comments

Describe the bug
当调用组件构建接口更新镜像时,确实更新了镜像也触发了构建。但组件构建源页面里的版本却没有同步更新。

To Reproduce
Steps to reproduce the behavior:

  1. 部署一个组件test是用镜像:xxxxxxxx:202401120255-94ab95
  2. 调用构建接口更新镜像为:xxxxxx:202401120306-3036d4
    $ curl --location --request POST "http://10.32.212.127:7070/openapi/v1/teams/nawlie0s/regions/rainbond/apps/1/services/3b60d295d4ecfef9080ed71164019f70/build"
    --header "Authorization: xxxxxxx"
    --header 'Content-Type: application/json'
    --data-raw "{
    "build_type": "docker_image",
    "repo_url": "xxxxxxxx:202401120306-3036d4",
    "username": "xxxxxx",
    "password": "xxxxx"
    }"
  3. 查看组件构建源页面发现版本还是 202401120255-94ab95

Screenshots
调用之前:
old
调用之后:
new

The relevant information:

  • Rainbond Version [v5.15.2-release]
  • Browser [chrome, safari]
  • Kubernetes version [v1.24]

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: openApi: component construction interface calling problem

经验证实际不影响正常使用,只是版本这里 UI 上展示的不正确,后续在 v5.18 修复

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It has been verified that it does not affect normal use, but the version displayed on the UI is incorrect and will be fixed in v5.18.

5.17.2版本已发布,该问题在5.17.2已经得到修复,你可以参考升级文档进行升级,我将关闭此issue,如果有问题你可以随时重新打开。

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Version 5.17.2 has been released. This problem has been fixed in 5.17.2. You can refer to the Upgrade Document to upgrade. I will close this issue. If there is a problem you can always reopen it.