Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -423,18 +423,17 @@ endef

.PHONY: update-otel
update-otel:$(MULTIMOD)
# Make sure cmd/otelcontribcol/go.mod and cmd/oteltestbedcol/go.mod are present
$(MAKE) genotelcontribcol
$(MAKE) genoteltestbedcol
$(MULTIMOD) sync -s=true -o ../opentelemetry-collector -m stable --commit-hash $(OTEL_STABLE_VERSION)
git add . && git commit -s -m "[chore] multimod update stable modules" ; \
$(MULTIMOD) sync -s=true -o ../opentelemetry-collector -m beta --commit-hash $(OTEL_VERSION)
git add . && git commit -s -m "[chore] multimod update beta modules" ; \
$(MAKE) gotidy
# Ensure the otelcontribcol is generated, update deps, then
$(MAKE) genotelcontribcol
$(call updatehelper,$(CORE_VERSIONS),./cmd/otelcontribcol/go.mod,./cmd/otelcontribcol/builder-config.yaml)
$(MAKE) genotelcontribcol
# Ensure the otelcontribcol is generated.
$(MAKE) genoteltestbedcol
$(call updatehelper,$(CORE_VERSIONS),./cmd/oteltestbedcol/go.mod,./cmd/oteltestbedcol/builder-config.yaml)
$(MAKE) genotelcontribcol
$(MAKE) genoteltestbedcol
$(MAKE) generate
$(MAKE) crosslink
Expand Down