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

Add LICENSES folder #2253

Closed
wants to merge 6 commits into from
Closed

Add LICENSES folder #2253

wants to merge 6 commits into from

Conversation

damemi
Copy link
Contributor

@damemi damemi commented Jan 16, 2025

This uses https://github.com/google/go-licenses to generate a LICENSES folder based on our dependencies for each distributable component (autoscaler, collector, instrumentor, odiglet, scheduler, ui). This folder is required to be in container images for Red Hat certification.

It's annoying to have to copy a LICENSE file to each module, but I couldn't find a better way to share them. We could do symlinks or something but I don't think it's that big of a deal.

For the collector, right now the LICENSES folder has to be generated on its own because of an ambiguous import upstream that breaks the generator. I think this will be resolved in the next upstream otel collector release. But again, not that big of a deal.

Copy link

@damemi damemi marked this pull request as ready for review January 23, 2025 14:49
@damemi damemi force-pushed the licenses-folder branch 4 times, most recently from eaa2513 to 1ff94fc Compare January 23, 2025 15:12
@damemi
Copy link
Contributor Author

damemi commented Jan 23, 2025

Committing these adds about 10MB to the repo -- going to generate them in the red hat image build stage instead #2252

@damemi damemi closed this Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants