Skip to content
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

Merged
merged 3 commits into from
Dec 6, 2021

Conversation

LinuxSuRen
Copy link
Member

@LinuxSuRen LinuxSuRen commented Nov 26, 2021

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?

None

Additional documentation, usage docs, etc.:

None

@ks-ci-bot ks-ci-bot added release-note-none area/devops size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 26, 2021
Copy link
Member

@JohnNiang JohnNiang left a 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?

@ks-ci-bot ks-ci-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed needs-rebase size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 1, 2021
@LinuxSuRen
Copy link
Member Author

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

@ks-ci-bot ks-ci-bot requested a review from a team December 1, 2021 05:35
Copy link
Member

@JohnNiang JohnNiang left a 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

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 1, 2021
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: d4ffa46b953d0717265950963cfe7f191bdce1e4

Copy link
Contributor

@weili520 weili520 left a comment

Choose a reason for hiding this comment

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

👍

@xuliwenwenwen
Copy link
Contributor

/lgtm

@@ -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',
Copy link
Contributor

Choose a reason for hiding this comment

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

Pipeline Run Record Management

PIPELINES_MANAGEMENT: 'Pipeline Management',
PIPELINES_VIEW: 'Pipeline Viewing',
PIPELINERUNS_MANAGEMENT: 'PipelineRun Management',
PIPELINERUNS_VIEW: 'PipelineRun Viewing',
Copy link
Contributor

Choose a reason for hiding this comment

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

Pipeline Run Record Viewing

'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.',
Copy link
Contributor

@patrickluoyu patrickluoyu Dec 2, 2021

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.

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.',
Copy link
Contributor

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.

@patrickluoyu
Copy link
Contributor

The wording needs to be optimized. Please see the comments. Thanks!

@harrisonliu5 harrisonliu5 removed the lgtm Indicates that a PR is ready to be merged. label Dec 2, 2021
@LinuxSuRen
Copy link
Member Author

hi @Patrick-LuoYu @harrisonliu5 , sorry for the deply.

@LinuxSuRen
Copy link
Member Author

/cherry-pick release-3.2

@ks-ci-bot
Copy link
Collaborator

@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:

/cherry-pick release-3.2

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.

@harrisonliu5
Copy link
Contributor

/approve

@ks-ci-bot
Copy link
Collaborator

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ks-ci-bot ks-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 6, 2021
@LinuxSuRen
Copy link
Member Author

/lgtm

@ks-ci-bot
Copy link
Collaborator

@LinuxSuRen: you cannot LGTM your own PR.

In response to this:

/lgtm

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.

@Felixnoo
Copy link
Contributor

Felixnoo commented Dec 6, 2021

/lgtm
/cc @Patrick-LuoYu

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 6, 2021
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: f464d2f267024acc5c068d80e96ece68fd898d5a

@patrickluoyu
Copy link
Contributor

/lgtm

@ks-ci-bot ks-ci-bot merged commit 183dde4 into kubesphere:master Dec 6, 2021
@ks-ci-bot
Copy link
Collaborator

@LinuxSuRen: #2669 failed to apply on top of branch "release-3.2":

Applying: Add i18n items for pipelinerun role
Using index info to reconstruct a base tree...
M	locales/en/role.js
Falling back to patching base and 3-way merge...
Auto-merging locales/en/role.js
CONFLICT (content): Merge conflict in locales/en/role.js
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Add i18n items for pipelinerun role
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-3.2

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.

@ks-ci-bot
Copy link
Collaborator

@LinuxSuRen: new issue created for failed cherrypick: #2749

In response to this:

/cherry-pick release-3.2

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 LinuxSuRen deleted the add-role-pipelinerun branch December 6, 2021 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/devops lgtm Indicates that a PR is ready to be merged. release-note-none size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants