LogoLogo
HomeBlogGet a Demo
  • Introduction
  • Install Lunar
  • Learn the basics
  • 📖Docs
    • Key concepts
    • Component JSON
    • Catalog JSON
    • Lunar CLI Reference
  • 📝Configuration
    • lunar-config.yml
      • catalogers
      • catalogers/hooks
      • domains
      • components
      • collectors
      • collectors/hooks
      • policies
    • lunar.yml
  • 🛠️Plugin SDKs
    • Plugins configuration
      • lunar-cataloger.yml
      • lunar-collector.yml
      • lunar-policy.yml
    • Bash SDK
      • Cataloger
      • Collector
    • Python SDK
      • Collector
      • Policy
        • Check
        • Path
        • ComponentData
        • NoDataError
        • Utility Functions
  • ⚙️SQL API
    • Overview
    • Views
      • domains
      • components
      • component_deltas
      • initiatives
      • policies
      • checks
      • prs
      • catalog
Powered by GitBook

©️ Earthly Technologies

On this page
  • version
  • Other Fields
  1. Configuration

lunar.yml

PreviouspoliciesNextPlugins configuration

Last updated 2 months ago

  • lunar.yml

  • Type: YAML file

  • Form:

    version: 0
    
    owner: <email>
    domain: <domain-path>
    branch: <branch-name>
    tags: [<tag>, <tag>, ...]
    ciPipelines: [<ci-pipeline>, <ci-pipeline>, ...]

This page describes the configuration of a component via lunar.yml.

The file lunar.yml is optional and it can be used to define the configuration of a single component. If lunar.yml is not provided, the component configuration can be defined in the Lunar configuration file, . With the exception of the version field, the same fields in lunar-config.yml -> components.<component-name> are used in lunar.yml.

If a component is defined in both lunar.yml and lunar-config.yml, the settings are merged, and the configuration in lunar-config.yml takes precedence when a scalar field (owner, domain, branch) is defined in both places. The arrays (tags, ci-pipelines) are appended to each other.

version

  • lunar.yml -> version

  • Type: numeric

  • Required

The version field is used to specify the version of the component configuration file. The current version is 0.

Other Fields

The other fields in lunar.yml are the same as those in lunar-config.yml -> components.<component-name>. For more information, see the page.

📝
lunar-config.yml
lunar-config.yml components