-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: install kfp on github periodic functional tests workflow #10859
test: install kfp on github periodic functional tests workflow #10859
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Hi @tmvfb. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the 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-sigs/prow repository. |
ca941ce
to
d486dbe
Compare
/ok-to-test |
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.
Thank you for your contributions! I left a few comments, let's work on these items before lgtm/approve
|
||
python3 "${source_root}/test/kfp-functional-test/run_kfp_functional_test.py" --host "${HOST}" | ||
if [ -n "$KIND_REGISTRY" ]; then |
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.
When this variable is specified when GH Action is running?
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.
This variable gets created when the kind action runs, see here. If we don't need prow tests, we can remove this conditional anyway.
.github/workflows/periodic.yml
Outdated
- name: Build images | ||
run: ./scripts/deploy/github/build-images.sh | ||
- name: Deploy kfp-tekton | ||
run: ./scripts/deploy/github/deploy-kfp.sh |
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.
These new lines are supposed to be only used in kfp-tekton backend tests. Periodic tests don't run any tests against kfp-tekton.
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.
I guess we can run the tests against standalone kfp then? I realised that my tests didn't work since I didn't allow for any time for the kfp pods to come up in the test cluster.
if [ -n "$KIND_REGISTRY" ]; then | ||
# if KIND_REGISTRY is available, we're running GH actions, host is not required | ||
python3 "${source_root}/test/kfp-functional-test/run_kfp_functional_test.py" --host "" | ||
else |
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.
We expect to remove the Prow jobs to run these tests, I think this confitional is not required.
d486dbe
to
d0b7262
Compare
@rimolive, completely reworked the PR, now we deploy standalone kfp inside GitHub actions kind cluster instead of kfp-tekton. I also simplified shell script considering we won't need prow tests anymore. |
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.
One last comment.
c9907bd
to
1e0bdb6
Compare
Don't forget to sign-off your commits |
1e0bdb6
to
99298b8
Compare
Done! |
@tmvfb: The following test failed, say
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. |
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.
changes /lgtm
@tmvfb could you provide a sample run on your fork with these changes?
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
/approve |
cc @chensun |
@chensun Can you approve? |
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.
/Approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: DharmitD, rimolive 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 |
@tmvfb can you please rebase? |
99298b8
to
056ffaf
Compare
.github/workflows/periodic.yml
Outdated
kubectl_version: v1.29.2 | ||
version: v0.22.0 | ||
node_image: kindest/node:v1.29.2 | ||
- name: Deploy kfp |
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.
One more thing @tmvfb. Sorry.
Can you please use the new kfp-cluster
action here? Like what is done in
pipelines/.github/workflows/e2e-test.yaml
Line 26 in 2fb4922
- name: Create KFP cluster |
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.
/hold |
8029cb8
to
60be588
Compare
Signed-off-by: Igor Kvachenok <igor.kvachenok@prokube.ai>
Signed-off-by: Igor Kvachenok <igor.kvachenok@prokube.ai>
60be588
to
e14d5c8
Compare
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.
/unhold
/lgtm
Description of your changes:
Hopefully last fix for periodic functional tests. Current problems (#10851):
sudo
which is not available on python3.7-slim (runs on debian).Solutions:
KIND_REGISTRY
env var created by kind action is available), tests work without indicating host. For prow tests, runapt
withoutsudo
, as it was initially defined.Checklist: