[chore] Fix update-otel#37706
Conversation
There was a problem hiding this comment.
Please don't see the reason why was done the way was done.
However, make otelcontribcol/make oteltestbedcol will overwrite the updated go.mod unexpectedly before step 2.
This PR removes the unexpected make otelcontribcol/make oteltestbedcol commands.
Without this the go.mod is not available.
|
@bogdandrutu Can we fix the workflow first and then look into this issue? |
Without this I cannot run the |
|
Let me explain one more time: |
I made my point, can move forward if you think this is the right thing
@bogdandrutu Thanks! Updated the PR according to your feedback. cc @mx-psi @codeboten |
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR fixed `make update-otel` to update `builder-config.yaml` correctly. This is the workflow we update `builder-config.yaml` files: 1. `MULTIMOD` command to update `go.mod` 2. `updatehelper` function to update `builder-config.yaml` according to the updated `go.mod` However, `make otelcontribcol/make oteltestbedcol` will overwrite the updated `go.mod` unexpectedly before step 2. This PR removes the unexpected `make otelcontribcol/make oteltestbedcol` commands. cc @mx-psi <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue n/a <!--Describe what testing was performed and which tests were added.--> #### Testing n/a <!--Describe the documentation added.--> #### Documentation n/a <!--Please delete paragraphs that you did not use before submitting.-->
…pd… (#12326) …ate-otel in contrib <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description I was planning to run `update-otel` in contrib repo to test open-telemetry/opentelemetry-collector-contrib#37706 before a new release. And found that it's blocked by the newly added `component/componentattribute` module in #12259 This PR update its version to be latest dev to quickly unblock `update-otel` task. cc @bogdandrutu @codeboten @djaglowski @mx-psi <!-- Issue number if applicable --> #### Link to tracking issue n/a <!--Describe what testing was performed and which tests were added.--> #### Testing n/a <!--Describe the documentation added.--> #### Documentation n/a <!--Please delete paragraphs that you did not use before submitting.-->
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This is a PR to verify the change in #37706: After running `make update-otel`, `builder-config.yaml` files are correctly updated in this PR. Feel free to close this PR if it's too large to review. (I have no permission to run the `update-otel` GitHub action and have to run it manually). cc @bogdandrutu @codeboten @mx-psi @songy23 <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Relevant to #37703 <!--Describe what testing was performed and which tests were added.--> #### Testing n/a <!--Describe the documentation added.--> #### Documentation n/a <!--Please delete paragraphs that you did not use before submitting.--> --------- Signed-off-by: Chao <chao.weng@appdynamics.com> Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This is a PR to verify the change in open-telemetry#37706: After running `make update-otel`, `builder-config.yaml` files are correctly updated in this PR. Feel free to close this PR if it's too large to review. (I have no permission to run the `update-otel` GitHub action and have to run it manually). cc @bogdandrutu @codeboten @mx-psi @songy23 <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Relevant to open-telemetry#37703 <!--Describe what testing was performed and which tests were added.--> #### Testing n/a <!--Describe the documentation added.--> #### Documentation n/a <!--Please delete paragraphs that you did not use before submitting.--> --------- Signed-off-by: Chao <chao.weng@appdynamics.com> Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
Description
This PR fixed
make update-otelto updatebuilder-config.yamlcorrectly. This is the workflow we updatebuilder-config.yamlfiles:MULTIMODcommand to updatego.modupdatehelperfunction to updatebuilder-config.yamlaccording to the updatedgo.modHowever,
make otelcontribcol/make oteltestbedcolwill overwrite the updatedgo.modunexpectedly before step 2.This PR removes the unexpected
make otelcontribcol/make oteltestbedcolcommands.cc @mx-psi
Link to tracking issue
n/a
Testing
n/a
Documentation
n/a