Skip to content

copy all files in project rather than piece by piece #765

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

kannon92
Copy link
Contributor

@kannon92 kannon92 commented Jan 24, 2025

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

The template for kubebuilder copies files by files. I have seen maintainers/contributors get tripped up
as one has to add these files to the container file to include them.

As I am working on vendoring, I also have to copy the vendor directory to get this to work.

I don't see a reason why we can't just copy the files and build.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Kueue has this: https://github.com/kubernetes-sigs/kueue/blob/main/Dockerfile#L12

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jan 24, 2025
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 24, 2025
Copy link

netlify bot commented Jan 24, 2025

Deploy Preview for kubernetes-sigs-jobset canceled.

Name Link
🔨 Latest commit 4b845ce
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-jobset/deploys/67940ddc0759490008e92fdb

@ahg-g
Copy link
Contributor

ahg-g commented Jan 25, 2025

/lgtm
/approve

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahg-g, kannon92

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 merged commit c5f94e1 into kubernetes-sigs:main Jan 25, 2025
13 checks passed
@kannon92 kannon92 mentioned this pull request Feb 26, 2025
20 tasks
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. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants