-
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
[chore] add generate commands to build targets for otelcontribcol and oteltestbedcol #35676
[chore] add generate commands to build targets for otelcontribcol and oteltestbedcol #35676
Conversation
… oteltestbedcol Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Downside to removing the code from the repo is that these make targets will take longer now. I agree with this as a solution for now tho. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found lots of things to change, I fired #35707
@@ -283,7 +283,7 @@ ifndef COMPONENT | |||
endif | |||
|
|||
.PHONY: docker-otelcontribcol | |||
docker-otelcontribcol: | |||
docker-otelcontribcol: genotelcontribcol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed here.
@@ -294,7 +294,7 @@ docker-telemetrygen: | |||
rm cmd/telemetrygen/telemetrygen_* | |||
|
|||
.PHONY: generate | |||
generate: install-tools | |||
generate: install-tools genotelcontribcol genoteltestbedcol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why here?
@@ -337,7 +337,7 @@ genotelcontribcol: $(BUILDER) | |||
|
|||
# Build the Collector executable. | |||
.PHONY: otelcontribcol | |||
otelcontribcol: | |||
otelcontribcol: genotelcontribcol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lite version need this as well.
* `make genotelcontribcol` | ||
* `make genoteltestbedcol` | ||
* `make gotidy` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
Sorry, I fixed all comments in a different PR. If you still need more change feel free to re-open the PR. |
ok 😅 |
Description
Link to tracking issue
Fixes #35631
Testing
make otelcontribcol
with a clean working directory, it should succeedmake oteltestbedcol
with a clean working directory, it should succeed