From 1e75094931d9545e5c9732f19f3c7e20d6e941ee Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Thu, 16 May 2024 18:51:06 -0400 Subject: [PATCH] [chore] Move to latest weaver release. (#1044) --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index de83be7ee..25d122e43 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ CHLOGGEN_CONFIG := .chloggen/config.yaml # see https://github.com/open-telemetry/build-tools/releases for semconvgen updates # Keep links in model/README.md and .vscode/settings.json in sync! SEMCONVGEN_VERSION=0.24.0 -WEAVER_VERSION=latest +WEAVER_VERSION=0.2.0 # TODO: add `yamllint` step to `all` after making sure it works on Mac. .PHONY: all @@ -95,7 +95,7 @@ yamllint: # Generate markdown tables from YAML definitions .PHONY: table-generation table-generation: - docker run --rm -v $(PWD)/model:/source -v $(PWD)/docs:/spec -v $(PWD)/templates:/weaver/templates --pull=always \ + docker run --rm -v $(PWD)/model:/source -v $(PWD)/docs:/spec -v $(PWD)/templates:/weaver/templates \ otel/weaver:${WEAVER_VERSION} registry update-markdown \ --registry=/source \ --attribute-registry-base-url=/docs/attributes-registry \ @@ -106,7 +106,7 @@ table-generation: # Generate attribute registry markdown. .PHONY: attribute-registry-generation attribute-registry-generation: - docker run --rm -v $(PWD)/model:/source -v $(PWD)/docs:/spec -v $(PWD)/templates:/weaver/templates --pull=always \ + docker run --rm -v $(PWD)/model:/source -v $(PWD)/docs:/spec -v $(PWD)/templates:/weaver/templates \ otel/weaver:${WEAVER_VERSION} registry generate \ --registry=/source \ --templates=/weaver/templates \ @@ -117,7 +117,7 @@ attribute-registry-generation: # Check if current markdown tables differ from the ones that would be generated from YAML definitions (weaver). .PHONY: table-check table-check: - docker run --rm -v $(PWD)/model:/source -v $(PWD)/docs:/spec -v $(PWD)/templates:/weaver/templates --pull=always \ + docker run --rm -v $(PWD)/model:/source -v $(PWD)/docs:/spec -v $(PWD)/templates:/weaver/templates \ otel/weaver:${WEAVER_VERSION} registry update-markdown \ --registry=/source \ --attribute-registry-base-url=/docs/attributes-registry \