[chore] Move to latest weaver release. (#1044)
This commit is contained in:
parent
04bdbba20f
commit
1e75094931
8
Makefile
8
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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue