Skip to content

About

Example candies the OpenCharly docs import: one concern per candy, written to be read.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

layer-example

The example candies the OpenCharly documentation imports.

GRIEVANCES.md builds one project step by step, and every candy it uses comes from this repository, so the candies it names are real, released ones rather than illustrations.

What it provides

Candy Packages Service, file, user
search-tools ripgrep, jq none
python-gobject the GObject bindings for the system Python, named per distribution family none
agent-tools podman, qemu-base, libvirt (Arch family) none
hello-web the system Python two files under /srv/hello, served by the hello-web service on port 8080

How to use it

hello-web runs a service, so a container needs its init. Until opencharly/charly#764 makes charly fetch that init by itself, a box composing hello-web also composes @github.com/opencharly/layer-supervisord.

Import the repository and require the candy:

import:
    layer-example:
        repo: opencharly/layer-example
        release: <a release of this repository>
        digest: <its digest>

my-box:
    description: A CachyOS box with the example search tools.
    from: distro-cachyos.cachyos
    require:
        - layer-example.search-tools

Layout

  • charly.yml: the four candies (search-tools, python-gobject, agent-tools and hello-web), each with the checks that show it works.
  • .github/workflows/tag-on-merge.yml: the CalVer tag and CHANGELOG/ on merge.
  • README.md: this overview.

Related

About

Example candies the OpenCharly docs import: one concern per candy, written to be read.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors