Skip to content

earthly/lunar-config-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lunar-config-template

This is your Earthly Lunar configuration repository.

Please refer to the Earthly Lunar documentation to get started.

Here is a quick cheat sheet for local development of collectors and policies:

# Run a collector locally. This outputs the component JSON delta(s).
lunar collector dev readme --verbose --component github.com/example/repo

# Run a policy locally.
echo '{"repo": {"readme_exists": true}}' | lunar policy dev readme --verbose --component-json -

# Run a collector locally, then feed the result into a policy locally.
lunar collector dev readme --verbose --component github.com/example/repo | \
    lunar policy dev readme --verbose --component-json -

# Fetch the component JSON from Lunar Hub.
lunar component get-json github.com/example/repo

# Run a policy locally with the component JSON from Lunar Hub.
lunar policy dev readme --verbose --component github.com/example/repo

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published