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

Move config.yaml and update scripting #37

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

oppegard
Copy link
Member

We realized that the presence of the configuration file for the cf-otel-collector binary alongside the code to generate was problematic for regenerating that code. Moving it to the src/otel-collector-builder directory seems more logical, and can still generate, compile, etc. code for the cf-otel-collector in src/otel-collector. This also means that the regenerate script can remove the entire src/otel-collector dir before regenerating, which prevents stale files from sticking around.

Also updates any relevant scripting.

oppegard and others added 2 commits July 25, 2024 17:37
- Moves config.yaml to src/otel-collector-builder rather than keeping it
  in the same folder as the generated code (src/otel-collector).
- Updates scripting to use the new path for config.yaml, and to run the
  builder instead of installing it.

Signed-off-by: Carson Long <[email protected]>
Signed-off-by: Glenn Oppegard <[email protected]>
@oppegard oppegard requested a review from a team as a code owner July 25, 2024 17:49
@ctlong ctlong merged commit 4d18d73 into cloudfoundry:main Jul 25, 2024
7 checks passed
@ctlong ctlong deleted the chore/scripting branch July 25, 2024 20:08
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