definition-outside-workspace
teams or environments declared outside workspace.yaml.
Severity: error · Since: v1.0.0
What check reports
Section titled “What check reports”For the failing example below, archidocs check prints:
shop/services.yaml:1:1 error definition-outside-workspace "teams" may only be defined in workspace.yamlTeams and Environments are defined once per Workspace, so prod means the same thing in every Project. A second definition inside a Project could disagree with the first.
Failing example
Section titled “Failing example”shop/services.yaml:
teams: web-team: name: Webworkspace.yaml:
teams: core: name: Coreenvironments: prod: name: ProductionMove the definitions into workspace.yaml at the Workspace root.
workspace.yaml:
teams: core: name: Core web-team: name: Webenvironments: prod: name: Productionshop/services.yaml: removed.
Related rules
Section titled “Related rules”unknown-team: Anowner, or a Saved View’s{team}selector or Team Lens, names no Team.unknown-environment: A Deployment, or a Saved Deployment View, names no Environment.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.