Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/open-telemetry/build-tools/schemas

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/open-telemetry/build-tools/schemas

  • v0.0.0-20241105103435-2fd16927e900
  • Source
  • Go
  • Socket score

Version published
Created
Source

Schema File Tool

A lightweight schema tool Docker image, published as otel/build-tool-schemas to Docker Hub.

Usage

Command line options: --file path to the schema file to check --version expected schema version number. Optional. If provided the schema version is checked inside the file.

To check that a file is a valid Schema file do this:

docker run --rm -v<some-path>:<some-path> -w<some-path> otel/build-tool-schemas [OPTION] --file=<some-path>/<schemafilepath> [other options]

For help try:

docker run --rm otel/build-tool-schemas --help

Contributing

To build the Docker image locally run:

docker build schemas/. -t build-tool-schemas

To run the Docker image locally and check schema file version 1.9.0 do this:

docker run -v=/your-path-to-spec-repo/opentelemetry-specification/schemas/:/schemas build-tool-schemas --file /schemas/1.9.0 --version=1.9.0

FAQs

Package last updated on 05 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc