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

Convert testdata to an empty go module #1924

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

elezar
Copy link
Contributor

@elezar elezar commented Oct 22, 2024

This ensures that the testdata folder is not included in the top-level module and prevents issues such as unsupported characters in path names.

See also openshift/oc-mirror#669

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 22, 2024
@k8s-ci-robot k8s-ci-robot requested a review from marquiz October 22, 2024 16:28
Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for kubernetes-sigs-nfd ready!

Name Link
🔨 Latest commit 8ada0b0
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-nfd/deploys/6717deebcfda6f000879e36c
😎 Deploy Preview https://deploy-preview-1924--kubernetes-sigs-nfd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 22, 2024
@elezar elezar force-pushed the fix-module-test-data branch from 8eba4f3 to 8abc3cd Compare October 22, 2024 16:30
testdata/go.mod Outdated
@@ -0,0 +1,3 @@
// This empty go.mod file ensures that the testdata folder is not included
// in the top-level module. This prevents issues such as unsupported characters
// in path names.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: new line

Copy link
Contributor

@ArangoGutierrez ArangoGutierrez left a comment

Choose a reason for hiding this comment

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

lgtm up to @marquiz

@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
This ensures that the testdata folder is not included in the top-level module
and prevents issues such as unsupported characters in path names.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
Copy link
Contributor

@marquiz marquiz 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 23, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ArangoGutierrez, elezar, marquiz

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:
  • OWNERS [ArangoGutierrez,marquiz]

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
Copy link
Contributor

LGTM label has been added.

Git tree hash: a2756c78c90ba5dccf4716248615fb3c335adfef

@k8s-ci-robot k8s-ci-robot merged commit b2b5c8b into kubernetes-sigs:master Oct 23, 2024
10 checks passed
@elezar elezar deleted the fix-module-test-data branch October 23, 2024 08:38
@ArangoGutierrez ArangoGutierrez mentioned this pull request Oct 25, 2024
15 tasks
@marquiz marquiz mentioned this pull request Dec 12, 2024
25 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. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants