Skip to content

xo artifact #54

@coryodaniel

Description

@coryodaniel

A few commands for artifacts:

  • xo artifact build path-to-artifact.json -o dereferenced-artifact-path.json
  • xo artifact lint path-to-artifact.json # should deref first
  • xo artifact publish path-to-artifact.json # should deref and lint before publishing

Lint rules:

  • Valid JSON Schema v7
  • 'data' and 'specs' must be the only two top-level properties, both must be object type
  • 'data' and 'specs' must both be required
  • No anyOf at top-level of an artifact, an artifact must be a concrete type, no union types.
  • specs should be a map of maps. The key will be the 'spec type' (aws, rdbms, gcp, etc) and the value with be a map of the values for that type of spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions