Skip to content

Store E2E manifests to artifacts directory #2478

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

Merged

Conversation

tenzen-y
Copy link
Member

@tenzen-y tenzen-y commented Mar 6, 2025

What this PR does / why we need it:
I added a shell script to generate E2E dedicated manifests and store them in the artifacts directory.
It would be better not to modify production manifests.

Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #

Checklist:

  • Docs included if any changes are user facing

@tenzen-y tenzen-y force-pushed the use-e2e-dedicated-kustomize branch from e728796 to 6333d1c Compare March 6, 2025 01:49
Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

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

Great addition!
Let's also modify the path for output Notebooks to not upload manifests to the GitHub:
https://github.com/kubeflow/trainer/blob/master/.github/workflows/test-e2e.yaml#L67

${{ env.GOPATH }}/src/github.com/kubeflow/trainer/artifacts/notebooks/*

We might also want to update the default output path:
https://github.com/kubeflow/trainer/blob/master/Makefile#L152

@tenzen-y
Copy link
Member Author

tenzen-y commented Mar 6, 2025

Great addition! Let's also modify the path for output Notebooks to not upload manifests to the GitHub: https://github.com/kubeflow/trainer/blob/master/.github/workflows/test-e2e.yaml#L67

${{ env.GOPATH }}/src/github.com/kubeflow/trainer/artifacts/notebooks/*

We might also want to update the default output path: https://github.com/kubeflow/trainer/blob/master/Makefile#L152

I thought uploading manifests would be useful. When we debugging CI, I would like to confirm generated manifests.
However, I agree with creating notebooks subdirectory.

@tenzen-y tenzen-y force-pushed the use-e2e-dedicated-kustomize branch from 6333d1c to 463895c Compare March 6, 2025 02:02
@google-oss-prow google-oss-prow bot added size/M and removed size/S labels Mar 6, 2025
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@tenzen-y tenzen-y force-pushed the use-e2e-dedicated-kustomize branch from 463895c to bbaef9a Compare March 6, 2025 02:03
@tenzen-y
Copy link
Member Author

tenzen-y commented Mar 6, 2025

@andreyvelich I created the subdirectory artifacts/notebooks, but I kept uploading the entire artifacts directory.
Do you still think we should not upload the entire artifacts directory?

@andreyvelich
Copy link
Member

@andreyvelich I created the subdirectory artifacts/notebooks, but I kept uploading the entire artifacts directory. Do you still think we should not upload the entire artifacts directory?

I think, it is fine to upload the entire artifact directory to GitHub, since in the future we can introduce more tests which might require various configuration of controller manager (e.g. gang-scheduling, leader election, etc.)

@tenzen-y
Copy link
Member Author

tenzen-y commented Mar 6, 2025

@andreyvelich I created the subdirectory artifacts/notebooks, but I kept uploading the entire artifacts directory. Do you still think we should not upload the entire artifacts directory?

I think, it is fine to upload the entire artifact directory to GitHub, since in the future we can introduce more tests which might require various configuration of controller manager (e.g. gang-scheduling, leader election, etc.)

That sounds great

@andreyvelich
Copy link
Member

/lgtm
/approve

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich

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 1f44372 into kubeflow:master Mar 6, 2025
14 checks passed
@tenzen-y tenzen-y deleted the use-e2e-dedicated-kustomize branch March 6, 2025 02:22
mahdikhashan pushed a commit to mahdikhashan/trainer that referenced this pull request Mar 16, 2025
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
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.

2 participants