Skip to content

artifact definition example is reversed #54

@barriejc

Description

@barriejc

With artifact definition formatted as shown in Creating an artifact in Infrahub guide, no artifact is created in Infrahub from corresponding repo. Related .j2 template and .gql query from this repo can be found in Infrahub, and render just fine with infrahubctl.

Conversely, the artifact definition in the demo edge repo here works. Between name: and artifact_name: , they are reversed regarding which one is plain text vs. the one that's a slug/human friendly id (no spaces). In other words, for the docs this is shown, and doesn't work:

artifact_definitions:
  - name: "device_configuration"
    artifact_name: "Device configuration file"

vs. the demo edge repo, which works (no spaces in artifact_name):

artifact_definitions:
  - name: "Openconfig Interface for Arista devices"
    artifact_name: "openconfig-interfaces"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions