-
Notifications
You must be signed in to change notification settings - Fork 893
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
Refactor test workflows #2693
Refactor test workflows #2693
Conversation
d31c738
to
a647da7
Compare
Here the link to the Github statement https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ |
For a second PR: I also want to get rid of /go.mod /go.sum /.flake8 and /prow_config if they are not needed somewhere. /docs also looks crazy outdated. |
96d7de2
to
1a27b3f
Compare
Hi @juliusvonkohout, I think I addressed most of the things we discussed in today meeting:
The only thing I did not do in this PR is the workflow merge as I am not completely sure if two workflows can be really merged together, e.g.,
|
@lampajr can you fix the bentoml tests? |
I can try to take a look but looking at the previous runs of the test [1], it looks like it never worked 🤔 Alternatively, we could create a different issue to fix bentoml test, as I think it is not directly related to this PR, wdyt? [1] https://github.com/kubeflow/manifests/actions/workflows/bentoml_kind_test.yaml |
Hey @juliusvonkohout, 2024-05-02T20:04:08.5386818Z 1.714680241638799e+09 ERROR controller-runtime.source if kind is a CRD, it should be installed before calling Start {"kind": "HorizontalPodAutoscaler.autoscaling", "error": "no matches for kind \"HorizontalPodAutoscaler\" in version \"autoscaling/v2beta2\""}
2024-05-02T20:04:08.5389859Z sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1.1
2024-05-02T20:04:08.5391173Z /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/source/source.go:139
2024-05-02T20:04:08.5392765Z k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext
2024-05-02T20:04:08.5394133Z /go/pkg/mod/k8s.io/apimachinery@v0.25.0/pkg/util/wait/wait.go:235
2024-05-02T20:04:08.5395093Z k8s.io/apimachinery/pkg/util/wait.WaitForWithContext
2024-05-02T20:04:08.5396257Z /go/pkg/mod/k8s.io/apimachinery@v0.25.0/pkg/util/wait/wait.go:662
2024-05-02T20:04:08.5397237Z k8s.io/apimachinery/pkg/util/wait.poll
2024-05-02T20:04:08.5398196Z /go/pkg/mod/k8s.io/apimachinery@v0.25.0/pkg/util/wait/wait.go:596
2024-05-02T20:04:08.5399440Z k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext
2024-05-02T20:04:08.5400688Z /go/pkg/mod/k8s.io/apimachinery@v0.25.0/pkg/util/wait/wait.go:547
2024-05-02T20:04:08.5401926Z sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1
2024-05-02T20:04:08.5403159Z /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/source/source.go:132
2024-05-02T20:04:13.5355408Z + kubectl -n kubeflow wait --for=condition=available --timeout=600s deploy/fraud-detection
2024-05-02T20:04:13.5830234Z Error from server (NotFound): deployments.apps "fraud-detection" not found
2024-05-02T20:04:13.5852648Z make: *** [Makefile:22: test] Error 1 It looks like it is complaining about missing Then, just as a test, I changed the version to (not the latest but at least newer versions):
And I re-generated the modified: bentoml-yatai-stack/bases/yatai-deployment/resources.yaml
modified: bentoml-yatai-stack/bases/yatai-image-builder/resources.yaml And with those new resources, the test seems working (at least the kubectl wait conditions are met). In conclusion it seems like the issue is not in the test itself, but it looks like the Anyway I think this could be a topic that should be discussed separately from this PR, unless we already know the answer (do you?). |
Yes, please update the bentoml stuff, because we have to pass all tests for now. If it is a small change even in this PR here. |
I created a separate PR as it looks like the is an error while running the |
* Renamed workflow files * Fixed dependency files * Upgrade actions/checkout to v4 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
Rebased after #2704 merge |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: juliusvonkohout, lampajr 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 |
* Renamed workflow files * Fixed dependency files * Upgrade actions/checkout to v4 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>
* Fix kserve upgrade script and update kserve diagram (#2702) * Fix kserve upgrade script and update kserve diagram Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> * Update Readme Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * update cert-manager to 1.14.5 (#2703) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade bentoml to 1.2.28 and 1.1.21 (#2704) * Upgrade bentoml to 1.2.28 and 1.1.21 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Bentoml skip broken curl in kind test Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Refactor test workflows (#2693) * Renamed workflow files * Fixed dependency files * Upgrade actions/checkout to v4 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * update readme (#2707) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade dex to 2.39.1 (#2710) Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade knative to v1.12.4 (#2709) * Add common/knative sync script Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Update common/knative manifests from v1.12.4/v1.12.6 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Co-authored-by: Sivanantham <90966311+sivanantha321@users.noreply.github.com> Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
* Fix kserve upgrade script and update kserve diagram (#2702) * Fix kserve upgrade script and update kserve diagram Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> * Update Readme Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> * update cert-manager to 1.14.5 (#2703) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade bentoml to 1.2.28 and 1.1.21 (#2704) * Upgrade bentoml to 1.2.28 and 1.1.21 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Bentoml skip broken curl in kind test Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Refactor test workflows (#2693) * Renamed workflow files * Fixed dependency files * Upgrade actions/checkout to v4 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * update readme (#2707) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade dex to 2.39.1 (#2710) Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Upgrade knative to v1.12.4 (#2709) * Add common/knative sync script Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Update common/knative manifests from v1.12.4/v1.12.6 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Fixes for dco changes (#2713) * Fix kserve upgrade script and update kserve diagram (#2702) * Fix kserve upgrade script and update kserve diagram Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> * Update Readme Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * update cert-manager to 1.14.5 (#2703) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade bentoml to 1.2.28 and 1.1.21 (#2704) * Upgrade bentoml to 1.2.28 and 1.1.21 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Bentoml skip broken curl in kind test Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Refactor test workflows (#2693) * Renamed workflow files * Fixed dependency files * Upgrade actions/checkout to v4 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * update readme (#2707) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade dex to 2.39.1 (#2710) Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade knative to v1.12.4 (#2709) * Add common/knative sync script Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Update common/knative manifests from v1.12.4/v1.12.6 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Co-authored-by: Sivanantham <90966311+sivanantha321@users.noreply.github.com> Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Co-authored-by: Sivanantham <90966311+sivanantha321@users.noreply.github.com> Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
* Renamed workflow files * Fixed dependency files * Upgrade actions/checkout to v4 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
* Fix kserve upgrade script and update kserve diagram (kubeflow#2702) * Fix kserve upgrade script and update kserve diagram Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> * Update Readme Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * update cert-manager to 1.14.5 (kubeflow#2703) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade bentoml to 1.2.28 and 1.1.21 (kubeflow#2704) * Upgrade bentoml to 1.2.28 and 1.1.21 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Bentoml skip broken curl in kind test Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Refactor test workflows (kubeflow#2693) * Renamed workflow files * Fixed dependency files * Upgrade actions/checkout to v4 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * update readme (kubeflow#2707) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade dex to 2.39.1 (kubeflow#2710) Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade knative to v1.12.4 (kubeflow#2709) * Add common/knative sync script Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Update common/knative manifests from v1.12.4/v1.12.6 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Co-authored-by: Sivanantham <90966311+sivanantha321@users.noreply.github.com> Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
* Fix kserve upgrade script and update kserve diagram (kubeflow#2702) * Fix kserve upgrade script and update kserve diagram Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> * Update Readme Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> * update cert-manager to 1.14.5 (kubeflow#2703) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade bentoml to 1.2.28 and 1.1.21 (kubeflow#2704) * Upgrade bentoml to 1.2.28 and 1.1.21 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Bentoml skip broken curl in kind test Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Refactor test workflows (kubeflow#2693) * Renamed workflow files * Fixed dependency files * Upgrade actions/checkout to v4 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * update readme (kubeflow#2707) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade dex to 2.39.1 (kubeflow#2710) Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Upgrade knative to v1.12.4 (kubeflow#2709) * Add common/knative sync script Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Update common/knative manifests from v1.12.4/v1.12.6 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Fixes for dco changes (kubeflow#2713) * Fix kserve upgrade script and update kserve diagram (kubeflow#2702) * Fix kserve upgrade script and update kserve diagram Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> * Update Readme Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * update cert-manager to 1.14.5 (kubeflow#2703) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade bentoml to 1.2.28 and 1.1.21 (kubeflow#2704) * Upgrade bentoml to 1.2.28 and 1.1.21 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Bentoml skip broken curl in kind test Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Refactor test workflows (kubeflow#2693) * Renamed workflow files * Fixed dependency files * Upgrade actions/checkout to v4 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * update readme (kubeflow#2707) Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade dex to 2.39.1 (kubeflow#2710) Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> * Upgrade knative to v1.12.4 (kubeflow#2709) * Add common/knative sync script Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> * Update common/knative manifests from v1.12.4/v1.12.6 Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Co-authored-by: Sivanantham <90966311+sivanantha321@users.noreply.github.com> Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com> --------- Signed-off-by: Sivanantham Chinnaiyan <sivanantham.chinnaiyan@ideas2it.com> Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com> Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com> Co-authored-by: Sivanantham <90966311+sivanantha321@users.noreply.github.com> Co-authored-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
Description of your changes:
Upgrade
actions/checkout
to versionv4
.This is going to be required as
v3
does not run onnode20
which will be required in a while.[edit] As discussed, this PR also contains some refactoring on the gh workflows, e.g., renaming and dependencies
Checklist:
Make sure you have installed kustomize == 5.2.1+
make generate-changed-only
make test