-
Notifications
You must be signed in to change notification settings - Fork 35
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
Upgrade notebook-controller with upstream 1.9.0 Release #385
Upgrade notebook-controller with upstream 1.9.0 Release #385
Conversation
…ding notebook (kubeflow#6899) * vwa(back): Append notebooks using each PVC Append notebooks using each PVC when getting and parsing all PVCs. Refs arrikto/dev#2017 Signed-off-by: Orfeas Kourkakis <[email protected]> Reviewed-by: Kimonas Sotirchos <[email protected]> * vwa(front): Create custom delete action column Create custom delete column component that extends ActionComponent from Kubeflow common code and adds the following functionalities: * Disable the button when a row's notebooks array is not empty * Display an appropriate message including the notebooks' names Refs arrikto/dev#2017 Signed-off-by: Orfeas Kourkakis <[email protected]> Reviewed-by: Kimonas Sotirchos <[email protected]> * vwa(front): Add delete button component in index page Implement custom delete column in the table in VWA's index page. Refs arrikto/dev#2017 Signed-off-by: Orfeas Kourkakis <[email protected]> Reviewed-by: Kimonas Sotirchos <[email protected]> * vwa(front): Add Used by column in volumes table Add a Used by column in volumes table of VWA's index page in order to link to the notebooks that are using each PVC. Refs arrikto/dev#2017 Signed-off-by: Orfeas Kourkakis <[email protected]> Reviewed-by: Kimonas Sotirchos <[email protected]> * vwa(front): Fix integration tests Update mock request for PVCs Refs arrikto/dev#2017 Refs arrikto/dev#2135 Signed-off-by: Orfeas Kourkakis <[email protected]> Reviewed-by: Kimonas Sotirchos <[email protected]> * vwa(front): Fix format error Signed-off-by: Orfeas Kourkakis <[email protected]> * web-apps(front): Fix linting errors Signed-off-by: Orfeas Kourkakis <[email protected]> --------- Signed-off-by: Orfeas Kourkakis <[email protected]>
* centraldashboard(front): Install Cypress - Install Cypress & npm scripts for UI tests - Update frontend README.md with UI tests instructions Signed-off-by: Orfeas Kourkakis <[email protected]> * centraldashboard-angular(front): Add UI tests with Cypress Add UI tests with Cypress to check that the URLs of the browser and the iframe are always synced. More specifically, we test the following scenarios: - User navigates to pages inside the same WA (JWA) - User navigates to another WA from the one they were previously in (to the corresponding PVC from JWA details page) - User clicks and affects the query parameters of the current URL (navigates to tabs inside JWA details page) Signed-off-by: Orfeas Kourkakis <[email protected]> * cdb-angular(front): Modify script names Modify script names in order to conform with script names in other WAs. Signed-off-by: Orfeas Kourkakis <[email protected]> * gh-actions(cdb-angular): Add UI tests to CDB's frontend workflow Signed-off-by: Orfeas Kourkakis <[email protected]> --------- Signed-off-by: Orfeas Kourkakis <[email protected]>
…rvice` (kubeflow#6609) * Pin alpine repository version * Introduce a new LogoutButton component
* cdb-angular: Modify README.md port-forward instructions Add instructions to port-forward Profiles KFAM service. Signed-off-by: Orfeas Kourkakis <[email protected]> * web-apps(front): Modify SnackBar service to use config parameter Modify SnackBarService to: - Accept as a parameter a config object that will be able to include all possible configurations MatSnackBarService - Inject MAT_SNACK_BAR_DEFAULT_OPTIONS. This allows a structured way for every WA to provide to the service a default configuration app-wide for values like like HorizontalPosition and duration. Signed-off-by: Orfeas Kourkakis <[email protected]> * cdb(front): Use Kubeflow common library Build CDB using components from Kubeflow's common libary. Signed-off-by: Orfeas Kourkakis <[email protected]> * cdb-angular(front): Introduce backend service and ErrorInterceptor - Introduce backend service to handle requests to the backend - Use snackBar service by KF common library - Introduce ErrorInterceptor to hanlde errors in a uniform way. Signed-off-by: Orfeas Kourkakis <[email protected]> * cdb-angular(back): Remove "kubeflowVersion" from API Remove the "kubeflowVersion from Workgroup's API "/env-info" endpoint since it was using CRDs which are deprecated. Signed-off-by: Orfeas Kourkakis <[email protected]> * cdb-angular(back): Modify KF build version during runtime By default, the version displayed in the dashboard's sidebar is the ENV variable `BUILD_VERSION` defined during build time. With this change, the `/api/workgroup/env-info` endpoint may now return the build's label, version, and id which will be displayed instead of the BUILD_VERSION. These values are assigned during runtime and can be defined through the deployment's `KF_DASHBOARD_BUILD_LABEL`, `KF_DASHBOARD_VERSION` and `KF_DASHBOARD_BUILD_ID` ENV variables. Signed-off-by: Orfeas Kourkakis <[email protected]> * cdb-angular(front): Show KF version in the left sidebar Show KF version at the bottom of the left sidebar navigation menu. Variables that are used to show the KF version get their default values during build time but may be modified during runtime by the depoloyment's ENV vars fetched from the request at '/api/workflow/env-info'. Signed-off-by: Orfeas Kourkakis <[email protected]> * jwa(front): Update the use of SnackBarService Update the use of SnackBarService in order to pass required data via a `config` object. Signed-off-by: Orfeas Kourkakis <[email protected]> * vwa(front): Update the use of SnackBarService Update the use of SnackBarService in order to pass required data via a `config` object. Signed-off-by: Orfeas Kourkakis <[email protected]> * twa(front): Update the use of SnackBarService Update the use of SnackBarService in order to pass required data via a `config` object. Signed-off-by: Orfeas Kourkakis <[email protected]> * web-apps(front): Fix flaky filtering unit test Signed-off-by: Orfeas Kourkakis <[email protected]> --------- Signed-off-by: Orfeas Kourkakis <[email protected]>
* support Pod Defaults in Tensorboard Web App * flint files
* Add approvers to the frontends Signed-off-by: Kimonas Sotirchos <[email protected]> * Add owners to common frontend code Signed-off-by: Kimonas Sotirchos <[email protected]> --------- Signed-off-by: Kimonas Sotirchos <[email protected]>
…omponents/centraldashboard-angular/frontend (kubeflow#6951) Removes [cacheable-request](https://github.com/jaredwray/cacheable-request). It's no longer used after updating ancestor dependency [@kubernetes/client-node](https://github.com/kubernetes-client/javascript). These dependencies need to be updated together. Removes `cacheable-request` Updates `@kubernetes/client-node` from 0.16.3 to 0.18.1 - [Release notes](https://github.com/kubernetes-client/javascript/releases) - [Changelog](https://github.com/kubernetes-client/javascript/blob/master/CHANGELOG.md) - [Commits](https://github.com/kubernetes-client/javascript/commits) --- updated-dependencies: - dependency-name: cacheable-request dependency-type: indirect - dependency-name: "@kubernetes/client-node" dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update the cert-manager installation script to use the pre-built yaml file from Cert Manager releases. This is to avoid rebuilding the manifests as part of Kubeflow and having to use other CLIs. Signed-off-by: Kimonas Sotirchos <[email protected]>
…pps/tensorboards/frontend (kubeflow#6877) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…pps/common/frontend/kubeflow-common-lib (kubeflow#6878) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix Activities list test that was failing because new Date () added whitespace that was not equal to the space character during comparison. Signed-off-by: Orfeas Kourkakis <[email protected]>
Previously the app would not use the correct directory when running the docker buildx command, which resulted in the image to fail to get built. Signed-off-by: Kimonas Sotirchos <[email protected]>
* centraldashboard: Don't run tests in docker build Run the frontend tests outside of the Dockerfile and inside a dedicated GH Action. We should separate the testing process from the building one. The dashboard's Dockerfile was running the tests because in the early days, when Kubeflow didn't have a CI, this was the only reproducible way to ensure the tests had passed when creating an image. Signed-off-by: Kimonas Sotirchos <[email protected]> * gh-actions: Build multi-arch image for centraldashboard on PRs Update the GH Action that we run when a PR is opened to use the multi-arch build rule, to ensure we run the same script once a PR is merged. Signed-off-by: Kimonas Sotirchos <[email protected]> * gh-action: Set multi arch ENV Var Signed-off-by: Kimonas Sotirchos <[email protected]> * centraldashboard(make): Use --load on multi-arch build Without this flag the result image will only remain in the build cache. Signed-off-by: Kimonas Sotirchos <[email protected]> * wip: Try building/loading each image explicitly Signed-off-by: Kimonas Sotirchos <[email protected]> --------- Signed-off-by: Kimonas Sotirchos <[email protected]>
Use dynamic URL for the logout button that can be set by the LOGOUT_URL ENV variable in the deployment of the app. If it is unset, a default '/logout' string is passed from the backend to the frontend. Signed-off-by: Orfeas Kourkakis <[email protected]>
…pps/volumes/frontend (kubeflow#6881) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…pps/jupyter/frontend (kubeflow#6880) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…hboard-angular/frontend (kubeflow#6883) Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…entraldashboard-angular/frontend (kubeflow#6905) Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.32 to 0.7.33. - [Release notes](https://github.com/faisalman/ua-parser-js/releases) - [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md) - [Commits](faisalman/ua-parser-js@0.7.32...0.7.33) --- updated-dependencies: - dependency-name: ua-parser-js dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…entraldashboard (kubeflow#6906) Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.32 to 0.7.33. - [Release notes](https://github.com/faisalman/ua-parser-js/releases) - [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md) - [Commits](faisalman/ua-parser-js@0.7.32...0.7.33) --- updated-dependencies: - dependency-name: ua-parser-js dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rud-web-apps/tensorboards/frontend (kubeflow#6907) Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33. - [Release notes](https://github.com/faisalman/ua-parser-js/releases) - [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md) - [Commits](faisalman/ua-parser-js@0.7.31...0.7.33) --- updated-dependencies: - dependency-name: ua-parser-js dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rud-web-apps/volumes/frontend (kubeflow#6908) Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33. - [Release notes](https://github.com/faisalman/ua-parser-js/releases) - [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md) - [Commits](faisalman/ua-parser-js@0.7.31...0.7.33) --- updated-dependencies: - dependency-name: ua-parser-js dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1.11.1 in /components/notebook-controller (kubeflow#6955) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.11.1. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.11.0...v1.11.1) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1.11.1 in /components/tensorboard-controller (kubeflow#6956) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.11.1. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.11.0...v1.11.1) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….11.1 in /components/access-management (kubeflow#6957) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 0.9.2 to 1.11.1. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v0.9.2...v1.11.1) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix the action component to properly show the tooltip of the start-stop action button in JWA. Signed-off-by: Elena Zioga <[email protected]>
* Document the release process for Notebooks Signed-off-by: Anna Jung (VMware) <[email protected]> * Add hanbook reference based on feedback Signed-off-by: Anna Jung (VMware) <[email protected]> --------- Signed-off-by: Anna Jung (VMware) <[email protected]>
…tebook from snapshot (kubeflow#6897) * web-apps(front): Introduce MemoryValue class Signed-off-by: Elena Zioga <[email protected]> * web-apps(front): Introduce unit tests for the MemoryValue class Signed-off-by: Elena Zioga <[email protected]> * jwa(front): Use MemoryValue class for memory column Signed-off-by: Elena Zioga <[email protected]> * web-apps(front): Make quantityToScalar() use only Number() Signed-off-by: Elena Zioga <[email protected]> * jwa(front): Update quantityToScalar() import Signed-off-by: Elena Zioga <[email protected]> * vwa(front): Update quantityToScalar() import Signed-off-by: Elena Zioga <[email protected]> --------- Signed-off-by: Elena Zioga <[email protected]>
Thank you for your review 🙂 This is the CI configuration for the new branch -> openshift/release#56800 I am working on the rest (midstream repo & nightlies) @jiridanek |
There's a bit less CI than what we have in 1.7, wouldn't you say? Compare with #381 (comment) which also did some builds |
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.
Thanks for the awesome work.
Apart from OWNERs file upgrade
need one more change
Hmm we didn't touch the CIs tests, we have exactly the same. Current development branch, v1.9-branch vs v1.7-branch |
I believe the confusion is why didn't these workflow run:
though it seems there is no problem, perhaps a flake from github side. |
@atheo89 , seems like the OWNER files verification from openshift-ci (prow) would keep showing up. |
358baa7
to
c5de943
Compare
c5de943
to
081ad50
Compare
@harshad16 , I removed all the sub-owners on this commit |
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
thank you for the excellent work.
Created separate task for fixing the golang lint:
RHOAIENG-13098
so we can move forward with this and start building and testing this work.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harshad16, jiridanek 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 |
As Jiri mentioned here already, there is an issue related for the golint fixes 🙂 |
/override "Code static analysis/golangci-lint (components/notebook-controller)" |
@jiridanek: /override requires failed status contexts, check run or a prowjob name to operate on.
Only the following failed contexts/checkruns were expected:
If you are trying to override a checkrun that has a space in it, you must put a double quote on the context. In response to this:
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. |
/override "golangci-lint (components/notebook-controller)" |
@jiridanek: Overrode contexts on behalf of jiridanek: golangci-lint (components/notebook-controller), golangci-lint (components/odh-notebook-controller) In response to this:
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. |
ddd1741
into
opendatahub-io:v1.9-branch
@jstourac thanks for pointing me to it |
Related to: https://issues.redhat.com/browse/RHOAIENG-10796
CI-config PR: openshift/release#56800
Old sync testing PR: #383
Description
Upgrade notebook-controller with upstream 1.9.0 Release
git remote add kfbf-upstream https://github.com/kubeflow/kubeflow.git
git fetch --all && git pull --all
git remote -v
git checkout -b [RHOAIENG-10796](https://issues.redhat.com//browse/RHOAIENG-10796) upstream/1.9-branch
git pull kfbf-upstream v1.9-branch --no-rebase
git add . && git commit
git push origin [RHOAIENG-10796](https://issues.redhat.com//browse/RHOAIENG-10796)
How Has This Been Tested?
Replace the odh and notebook controllers deployments with the following images:
quay.io/rh_ee_atheodor/notebook-controller:v1.9
quay.io/rh_ee_atheodor/odh-notebook-controller:v1.9
Try to spin up a new notebook and ensure that everything is working fine
Inspect the logs for both controllers and ensure no error logs are there
Merge criteria: