-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove generated code from cmd/otecontribcol
or cmd/otetestbedcol
#27850
Comments
otecontribcol
or otetestbedcol
code before building the artifactscmd/otecontribcol
or cmd/otetestbedcol
**Description:** The linter runs are taking longer and longer as more components and dependencies are added, it's preferable to simply run on each individual component. **Link to tracking Issue:** Related: #27850
**Description:** The linter runs are taking longer and longer as more components and dependencies are added, it's preferable to simply run on each individual component. **Link to tracking Issue:** Related: open-telemetry#27850
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Same idea as #27865, remove generated code from being linted. The linter is taking longer and longer to run as more components and dependencies are added. This change is to remove unnecessary modules from being linted, which will help reduce runtime and resources required. **Link to tracking Issue:** <Issue number if applicable> Related #27850
**Description:** The linter runs are taking longer and longer as more components and dependencies are added, it's preferable to simply run on each individual component. **Link to tracking Issue:** Related: open-telemetry#27850
…ry#27884) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Same idea as open-telemetry#27865, remove generated code from being linted. The linter is taking longer and longer to run as more components and dependencies are added. This change is to remove unnecessary modules from being linted, which will help reduce runtime and resources required. **Link to tracking Issue:** <Issue number if applicable> Related open-telemetry#27850
**Description:** The linter runs are taking longer and longer as more components and dependencies are added, it's preferable to simply run on each individual component. **Link to tracking Issue:** Related: open-telemetry#27850
…ry#27884) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Same idea as open-telemetry#27865, remove generated code from being linted. The linter is taking longer and longer to run as more components and dependencies are added. This change is to remove unnecessary modules from being linted, which will help reduce runtime and resources required. **Link to tracking Issue:** <Issue number if applicable> Related open-telemetry#27850
Add the lifecycle config to metadata.yaml and generate lifecycle tests. Related to #27850
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
I started working on this, draft PR is open but still in progress. @dmitryax what about the test files found in |
@dmitryax any updates on this? |
maybe somebody else from @open-telemetry/collector-contrib-maintainers ? |
or @atoulme since you worked in removing things here as well? |
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> This PR: - removes all of the auto generated files in cmd/otelcontribcol and cmd/oteltestbedcol - left some files in place to support the setup, e.g. Dockerfile, metadata.yaml files, builder-config.yaml files - adds gitignore files in the folders in question to prevent committing of auto-generated files - adds the tools folder to all actions/cache pipeline steps since there were some caching issues that came up during development of this PR - adds make generate commands to place where the auto-generated code files are needed **Link to tracking Issue:** Fixes open-telemetry#27850 Fixes open-telemetry#30884 Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> This PR: - removes all of the auto generated files in cmd/otelcontribcol and cmd/oteltestbedcol - left some files in place to support the setup, e.g. Dockerfile, metadata.yaml files, builder-config.yaml files - adds gitignore files in the folders in question to prevent committing of auto-generated files - adds the tools folder to all actions/cache pipeline steps since there were some caching issues that came up during development of this PR - adds make generate commands to place where the auto-generated code files are needed **Link to tracking Issue:** Fixes open-telemetry#27850 Fixes open-telemetry#30884 Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
Don't need to keep the generated code. We can keep the builder yaml manifests only, and generate the code when it's needed.
cmd/otecontribcol
orcmd/otetestbedcol
modulesThe text was updated successfully, but these errors were encountered: