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

RHDEVDOCS 5979 starting pipeline runs manually and on chatops, support OWNERS fully #75409

Merged
merged 1 commit into from
May 8, 2024

Conversation

mramendi
Copy link
Contributor

@mramendi mramendi commented May 1, 2024

Version(s):

pipelines-docs-main only

Issue:

RHDEVDOCS 5979

Link to docs preview:

https://75409--ocpdocs-pr.netlify.app/openshift-pipelines/latest/pac/managing-pipeline-runs-pac.html (first two subsections)

QE review:

  • QE has approved this change.

Additional information:

@openshift-ci openshift-ci bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 1, 2024
@mramendi
Copy link
Contributor Author

mramendi commented May 1, 2024

@piyush-garg
Copy link

lgtm

* The author is the owner of the repository.
* The author is a collaborator on the repository.
* The author is a public member on the organization of the repository.
* The comment author is listed in the `approvers` or `reviewers` section of the `OWNERS` file in the root of the repository, as defined in the https://www.kubernetes.dev/docs/guide/owners/[Kubernetes documentation]. {pac} supports the full specification for the `OWNERS` and `OWNERS_ALIASES` files.
Copy link

@enarha enarha May 2, 2024

Choose a reason for hiding this comment

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

Here where repeating that line below, I would put a note stating that "When the OWNERS file is using filters (https://github.com/kubernetes/community/blob/master/contributors/guide/owners.md#filters), approvers and reviewers are only matched against the ".*" filter.

Copy link

@enarha enarha left a comment

Choose a reason for hiding this comment

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

Apart from one comment, the rest is LGTM.

- approved
...
----
* The pull request author is listed in the `approvers` or `reviewers` section of the `OWNERS` file in the root of the repository, as defined in the https://www.kubernetes.dev/docs/guide/owners/[Kubernetes documentation]. {pac} supports the full specification for the `OWNERS` and `OWNERS_ALIASES` files.
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we support the full specification but only a subset, @enarha would know more about which ones.

Copy link

Choose a reason for hiding this comment

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

Yea, the same sentence repeats few times. I commented on the first instance (#75409 (comment)), but it applies here as well.

Copy link

Choose a reason for hiding this comment

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

@mramendi the update above is good, just apply it here as well.

Copy link

@enarha enarha left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. and removed lgtm Indicates that a PR is ready to be merged. labels May 2, 2024
Copy link

openshift-ci bot commented May 3, 2024

New changes are detected. LGTM label has been removed.

@chmouel
Copy link
Member

chmouel commented May 3, 2024

Lgtm

[discrete]
.Matching a comment event to a pipeline run

You can use the following example to match the `pipeline-comment` pipeline run with a comment on a pull request, when the text of the comment matches the `^/merge-pr` regular expression:

Choose a reason for hiding this comment

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

@chmouel we also support on-comment for push as well right ?

Copy link
Member

Choose a reason for hiding this comment

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

@savitaashture no still waiting this to be merged 🙃 openshift-pipelines/pipelines-as-code#1638 (would not make it for osp1.5 now as there is not enough time to dogfood this)

Copy link

Choose a reason for hiding this comment

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

Ah i see its still PR
thats what i remembered somewhere i saw the changes but was not able to recall that pull request 😆

@mramendi
Copy link
Contributor Author

mramendi commented May 3, 2024

/retest

@mramendi
Copy link
Contributor Author

mramendi commented May 3, 2024

/label peer-review-needed

@openshift-ci openshift-ci bot added the peer-review-needed Signifies that the peer review team needs to review this PR label May 3, 2024
@kowen-rh
Copy link
Contributor

kowen-rh commented May 3, 2024

/remove-label peer-review-needed
/label peer-review-in-progress

@openshift-ci openshift-ci bot added peer-review-in-progress Signifies that the peer review team is reviewing this PR and removed peer-review-needed Signifies that the peer review team needs to review this PR labels May 3, 2024
Copy link
Contributor

@kowen-rh kowen-rh left a comment

Choose a reason for hiding this comment

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

This is very clean! I just see what looks like a very minor typo to me. 🙂

Other than that, LGTM! 👍

/remove-label peer-review-in-progress
/label peer-review-done

* The author is the owner of the repository.
* The author is a collaborator on the repository.
* The author is a public member on the organization of the repository.
* The comment author is listed in the `approvers` or `reviewers` section of the `OWNERS` file in the root of the repository, as defined in the https://www.kubernetes.dev/docs/guide/owners/[Kubernetes documentation]. {pac} supports the specification for the `OWNERS` and `OWNERS_ALIASES` files. If the `OWNER` file includes a https://github.com/kubernetes/community/blob/master/contributors/guide/owners.md#filters[filters] section, {pac} matches approvers and reviewers only against the `.*` filter.
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: OWNER should be OWNERS

Same for both other times this text is used. 🙂

@openshift-ci openshift-ci bot added peer-review-done Signifies that the peer review team has reviewed this PR and removed peer-review-in-progress Signifies that the peer review team is reviewing this PR labels May 3, 2024
* Full references to branches such as `"refs/heads/main"`
* Globs with pattern matching such as `"refs/heads/\*"`
* Tags such as `"refs/tags/1.\*"`

[discrete]
.Matching a comment event to a pipeline run
Copy link
Member

Choose a reason for hiding this comment

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

can we mark it a s TP ?


To restart all or specific pipeline runs, use the following comments:

* The `/test` and `/retest` comment restarts all pipeline runs.

* The `/test <pipeline_run_name>` and `/retest <pipeline_run_name>` comment restarts a specific pipeline run.
* The `/test <pipeline_run_name>` and `/retest <pipeline_run_name>` comment starts or restarts a specific pipeline run. You can use this command to start any {pac} pipeline run on the repository, whether or not it was triggered by an event for this pipeline run.
Copy link
Member

Choose a reason for hiding this comment

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

that part is TP,

Copy link

@ppitonak ppitonak left a comment

Choose a reason for hiding this comment

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

lgtm

@mramendi
Copy link
Contributor Author

mramendi commented May 8, 2024

/retest

Copy link

openshift-ci bot commented May 8, 2024

@mramendi: all tests passed!

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@mramendi
Copy link
Contributor Author

mramendi commented May 8, 2024

/label merge-review-needed

@openshift-ci openshift-ci bot added the merge-review-needed Signifies that the merge review team needs to review this PR label May 8, 2024
@sheriff-rh sheriff-rh added merge-review-in-progress Signifies that the merge review team is reviewing this PR and removed merge-review-needed Signifies that the merge review team needs to review this PR labels May 8, 2024
Copy link
Contributor

@sheriff-rh sheriff-rh left a comment

Choose a reason for hiding this comment

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

Changes look good; merging.

@sheriff-rh sheriff-rh merged commit 4286999 into openshift:pipelines-docs-main May 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-review-in-progress Signifies that the merge review team is reviewing this PR peer-review-done Signifies that the peer review team has reviewed this PR size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants