Skip to content

feat: [DEVOPS-41238] add trivy all-in-one pipeline#1

Merged
yuzichen12123 merged 64 commits intoalauda-v0.62.1from
feat/alauda-branch-init
Jul 18, 2025
Merged

feat: [DEVOPS-41238] add trivy all-in-one pipeline#1
yuzichen12123 merged 64 commits intoalauda-v0.62.1from
feat/alauda-branch-init

Conversation

@yuzichen12123
Copy link
Collaborator

No description provided.

@yuzichen12123
Copy link
Collaborator Author

/allinone

1 similar comment
@yuzichen12123
Copy link
Collaborator Author

/allinone

@yuzichen12123
Copy link
Collaborator Author

/allinone

@yuzichen12123
Copy link
Collaborator Author

/allinone

@yuzichen12123
Copy link
Collaborator Author

/allinone

1 similar comment
@yuzichen12123
Copy link
Collaborator Author

/allinone

@yuzichen12123
Copy link
Collaborator Author

/allinone

@yuzichen12123
Copy link
Collaborator Author

/allinone

on:
push:
branches:
- alauda-v*
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alauda-v.* 分支有更新时,自动 release

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用 snapshot 模式试了下,可以跑通

apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: trivy-all-in-one
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

包含编译、测试、扫描、上传制品等步骤的流水线。

该流水线是 github action 方案前写的,目前 trivy 扫描的步骤还是在这个流水线中做的。

帮忙看下是否有必要保留该流水线?如果没必要的话,我把 trivy 扫描步骤也迁移到 github action

Comment on lines +21 to +27
当需要使用新版本的 trivy 时,按照以下步骤执行:

1. 从对应 tag 拉出 alauda 分支,例如 `v0.62.1` tag 对应 `alauda-v0.62.1` 分支
2. 将新分支加入到 renovate 的配置文件中,用于自动扫描并修复漏洞
3. renovate 提 PR 后,会自动跑流水线,若所有测试通过,则 PR 将会被自动合并
4. 合并到 `alauda-v0.62.1` 分支后,goreleaser 会自动创建出 `alauda-v0.62.1` release
5. 其他插件中配置的 renovate 会根据配置自动从 release 中获取制品
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

后续按照这个流程维护该仓库

Comment on lines +55 to +57
This release is intended for use only as part of the Alauda product suite.
It is not recommended for use by individuals or teams outside of Alauda.
Any consequences arising from its use are the sole responsibility of the user.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

免责声明,不推荐其他人使用我们的制品

@yuzichen12123
Copy link
Collaborator Author

已验证过,所有测试跑通:
image
image

@yuzichen12123 yuzichen12123 merged commit 4901645 into alauda-v0.62.1 Jul 18, 2025
19 of 20 checks passed
@yuzichen12123 yuzichen12123 deleted the feat/alauda-branch-init branch July 18, 2025 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants