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

Consolidate Kubeflow tests #2805

Merged

Conversation

hansinikarunarathne
Copy link
Member

…tomize.sh to avoid code repitition

Pull Request Template for Kubeflow manifests Issues

✏️ A brief description of the changes

I created a separate sh file in tests/gh_actions folder to install_KinD , create_KinD_cluster and install_kustomize.sh

🐛 If this PR is related to an issue, please put the link to the issue here.

#2797

✅ Contributor checklist


You can join the CNCF Slack and access our meetings at the Kubeflow Community website. Our channel on the CNCF Slack is here #kubeflow-platform.

@juliusvonkohout
Copy link
Member

juliusvonkohout commented Jul 30, 2024

The goal is consolidate, reduce compexity and the amount of files. We still have as many files as before and it is only adjusted for one higher level workflow.

@juliusvonkohout juliusvonkohout self-assigned this Jul 30, 2024
@google-oss-prow google-oss-prow bot added size/L and removed size/M labels Jul 30, 2024
@juliusvonkohout juliusvonkohout changed the title Organize Kubeflow tests Consolidate Kubeflow tests Jul 30, 2024

# Create KinD Cluster
echo "Creating KinD Cluster..."
if ! kind create cluster --config tests/gh-actions/kind-cluster.yaml; then
Copy link
Member

Choose a reason for hiding this comment

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

Can we inline all three scripts to save 3 additional files?

Copy link
Member Author

@hansinikarunarathne hansinikarunarathne Jul 30, 2024

Choose a reason for hiding this comment

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

I have addressed this. Can you check it? Let me know if you have any concerns.
If not I can delete those redundant files and update the PR. j
Just in the end we have to merge it together.

run: ./tests/gh-actions/install_kustomize.sh
- name: Install KinD, Create KinD cluster and Install kustomize
run: |
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
Copy link
Member

Choose a reason for hiding this comment

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

no chmod here, you need to fix the file in git itself

Copy link
Member Author

Choose a reason for hiding this comment

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

I fixed this. If you have any concerns regarding this PR can you let me know? If not I can delete redundant files before the merge

hansinikarunarathne and others added 9 commits August 15, 2024 00:28
* Expose Ray and Seldon to example kustomization.yaml file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add internal documentations for ray and seldon

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

---------

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
… 2400s

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
…kubeflow#2819)

* Patched PSS labels to multi_tenancy

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added script in gh-actions to patch PSS/static/baseline/pacthes

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added PSS scripts for both baseline and restricted labels of static namespaces and renamed directories

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added tests to enable PSS in gh-actions

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added workflow test for PSS labels

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Fixed indentation

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

---------

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
@google-oss-prow google-oss-prow bot added size/L and removed size/XL labels Aug 14, 2024
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
- tests/gh-actions/install_istio.sh
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**
- common/oauth2-proxy/**
- common/oidc-client/oauth2-proxy/**
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have common/oidc-client/oauth2-proxy that's replacing common/oauth2-proxy in the paths here?

Copy link
Member

Choose a reason for hiding this comment

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

We have common/oauth2-proxy

@biswajit-9776
Copy link
Contributor

From my end, I ran the latest failing build, and the failing step "Create Kubeflow Notebook with PodDefaults" ran in 300s locally at my end. Only difference I made was creating the cluster using the configuration present in master https://github.com/kubeflow/manifests/blob/master/tests/gh-actions/kind-cluster.yaml instead of this PR. I believe there's something here in Github Actions that's causing this particular fail in this and other PRs.

@tzabbi
Copy link
Contributor

tzabbi commented Aug 19, 2024

Again, can you provide more information? The pipeline creates a notebook resource, but it won't be in the ready state:

kubectl describe Notebook -n kubeflow-user-example-com test

Add this in the file which executes "Create Pipeline Run from Kubeflow Notebook"

@juliusvonkohout
Copy link
Member

juliusvonkohout commented Aug 19, 2024

Maybe something regarding caching changed, maybe there are pull rate limits. But I need debugging enabled for more insights.

@tzabbi
Copy link
Contributor

tzabbi commented Aug 19, 2024

Yes you are right that's why I want to describe the resource

@@ -69,7 +61,7 @@ jobs:
kubectl apply -f tests/gh-actions/kf-objects/notebook.test.kubeflow-user-example.com.yaml
Copy link
Contributor

Choose a reason for hiding this comment

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

@hansinikarunarathne after line 61, would be suitable to add the following command before the wait command:

kubectl describe Notebook -n kubeflow-user-example-com test

Copy link
Member

Choose a reason for hiding this comment

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

You can also try this separately in your own PR, this way you can both experiment at the same time.

Copy link
Contributor

@biswajit-9776 biswajit-9776 Aug 19, 2024

Choose a reason for hiding this comment

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

Yes, I will make a PR to push my change for the cronjob meanwhile.

@juliusvonkohout
Copy link
Member

@hansinikarunarathne it seems to have been a github issue...
Please change the timeout of Katib and pipeline run from notebook back to 600 seconds and fix the trigger path common/oidc-client/oauth2-proxy/`to common/oauth2-proxy/ in a follow up PR.

/lgtm
/approve

@google-oss-prow google-oss-prow bot added the lgtm label Aug 21, 2024
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: juliusvonkohout

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

@google-oss-prow google-oss-prow bot merged commit e04bd39 into kubeflow:master Aug 21, 2024
29 checks passed
hansinikarunarathne added a commit to hansinikarunarathne/kubeflow-manifests that referenced this pull request Aug 26, 2024
* Training operator  CICD improvements (kubeflow#2779)

* Add the networkpolicies

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* rework the training operator tests

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fix the comments

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fix filename

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* try to fix the permissions

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* try to fix the permissions

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* change to the user namespace

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* update the image to rc.1

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

---------

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* create seperate file for install_KinD_create_KinD_cluster_install_kustomize.sh to avoid code repitition

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* make sh file executable

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* remove reduntant codes

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* combine kind, kuztomize and kind-cluster create sh files into one file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix issues with combined file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix configurations issues

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix linting issues in workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix trailing issues in workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix trailing issues in workflow file bentoml

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh executable and removed chmod command from the workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made modifications in workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* deleted redundant files from tests folder

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Add kustomize installation file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made install_kustomize.sh file executable

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made a fix

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix issue with linting of YAML files (kubeflow#2825)

* fix issue with linting of YAML files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* delete a file to check the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add the after checking the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add folders to yaml linting

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting issues

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting issues

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting changes

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting functionality by chnaging different files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file and check the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file and check the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add github, hack and tests folders also for linting

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Check functionality by deleting sh from hack and yaml file common

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Added deleted files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

---------

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Expose Ray and Seldon to example kustomization.yaml file (kubeflow#2834)

* Expose Ray and Seldon to example kustomization.yaml file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add internal documentations for ray and seldon

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

---------

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Increase the time out of notebook and katib test

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* increase the timout time

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* increase timeout of the create pipeline Run from Kubeflow Notebook to 2400s

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Add code to calculate time taken to pull a docker image

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix syntax error in yaml file

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* increase pipeline time

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* remove one step in action

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Added tests to tests/gh-actions to enable baseline and restricted PSS (kubeflow#2819)

* Patched PSS labels to multi_tenancy

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added script in gh-actions to patch PSS/static/baseline/pacthes

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added PSS scripts for both baseline and restricted labels of static namespaces and renamed directories

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added tests to enable PSS in gh-actions

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added workflow test for PSS labels

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Fixed indentation

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

---------

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* add kind cluster step into pss test yaml file

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* change time pot time

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

---------

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>
Co-authored-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
Co-authored-by: biswajit-9776 <115724497+biswajit-9776@users.noreply.github.com>
hansinikarunarathne added a commit to hansinikarunarathne/kubeflow-manifests that referenced this pull request Aug 26, 2024
* Training operator  CICD improvements (kubeflow#2779)

* Add the networkpolicies

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* rework the training operator tests

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fix the comments

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fix filename

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* try to fix the permissions

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* try to fix the permissions

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* change to the user namespace

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* update the image to rc.1

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

---------

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* create seperate file for install_KinD_create_KinD_cluster_install_kustomize.sh to avoid code repitition

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* make sh file executable

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* remove reduntant codes

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* combine kind, kuztomize and kind-cluster create sh files into one file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix issues with combined file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix configurations issues

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix linting issues in workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix trailing issues in workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix trailing issues in workflow file bentoml

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh executable and removed chmod command from the workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made modifications in workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* deleted redundant files from tests folder

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Add kustomize installation file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made install_kustomize.sh file executable

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made a fix

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix issue with linting of YAML files (kubeflow#2825)

* fix issue with linting of YAML files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* delete a file to check the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add the after checking the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add folders to yaml linting

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting issues

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting issues

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting changes

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting functionality by chnaging different files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file and check the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file and check the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add github, hack and tests folders also for linting

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Check functionality by deleting sh from hack and yaml file common

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Added deleted files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

---------

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Expose Ray and Seldon to example kustomization.yaml file (kubeflow#2834)

* Expose Ray and Seldon to example kustomization.yaml file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add internal documentations for ray and seldon

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

---------

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Increase the time out of notebook and katib test

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* increase the timout time

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* increase timeout of the create pipeline Run from Kubeflow Notebook to 2400s

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Add code to calculate time taken to pull a docker image

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix syntax error in yaml file

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* increase pipeline time

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* remove one step in action

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Added tests to tests/gh-actions to enable baseline and restricted PSS (kubeflow#2819)

* Patched PSS labels to multi_tenancy

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added script in gh-actions to patch PSS/static/baseline/pacthes

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added PSS scripts for both baseline and restricted labels of static namespaces and renamed directories

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added tests to enable PSS in gh-actions

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added workflow test for PSS labels

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Fixed indentation

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

---------

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* add kind cluster step into pss test yaml file

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* change time pot time

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

---------

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>
Co-authored-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
Co-authored-by: biswajit-9776 <115724497+biswajit-9776@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
pschoen-itsc pushed a commit to pschoen-itsc/kf-manifests that referenced this pull request Sep 3, 2024
* Training operator  CICD improvements (kubeflow#2779)

* Add the networkpolicies

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* rework the training operator tests

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fix the comments

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fix filename

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* try to fix the permissions

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* try to fix the permissions

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* change to the user namespace

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* update the image to rc.1

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

* fixes

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>

---------

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* create seperate file for install_KinD_create_KinD_cluster_install_kustomize.sh to avoid code repitition

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* make sh file executable

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* remove reduntant codes

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* combine kind, kuztomize and kind-cluster create sh files into one file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix issues with combined file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix configurations issues

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix linting issues in workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix trailing issues in workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix trailing issues in workflow file bentoml

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh executable and removed chmod command from the workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made modifications in workflow files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* deleted redundant files from tests folder

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Add kustomize installation file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made install_kustomize.sh file executable

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* made a fix

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix issue with linting of YAML files (kubeflow#2825)

* fix issue with linting of YAML files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* delete a file to check the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add the after checking the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add folders to yaml linting

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting issues

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting issues

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting changes

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* check linting functionality by chnaging different files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file and check the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* made some fixes in linting YAML file and check the functionality

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add github, hack and tests folders also for linting

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Check functionality by deleting sh from hack and yaml file common

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Added deleted files

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

---------

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Expose Ray and Seldon to example kustomization.yaml file (kubeflow#2834)

* Expose Ray and Seldon to example kustomization.yaml file

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

* Add internal documentations for ray and seldon

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>

---------

Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Increase the time out of notebook and katib test

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* increase the timout time

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* increase timeout of the create pipeline Run from Kubeflow Notebook to 2400s

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Add code to calculate time taken to pull a docker image

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* fix syntax error in yaml file

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* increase pipeline time

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* remove one step in action

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* Added tests to tests/gh-actions to enable baseline and restricted PSS (kubeflow#2819)

* Patched PSS labels to multi_tenancy

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added script in gh-actions to patch PSS/static/baseline/pacthes

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added PSS scripts for both baseline and restricted labels of static namespaces and renamed directories

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added tests to enable PSS in gh-actions

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Added workflow test for PSS labels

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

* Fixed indentation

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>

---------

Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* add kind cluster step into pss test yaml file

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

* change time pot time

Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>

---------

Signed-off-by: juliusvonkohout <45896133+juliusvonkohout@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
Signed-off-by: biswajit-9776 <biswajitpatt139@gmail.com>
Co-authored-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
Co-authored-by: biswajit-9776 <115724497+biswajit-9776@users.noreply.github.com>
Signed-off-by: Patrick Schönthaler <patrick.schoenthaler@itsc.de>
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.

Reorganize Kubeflow tests
5 participants