Skip to content

Commit

Permalink
chore: add kill pod audit template (#4062)
Browse files Browse the repository at this point in the history
* chore: add kill pod audit template

chore: add kill pod audit template

* fix: upgrade node version to 14 for erda-cli build error

Signed-off-by: Ash <[email protected]>

* change mirror from registry.nlark.com to registry.npmmirror.com

Signed-off-by: Ash <[email protected]>

---------

Signed-off-by: Ash <[email protected]>
  • Loading branch information
iutx authored Jan 17, 2025
1 parent 839ba8b commit 6e88cfd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
4 changes: 2 additions & 2 deletions pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ stages:
- erda-ui init --online
- erda-ui build --online
- cp -r ${{ dirs.erda-ui }}/{public,scheduler} $WORKDIR
node_version: 12
node_version: 14
resources:
cpu: 2
mem: 6144
Expand All @@ -68,7 +68,7 @@ stages:
- cd ${{ dirs.erda-ui-enterprise }}/admin && npm i
- npm run build
- cp -r ${{ dirs.erda-ui-enterprise }}/{public,server} $WORKDIR
node_version: 12
node_version: 14
resources:
cpu: 2
mem: 2048
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions shell/app/modules/org/common/audit-templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -1893,6 +1893,17 @@
"en": ""
}
},
"killPod": {
"desc": "删除 Pod",
"success": {
"zh": "在 [@workspace] 环境的应用 [@projectName](project) / [@appName](app) 中,成功删除了运行时 [@runtime] 的 Pod 实例 [@podName]",
"en": "Successfully deleted the Pod instance [@podName] of runtime [@runtime] in the [@projectName](project) / [@appName](app) app under the [@workspace] environment"
},
"fail": {
"zh": "",
"en": ""
}
},
"archiveTestPlan": {
"desc": "测试计划归档",
"success": {
Expand Down

0 comments on commit 6e88cfd

Please sign in to comment.