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

[chore] add generate commands to build targets for otelcontribcol and oteltestbedcol #35676

Closed

Conversation

mowies
Copy link
Member

@mowies mowies commented Oct 8, 2024

Description

Link to tracking issue

Fixes #35631

Testing

  • run make otelcontribcol with a clean working directory, it should succeed
  • run make oteltestbedcol with a clean working directory, it should succeed

@mowies mowies requested a review from a team as a code owner October 8, 2024 11:54
Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

@songy23 songy23 added the ci-cd CI, CD, testing, build issues label Oct 8, 2024
@TylerHelmuth
Copy link
Member

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.

Copy link

@sfc-gh-bdrutu sfc-gh-bdrutu left a 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

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

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

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`

Choose a reason for hiding this comment

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

Why this change?

@bogdandrutu
Copy link
Member

Sorry, I fixed all comments in a different PR. If you still need more change feel free to re-open the PR.

@bogdandrutu bogdandrutu closed this Oct 9, 2024
@mowies
Copy link
Member Author

mowies commented Oct 9, 2024

ok 😅

@mowies mowies deleted the missing-make-deps branch October 9, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cd CI, CD, testing, build issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make otelcontribcol is now failing due to no Go files in ./cmd/otelcontribcol
7 participants