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

test: Migrate Frontend tests to a GHA Workflow #10923

Closed
wants to merge 1 commit into from

Conversation

DharmitD
Copy link
Contributor

@DharmitD DharmitD commented Jun 18, 2024

Description of your changes:
Resolves #10879

Converts the Prow frontend test to a GH Action Workflow.

Here's a working GH Action run on my fork: https://github.com/DharmitD/data-science-pipelines-argo/actions/runs/9525123655/job/26258863870

PR to remove the frontend test from prow config: GoogleCloudPlatform/oss-test-infra#2302

Checklist:

@google-oss-prow google-oss-prow bot requested review from chensun and zijianjoy June 18, 2024 14:26
@DharmitD DharmitD changed the title test: Migrate Frontend tests to a GHA Workflow WIP: test: Migrate Frontend tests to a GHA Workflow Jun 18, 2024
@DharmitD DharmitD marked this pull request as draft June 18, 2024 15:00
@DharmitD DharmitD marked this pull request as ready for review June 18, 2024 21:03
@google-oss-prow google-oss-prow bot requested a review from jlyaoyuli June 18, 2024 21:03
@DharmitD DharmitD changed the title WIP: test: Migrate Frontend tests to a GHA Workflow test: Migrate Frontend tests to a GHA Workflow Jun 18, 2024
@DharmitD
Copy link
Contributor Author

DharmitD commented Jun 18, 2024

/assign: @hbelmiro @chensun

Copy link
Member

@gmfrasca gmfrasca left a comment

Choose a reason for hiding this comment

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

GHaction /lgtm , but I think we need to remove the kubeflow-pipeline-frontend-test from the CI checks as this supercedes the test and removes the prow ci check, but is still marked as required

@DharmitD
Copy link
Contributor Author

GHaction /lgtm , but I think we need to remove the kubeflow-pipeline-frontend-test from the CI checks as this supercedes the test and removes the prow ci check, but is still marked as required

Find PR to remove the frontend test from prow config here: GoogleCloudPlatform/oss-test-infra#2302

branches:
- master
paths:
- 'frontend/**'
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should also add this workflow itself.

Suggested change
- 'frontend/**'
- 'frontend/**'
- '.github/workflows/frontend.yml'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done, added this workflow to paths.

@@ -92,7 +92,6 @@
"test:server:coverage": "cd ./server && npm test -- --coverage && cd ..",
"test:coverage": "npm test -- --coverage && npm run test:server:coverage",
"test:ci": "export CI=true && npm run format:check && npm run lint && npm run test:coverage",
"test:ci:prow": "npm set unsafe-perm true && npm ci && npm run test:ci && ./scripts/report-coveralls.sh",
Copy link
Contributor

Choose a reason for hiding this comment

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

We can also remove the ./scripts/report-coveralls.sh and frontend/scripts/get-coveralls-repo-token.js files. Seems like they are no longer referenced with this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, removed these files.

Copy link

@DharmitD: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
kubeflow-pipeline-frontend-test ed967e9 link true /test kubeflow-pipeline-frontend-test

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

@DharmitD
Copy link
Contributor Author

DharmitD commented Jun 20, 2024

This PR is ready for review.
PR to remove the frontend test from prow config: GoogleCloudPlatform/oss-test-infra#2302
cc: @hbelmiro @rimolive @chensun

Copy link
Contributor

@hbelmiro hbelmiro left a comment

Choose a reason for hiding this comment

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

/lgtm

@rimolive
Copy link
Member

/lgtm

@chensun @zijianjoy

@DharmitD
Copy link
Contributor Author

@chensun could you please approve?

@DharmitD
Copy link
Contributor Author

cc @chensun @zijianjoy @james-jwu

Copy link
Member

@chensun chensun left a comment

Choose a reason for hiding this comment

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

/lgtm

@DharmitD
Copy link
Contributor Author

@chensun could you also approve GoogleCloudPlatform/oss-test-infra#2302?
And merge both these PRs? Thank you!

cc: @zijianjoy @james-jwu

@DharmitD
Copy link
Contributor Author

DharmitD commented Jul 1, 2024

/retest-required

@DharmitD
Copy link
Contributor Author

DharmitD commented Jul 1, 2024

Closing this PR and re-opening so that the tide check runs using latest config.

@DharmitD DharmitD closed this Jul 1, 2024
@DharmitD
Copy link
Contributor Author

DharmitD commented Jul 1, 2024

Reopening.

@DharmitD DharmitD reopened this Jul 1, 2024
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chensun

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

@DharmitD DharmitD closed this Jul 1, 2024
@DharmitD
Copy link
Contributor Author

DharmitD commented Jul 1, 2024

Duplicated here: #10972

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.

Migrate Prow front end tests to GH Actions
5 participants