Merged
build: support single-image build with -i and remove e2b-webhook private download #211
fly_1997Add on Oct 10
build: support single-image build with -i and remove e2b-webhook private download #211
Merged
fly_1997Add on Oct 10
fly_1997
fly_1997Collaborators
Oct 10

当前PR是否有AI参与:

[x] 否

[ ] 是
__1. AI Agent 平台:
__2. AI 模型:
__3. Prompt上下文 :

参考:openEuler社区《生成式AI工具使用与开源贡献政策》

PR功能描述 / 为什么需要这个合入**:

该PR关联的issue

(格式为fixes #<issue号>, 或者resolves #<issue号>): fixes #

希望检视人员了解:

likedislike
Pull Request has been successfully merged by openeuler-ci-bot.
(Thank you for fly_1997's contribution.)
fly_1997fly_1997Collaborators
Oct 10 Created pull request, commit 2980a049
openeuler-ci-botopeneuler-ci-botCollaborators
Oct 10 Set weibaohui,yangzhao_kl,jimmieme,duguhaotian,wonleing,zmr_2020,gaodaweiky,lu-wei-army,zhaoyifan28 as approver
openeuler-ci-botopeneuler-ci-botCollaborators
Oct 10 Added label: sig/sig-CloudNative
openeuler-ci-bot
openeuler-ci-botCollaborators
Oct 10 Comments:

Welcome To openEuler Community

Hey @fly_1997 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: sig-CloudNative ,
and any of the maintainers: @duguhaotian, @gaodaweiky, @jimmieme, @lu-wei-army, @weibaohui, @wonleing, @yangzhao_kl, @zhaoyifan28, @zmr_2020 ,
and any of the committers: @feijianqiang, @zhourenjianz .

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Oct 10 Added label: openeuler-cla/yes
openeuler-ci-bot
openeuler-ci-botCollaborators
Oct 10 Comments:

CLA Signature Pass

fly_1997, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
openeuler-botopeneuler-botCollaborators
Oct 10 Added label: ci_processing
openeuler-bot
openeuler-botCollaborators
Oct 10 Comments:

门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/openeuler/trigger/KASandbox/471

likedislike
openeuler-botopeneuler-botCollaborators
Oct 10 Removed label: ci_processing
openeuler-bot
openeuler-botCollaborators
Oct 10 Comments:
Check Name Build Result 详情 Build Details
check_package_license ✅SUCCESS #471
check_sca ✅SUCCESS
x86_64 check_build ✅SUCCESS #474
aarch64 check_build ✅SUCCESS #490
DT check_build ✅SUCCESS #487
likedislike
openeuler-botopeneuler-botCollaborators
Oct 10 Added label: ci_successful
openeuler-bot
openeuler-botCollaborators
Oct 10 Comments:
likedislike
fly_1997
fly_1997Collaborators
Oct 12 Comments:

/ai summary

likedislike
atomgit-bot
atomgit-bot
Oct 12 Comments:

变更摘要

本 PR 主要围绕构建脚本的镜像构建能力与部署脚本的镜像获取方式进行调整。在 build.sh 中,为 -i/--images 选项增加了可选的镜像名参数(逗号分隔),通过新增配置项 IMAGES_FILTER 支持仅构建指定镜像,并为 webhook 提供 e2b-webhook 别名;同时在构建完成后新增 save_images_to_tar,将本次涉及镜像导出为 tar 包便于离线分发。相应地,deploy/build.sh 与 deploy/check-env.sh 移除了对 e2b-webhook 私有下载地址的依赖及其存在性检查。

主要改动

  • -i/--images 支持指定镜像构建: 解析可选参数写入 IMAGES_FILTER,在 build_docker_images 中据此过滤 image_tasks,仅构建匹配镜像,未匹配时报错并列出可选镜像。
  • 新增 webhook 别名与按需构建 webhook 二进制: 将 webhook 归一化为 e2b-webhook,仅在 webhook 镜像会被构建时才调用 ensure_webhook_binary。
  • 新增镜像导出为 tar 包: 新增 save_images_to_tar 函数,将本次构建涉及的镜像通过 docker save 导出到 ${BIN_DIR}/images 下,失败时清理残留文件。
  • 移除部署侧 e2b-webhook 私有下载: deploy/build.sh 中删除 k8s 模式下从私有 release 地址下载 e2b-webhook.tar 的逻辑。
  • 移除 e2b-webhook 镜像包检查: deploy/check-env.sh 中删除 k8s 模式且启用 webhook 时对 dep/e2b-webhook.tar 存在性的检查。
likedislike
Incorrect?
fly_1997
fly_1997Collaborators
Oct 14 Comments:

/ai review

likedislike
zhourenjian
zhourenjianCollaborators
Oct 14 Comments:

/lgtm
/approve

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Oct 14 Added label: approvedlgtm
openeuler-ci-bot
openeuler-ci-botCollaborators
Oct 14 Comments:

Review Code Feedback

  • The label lgtm, approved was added to this pull request. It means that zhourenjianz reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄
likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Oct 14 Merged pull request, merge node SHA: 40c4e2310ecdd8d7c676d4ceb48351ac339c1ff6