-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add i18n items for the PipelineRun role #2669
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @LinuxSuRen , could you tell us exactly where to use them?
You will see it when you try to create a new role, and set the permission of DevOps for it. /cc @kubesphere/sig-console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/cc @kubesphere/sig-docs
LGTM label has been added. Git tree hash: d4ffa46b953d0717265950963cfe7f191bdce1e4
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
/lgtm |
locales/en/role.js
Outdated
@@ -55,6 +55,12 @@ module.exports = { | |||
'Network Policies View': 'Network Policy Viewing', | |||
'Nodes View': 'Node Viewing', | |||
|
|||
PIPELINES_MANAGEMENT: 'Pipeline Management', | |||
PIPELINES_VIEW: 'Pipeline Viewing', | |||
PIPELINERUNS_MANAGEMENT: 'PipelineRun Management', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pipeline Run Record Management
locales/en/role.js
Outdated
PIPELINES_MANAGEMENT: 'Pipeline Management', | ||
PIPELINES_VIEW: 'Pipeline Viewing', | ||
PIPELINERUNS_MANAGEMENT: 'PipelineRun Management', | ||
PIPELINERUNS_VIEW: 'PipelineRun Viewing', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pipeline Run Record Viewing
locales/en/role.js
Outdated
'Create, edit, and delete DevOps project pipelines.', | ||
PIPELINES_VIEW_DESC: 'View DevOps project pipelines and download artifacts.', | ||
PIPELINERUNS_MANAGEMENT_DESC: | ||
'Create, edit, and delete DevOps project pipelineruns.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
View, edit, and delete pipeline run records in the DevOps project.
locales/en/role.js
Outdated
PIPELINES_VIEW_DESC: 'View DevOps project pipelines and download artifacts.', | ||
PIPELINERUNS_MANAGEMENT_DESC: | ||
'Create, edit, and delete DevOps project pipelineruns.', | ||
PIPELINERUNS_VIEW_DESC: 'View DevOps project pipelineruns.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
View pipeline run records in the DevOps project.
The wording needs to be optimized. Please see the comments. Thanks! |
hi @Patrick-LuoYu @harrisonliu5 , sorry for the deply. |
/cherry-pick release-3.2 |
@LinuxSuRen: once the present PR merges, I will cherry-pick it on top of release-3.2 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harrisonliu5, JohnNiang, LinuxSuRen The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
@LinuxSuRen: you cannot LGTM your own PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
LGTM label has been added. Git tree hash: f464d2f267024acc5c068d80e96ece68fd898d5a
|
/lgtm |
@LinuxSuRen: #2669 failed to apply on top of branch "release-3.2":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@LinuxSuRen: new issue created for failed cherrypick: #2749 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/area devops
/cc @kubesphere/sig-devops
/cherrypick release-3.2
What this PR does / why we need it:
A new CRD PipelineRun is introduced in v3.2. We need the i18n items for that.
Which issue(s) this PR fixes:
related issue kubesphere/ks-devops#383
Special notes for reviewers:
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: