distros.ymlΒΆ

---
# Distribution SPOT.
#
# Every distribution Infinito.Nexus builds, tests and deploys on is declared
# here exactly once. Consumers read it through utils/distros.py; nothing may
# re-spell a distro list or an image reference locally.
#
# Read by a stdlib block reader on the bare bootstrap python, before PyYAML
# exists. Only plain block mappings and block lists of string scalars are
# supported here. An unquoted scalar must start with a letter, an underscore
# or a slash and must not be a boolean or null word; everything else MUST be
# double-quoted.
#
# images: reference templates rendered by utils/distros.py.
#   {slug}                     comes from this file
#   {owner} {repository} {tag} come from default.env, which stays the SPOT
#                              for registry owner and tags
#
# distros: the id used as INFINITO_DISTRO, carrying
#   slug               path segment inside the image reference
#   family             ansible_facts['os_family'] the distribution reports,
#                      consumed by the meta/packages.yml registry
#   galaxy_platform    platform name Ansible Galaxy knows the distribution by,
#                      used to build the canonical galaxy_info.platforms list
#                      every role's meta/main.yml must carry. The versions
#                      qualifier attached to every such entry is
#                      galaxy_platform_versions below.

images:
  pkgmgr: "ghcr.io/{owner}/pkgmgr-{slug}:{tag}"
  pkgmgr_virgin: "ghcr.io/{owner}/pkgmgr-{slug}-virgin:{tag}"
  environment: "ghcr.io/{owner}/{repository}/{slug}:{tag}"

galaxy_platform_versions:
  - all

distros:
  arch:
    slug: arch
    family: Archlinux
    galaxy_platform: ArchLinux
  debian:
    slug: debian
    family: Debian
    galaxy_platform: Debian
  ubuntu:
    slug: ubuntu
    family: Debian
    galaxy_platform: Ubuntu
  fedora:
    slug: fedora
    family: RedHat
    galaxy_platform: Fedora
  centos:
    slug: centos
    family: RedHat
    galaxy_platform: EL