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

[kjobctl] Move SBATCH_ variables to entrypoint script. #3280

Conversation

mbobrovskyi
Copy link
Contributor

@mbobrovskyi mbobrovskyi commented Oct 22, 2024

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Move SBATCH_ variables to entrypoint script in kjobctl Slurm mode.

Which issue(s) this PR fixes:

Prepare #3269.

Special notes for your reviewer:

Sbatch variables are not using in init-entrypoint.sh, so there's no need to generate them in the init script.

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Oct 22, 2024
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 22, 2024
Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit 60d666c
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/6717aa203f136f00089e071e

@mbobrovskyi
Copy link
Contributor Author

/cc @trasc

@mbobrovskyi mbobrovskyi force-pushed the cleanup/move-sbatch-variables-to-entrypoint-script branch from a3ef17f to 99e18dc Compare October 22, 2024 12:13
@mbobrovskyi mbobrovskyi force-pushed the cleanup/move-sbatch-variables-to-entrypoint-script branch from 99e18dc to 3c80a8d Compare October 22, 2024 13:11
@mbobrovskyi mbobrovskyi changed the title [kjobctl] Move SBATCH_ variables to entrypoint script. [kjobctl] Remove SBATCH_ variables to entrypoint script. Oct 22, 2024
@mbobrovskyi mbobrovskyi changed the title [kjobctl] Remove SBATCH_ variables to entrypoint script. [kjobctl] Remove SBATCH_ variables on init entrypoint script. Oct 22, 2024
@mbobrovskyi mbobrovskyi force-pushed the cleanup/move-sbatch-variables-to-entrypoint-script branch from 3c80a8d to 60d666c Compare October 22, 2024 13:35
@mbobrovskyi mbobrovskyi changed the title [kjobctl] Remove SBATCH_ variables on init entrypoint script. [kjobctl] Move SBATCH_ variables to entrypoint script. Oct 22, 2024
Copy link
Contributor

@trasc trasc left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 22, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: fed2f38e3640265b07e75140d44f83617baf948e

@mimowo
Copy link
Contributor

mimowo commented Oct 22, 2024

/approve
I like PRs which remove code :)

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mbobrovskyi, mimowo

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 22, 2024
@k8s-ci-robot k8s-ci-robot merged commit 3080d0b into kubernetes-sigs:main Oct 22, 2024
7 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.9 milestone Oct 22, 2024
@mbobrovskyi mbobrovskyi deleted the cleanup/move-sbatch-variables-to-entrypoint-script branch October 22, 2024 14:22
PBundyra pushed a commit to PBundyra/kueue that referenced this pull request Nov 5, 2024
kannon92 pushed a commit to openshift-kannon92/kubernetes-sigs-kueue that referenced this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants