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

Integrated Github Actions into tide #2352

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VaniHaripriya
Copy link
Contributor

As part of migration from Prow to GH Action Workflows for KFP, integrated the Github Actions into tide to block the PRs from merging in case of any failing tests.

Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: VaniHaripriya
Once this PR has been reviewed and has the lgtm label, please assign nathanperkins for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

Copy link
Contributor

Hi @VaniHaripriya. Thanks for your PR.

I'm waiting for a GoogleCloudPlatform member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

pipelines:
protect: true
required_status_checks:
contexts:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm unsure of what the context field implies here, and whether listing GHA titles here is the right approach.

@chensun any ideas on how we could integrate these GHA workflows into tide? Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Tide has minimal support for GHA and I have not used it myself so I'm not very familiar with how supported this is or what the UX would be like. At minimum, Tide cannot retest GHA and GHA does not respect the presubmit checkout semantics that are expected by Tide (merging into the base branch at a specific commit before testing).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cjwagner Could you suggest if adding branch protection rules to the KFP repo by specifying the GH Action workflows in the Require status checks to pass before merging would be a good option to consider. We can continue using /rerun-all label to rerun the failed tests.

Copy link

@HumairAK HumairAK Aug 28, 2024

Choose a reason for hiding this comment

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

@VaniHaripriya are you sure you are supposed to put workflow name here for contexts, and not the job name? https://stackoverflow.com/questions/69177488/how-to-set-github-actions-as-required-status-checks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@HumairAK That's correct. We should provide the job name, I will correct it once we decide which option to proceed with(Integrating GH Action to Tide or to set up branch protection rules).

Copy link
Member

Choose a reason for hiding this comment

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

@VaniHaripriya Sorry, I don't know enough about the behavior/support for GHA to tell you whether that will work or not.
I would expect it to be safe to try our and revert if it doesn't behave as desired (especially if you just tried this on a less active repo first).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants