From a3e92d4d07367e0bffd077cb0806d21cebe24b14 Mon Sep 17 00:00:00 2001 From: <> Date: Fri, 14 Apr 2023 01:02:27 +0000 Subject: [PATCH] Deployed a73156e with MkDocs version: 1.4.2 --- 404.html | 2 +- documentation/compose/index.html | 14 +++--- documentation/compose/koji/index.html | 2 +- documentation/empanadas/index.html | 13 +++++- documentation/index.html | 2 +- documentation/peridot/index.html | 2 +- documentation/rebuild/index.html | 2 +- .../references/empanadas_common/index.html | 2 +- .../references/empanadas_config/index.html | 2 +- .../empanadas_sig_config/index.html | 2 +- documentation/references/index.html | 2 +- include/resources_bottom/index.html | 2 +- index.html | 2 +- members/index.html | 2 +- search/search_index.json | 2 +- sitemap.xml | 42 +++++++++--------- sitemap.xml.gz | Bin 385 -> 385 bytes sop/index.html | 2 +- sop/sop_compose/index.html | 2 +- sop/sop_compose_8/index.html | 2 +- sop/sop_compose_sig/index.html | 2 +- sop/sop_mirrormanager2/index.html | 2 +- sop/sop_release/index.html | 2 +- sop/sop_upstream_prep_checklist/index.html | 2 +- what_we_do/index.html | 2 +- 25 files changed, 61 insertions(+), 50 deletions(-) diff --git a/404.html b/404.html index 7fe9777..b22efcc 100644 --- a/404.html +++ b/404.html @@ -345,7 +345,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/documentation/compose/index.html b/documentation/compose/index.html index dcf5daa..155b99d 100644 --- a/documentation/compose/index.html +++ b/documentation/compose/index.html @@ -23,7 +23,7 @@ - Composing Releases - SIG/Core Wiki + Composing and Managing Releases - SIG/Core Wiki @@ -104,7 +104,7 @@
    - Composing Releases + Composing and Managing Releases
    @@ -362,7 +362,7 @@ - Composing Releases + Composing and Managing Releases @@ -666,16 +666,18 @@ -

    Composing Releases

    +

    Composing and Managing Releases

    -

    This section goes over the process of composing a release.

    +

    This section goes over the process of composing a release from a bunch of +packages to repositories, to images. This section also goes over the basics of +working with koji when necessary.


    Last update: - 2022-10-21 + 2023-04-13
    diff --git a/documentation/compose/koji/index.html b/documentation/compose/koji/index.html index 1c52679..fcc3199 100644 --- a/documentation/compose/koji/index.html +++ b/documentation/compose/koji/index.html @@ -355,7 +355,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/documentation/empanadas/index.html b/documentation/empanadas/index.html index cf5c90d..61c0c57 100644 --- a/documentation/empanadas/index.html +++ b/documentation/empanadas/index.html @@ -358,7 +358,7 @@
  • - Composing Releases + Composing and Managing Releases
  • @@ -831,6 +831,15 @@ come from upstream. Below lists how to use empanadas, as well as th options.

    Note that for each of these commands, it is fully expected you are running poetry run in the root of empanadas.

    +
    # Syncs all repositoryes for the "9" release
    +% poetry run sync_from_peridot --release 9 --clean-old-packages
    +
    +# Syncs only the BaseOS repository without syncing sources
    +% poetry run sync_from_peridot --release 9 --clean-old-packages --repo BaseOS --ignore-source
    +
    +# Syncs only AppStream for ppc64le
    +% poetry run sync_from_peridot --release 9 --clean-old-packages --repo AppStream --arch ppc64le
    +

    Resources

    @@ -929,7 +938,7 @@ options.

    Last update: - 2022-10-20 + 2023-04-13
    diff --git a/documentation/index.html b/documentation/index.html index c8a2ec8..ba45192 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -409,7 +409,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/documentation/peridot/index.html b/documentation/peridot/index.html index 0c3de1f..78d7080 100644 --- a/documentation/peridot/index.html +++ b/documentation/peridot/index.html @@ -353,7 +353,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/documentation/rebuild/index.html b/documentation/rebuild/index.html index 5bb27e4..8da5f48 100644 --- a/documentation/rebuild/index.html +++ b/documentation/rebuild/index.html @@ -353,7 +353,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/documentation/references/empanadas_common/index.html b/documentation/references/empanadas_common/index.html index aa9add8..1c5657f 100644 --- a/documentation/references/empanadas_common/index.html +++ b/documentation/references/empanadas_common/index.html @@ -358,7 +358,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/documentation/references/empanadas_config/index.html b/documentation/references/empanadas_config/index.html index 8c1dcfb..190c080 100644 --- a/documentation/references/empanadas_config/index.html +++ b/documentation/references/empanadas_config/index.html @@ -358,7 +358,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/documentation/references/empanadas_sig_config/index.html b/documentation/references/empanadas_sig_config/index.html index a3931b0..d8835f1 100644 --- a/documentation/references/empanadas_sig_config/index.html +++ b/documentation/references/empanadas_sig_config/index.html @@ -358,7 +358,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/documentation/references/index.html b/documentation/references/index.html index 61c78ed..3f59a6b 100644 --- a/documentation/references/index.html +++ b/documentation/references/index.html @@ -353,7 +353,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/include/resources_bottom/index.html b/include/resources_bottom/index.html index ff3ff03..839911e 100644 --- a/include/resources_bottom/index.html +++ b/include/resources_bottom/index.html @@ -351,7 +351,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/index.html b/index.html index 69e0021..489d3d4 100644 --- a/index.html +++ b/index.html @@ -423,7 +423,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/members/index.html b/members/index.html index e9e50a8..4684043 100644 --- a/members/index.html +++ b/members/index.html @@ -359,7 +359,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/search/search_index.json b/search/search_index.json index 8c1b5ec..8bfdb4d 100644 --- a/search/search_index.json +++ b/search/search_index.json @@ -1 +1 @@ -{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"SIG/Core Wiki","text":""},{"location":"#about","title":"About","text":"

    The Rocky Linux Core Special Interest Group (SIG/Core) dedicates themselves to the development, building, management, production, and release of Rocky Linux for the Enterprise Linux community and the many users around the world. This group is a mixture of core Rocky Linux developers and infrastructure and the members of this group are also members of other groups within the Rocky Linux community (such as SIG/AltArch) as well as the Enterprise Linux community as a whole.

    "},{"location":"#mission","title":"Mission","text":"

    SIG/Core strives to ensure a stable distribution is developed, built, tested, and provided to the community from the RESF as a compatible derivative of Red Hat Enterprise Linux. To achieve this goal, some of the things we do are:

    See the What We Do page for a more detailed explanation of our activities.

    "},{"location":"#getting-in-touch-contributing","title":"Getting In Touch / Contributing","text":"

    There are various ways to get in touch with SIG/Core and provide help, assistance, or even just ideas that can benefit us or the entire community.

    For a list of our members, see the Members page.

    "},{"location":"#resources-and-rocky-linux-policies","title":"Resources and Rocky Linux Policies","text":""},{"location":"#general-packaging-resources","title":"General Packaging Resources","text":""},{"location":"members/","title":"Members","text":"

    SIG/Core is a mix of Release Engineering and Infrastructure members to ensure a high quality release of Rocky Linux as well as the uptime of the services provided to the community. The current members of this group are listed in the table below.

    Role Name Email Mattermost Name IRC Name Identity Management & Release Engineering Co-Lead Louis Abel label@rockylinux.org @nazunalika Sokel/label/Sombra Release Engineering Co-Lead Mustafa Gezen mustafa@rockylinux.org @mustafa mstg Release Engineering and Development Skip Grube skip@rockylinux.org @skip77 Release Engineering and Development Sherif Nagy sherif@rockylinux.org @sherif Release Engineering and Development Pablo Greco pgreco@rockylinux.org @pgreco pgreco Infrastructure Lead Neil Hanlon neil@resf.org @neil neil Infrastructure Lead Taylor Goodwill tg@resf.org @tgo tg"},{"location":"what_we_do/","title":"What We Do","text":"

    SIG/Core (or Release Engineering) was brought together as a combination of varying expertise (development and infrastructure) to try to fill in gaps of knowledge but to also to ensure the primary goal of having a stable release of Rocky Linux is reached.

    Some of the things we do in pursuit of our mission goals:

    "},{"location":"documentation/","title":"Release General Overview","text":"

    This section goes over at a high level how we compose releases for Rocky Linux. As most of our tools are home grown, we have made sure that the tools are open source and in our git services.

    This page should serve as an idea of the steps we generally take and we hope that other projects out there who wish to also use our tools can make sure they can use them in this same way, whether they want to be an Enterprise Linux derivative or another project entirely.

    "},{"location":"documentation/#build-system-and-tools","title":"Build System and Tools","text":"

    The tools in use for the distribution are in the table below.

    Tool Maintainer Code Location srpmproc SIG/Core at RESF GitHub empanadas SIG/Core at RESF sig-core-toolkit Peridot SIG/Core at RESF GitHub MirrorManager 2 Fedora Project MirrorManager2

    For Rocky Linux to be build, we use Peridot as the build system and empanadas to \"compose\" the distribution. As we do not use Koji for Rocky Linux beyond version 9, pungi can no longer be used. Peridot instead takes pungi configuration data and comps and transforms them into a format it can understand. Empanadas then comes in to do the \"compose\" and sync all the repositories down.

    "},{"location":"documentation/#full-compose-major-or-minor-releases","title":"Full Compose (major or minor releases)","text":"

    Step by step, it looks like this:

    "},{"location":"documentation/#general-updates","title":"General Updates","text":"

    Step by step, it looks like this:

    "},{"location":"documentation/empanadas/","title":"Empanadas","text":"

    This page goes over empanadas, which is part of the SIG/Core toolkit. Empanadas assists SIG/Core is composing repositories, creating ISO's, creating images, and various other activities in Rocky Linux. It is also used for general testing and debugging of repositories and its metadata.

    "},{"location":"documentation/empanadas/#contact-information","title":"Contact Information","text":"Owner SIG/Core (Release Engineering & Infrastructure) Email Contact releng@rockylinux.org Mattermost Contacts @label @neil Mattermost Channels ~Development"},{"location":"documentation/empanadas/#general-information","title":"General Information","text":"

    empanadas is a python project using poetry, containing various built-in modules with the goal to try to emulate the Fedora Project's pungi to an extent. While it is not perfect, it achieves the very basic goals of creating repositories, images and ISO's for consumption by the end user. It also has interactions with peridot, the build system used by the RESF to build the Rocky Linux distribution.

    For performing syncs, it relies on the use of podman to perform syncing in a parallel fashion. This was done because it is not possible to run multiple dnf transactions at once on a single system and looping one repository at a time is not sustainable (nor fast).

    "},{"location":"documentation/empanadas/#requirements","title":"Requirements","text":""},{"location":"documentation/empanadas/#features","title":"Features","text":"

    As of this writing, empanadas has the following abilities:

    "},{"location":"documentation/empanadas/#installing-empanadas","title":"Installing Empanadas","text":"

    The below is how to install empanadas from the development branch on a Fedora system.

    % dnf install git podman fpart poetry mock -y\n% git clone https://git.resf.org/sig_core/toolkit.git -b devel\n% cd toolkit/iso/empanadas\n% poetry install\n
    "},{"location":"documentation/empanadas/#configuring-empanadas","title":"Configuring Empanadas","text":"

    Depending on how you are using empanadas will depend on how your configurations will be setup.

    These configuration files are delicate and can control a wide variety of the moving parts of empanadas. As these configurations are fairly massive, we recommend checking the reference guides for deeper details into configuring for base distribution or \"SIG\" content.

    "},{"location":"documentation/empanadas/#using-empanadas","title":"Using Empanadas","text":"

    The most common way to use empanadas is to sync repositories from a peridot instance. This is performed upon each release or on each set of updates as they come from upstream. Below lists how to use empanadas, as well as the common options.

    Note that for each of these commands, it is fully expected you are running poetry run in the root of empanadas.

    Resources Account ServicesGit (RESF Git Service)Git (Rocky Linux GitHub)Git (Rocky Linux GitLab)Mail ListsContacts

    URL: https://accounts.rockylinux.org

    Purpose: Account Services maintains the accounts for almost all components of the Rocky ecosystem

    Technology: Noggin used by Fedora Infrastructure

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    URL: https://git.resf.org

    Purpose: General projects, code, and so on for the Rocky Enterprise Software Foundation.

    Technology: Gitea

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://github.com/rocky-linux

    Purpose: General purpose code, assets, and so on for Rocky Linux. Some content is mirrored to the RESF Git Service.

    Technology: GitHub

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://git.rockylinux.org

    Purpose: Packages and light code for the Rocky Linux distribution

    Technology: GitLab

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://lists.resf.org

    Purpose: Users can subscribe and interact with various mail lists for the Rocky ecosystem

    Technology: Mailman 3 + Hyper Kitty

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    Name Email Mattermost Name IRC Name Louis Abel label@rockylinux.org @nazunalika Sokel/label/Sombra Mustafa Gezen mustafa@rockylinux.org @mustafa mstg Skip Grube skip@rockylinux.org @skip77 Sherif Nagy sherif@rockylinux.org @sherif Pablo Greco pgreco@rockylinux.org @pgreco pgreco Neil Hanlon neil@resf.org @neil neil Taylor Goodwill tg@resf.org @tgo tg"},{"location":"documentation/peridot/","title":"Peridot Build System","text":"

    This page goes over the Peridot Build System and how SIG/Core utilizes it.

    More to come.

    "},{"location":"documentation/rebuild/","title":"Rebuild Version Bump","text":"

    In some cases, a package has to be rebuilt. A package may be rebuilt for these reasons:

    This typically applies to packages being built from a given src subgroup. Packages pulled from upstream don't fall into this category in normal circumstances. In those cases, they receive .0.1 and so on as standalone rebuilds.

    "},{"location":"documentation/compose/","title":"Composing Releases","text":"

    This section goes over the process of composing a release.

    "},{"location":"documentation/compose/koji/","title":"Updates and Management in Koji, A Manual","text":"

    More to come.

    "},{"location":"documentation/references/","title":"References","text":"

    Use this section to locate reference configuration items for the toolkit.

    "},{"location":"documentation/references/empanadas_common/","title":"Empanadas common.py Configuration","text":"

    The common.py configuration contains dictionaries and classes that dictate most of the functionality of empanadas.

    "},{"location":"documentation/references/empanadas_common/#config-items","title":"Config Items","text":"

    type: Dictionary

    "},{"location":"documentation/references/empanadas_common/#configrlmacro","title":"config.rlmacro","text":"

    type: String

    required: True

    description: Empanadas expects to run on an EL system. This is part of the general check up. It should not be hardcoded and use the rpm python module.

    "},{"location":"documentation/references/empanadas_common/#configdist","title":"config.dist","text":"

    type: String

    required: False

    description: Was the original tag placed in mock configs. This combines el with the rpm python module expansion. This is no longer required. The option is still available for future use.

    "},{"location":"documentation/references/empanadas_common/#configarch","title":"config.arch","text":"

    type: String

    required: True

    description: The architecture of the current running system. This is checked against the supported architectures in general release configurations. This should not be hardcoded.

    "},{"location":"documentation/references/empanadas_common/#configdate_stamp","title":"config.date_stamp","text":"

    type: String

    required: True

    description: Date time stamp in the form of YYYYMMDD.HHMMSS. This should not be hardcoded.

    "},{"location":"documentation/references/empanadas_common/#configcompose_root","title":"config.compose_root","text":"

    type: String

    required: True

    description: Root path of composes on the system running empanadas.

    "},{"location":"documentation/references/empanadas_common/#configstaging_root","title":"config.staging_root","text":"

    type: String

    required: False

    description: For future use. Root path of staging repository location where content will be synced to.

    "},{"location":"documentation/references/empanadas_common/#configproduction_root","title":"config.production_root","text":"

    type: String

    required: False

    description: For future use. Root path of production repository location where content will be synced to from staging.

    "},{"location":"documentation/references/empanadas_common/#configcategory_stub","title":"config.category_stub","text":"

    type: String

    required: True

    description: For future use. Stub path that is appended to staging_root and production_root.

    example: mirror/pub/rocky

    "},{"location":"documentation/references/empanadas_common/#configsig_category_stub","title":"config.sig_category_stub","text":"

    type: String

    required: True

    description: For future use. Stub path that is appended to staging_root and production_root for SIG content.

    example: mirror/pub/sig

    "},{"location":"documentation/references/empanadas_common/#configrepo_base_url","title":"config.repo_base_url","text":"

    type: String

    required: True

    description: URL to the base url's where the repositories live. This is typically to a peridot instance. This is supplemented by the configuration project_id parameter.

    Note that this does not have to be a peridot instance. The combination of this value and project_id can be sufficient enough for empanadas to perform its work.

    "},{"location":"documentation/references/empanadas_common/#configmock_work_root","title":"config.mock_work_root","text":"

    type: String

    required: True

    description: Hardcoded path to where ISO work is performed within a mock chroot. This is the default path created by mock and it is recommended not to change this.

    example: /builddir

    "},{"location":"documentation/references/empanadas_common/#configcontainer","title":"config.container","text":"

    type: String

    required: True

    description: This is the container used to perform all operations in podman.

    example: centos:stream9

    "},{"location":"documentation/references/empanadas_common/#configdistname","title":"config.distname","text":"

    type: String

    required: True

    description: Name of the distribution you are building or building for.

    example: Rocky Linux

    "},{"location":"documentation/references/empanadas_common/#configshortname","title":"config.shortname","text":"

    type: String

    required: True

    description: Short name of the distribution you are building or building for.

    example: Rocky

    "},{"location":"documentation/references/empanadas_common/#configtranslators","title":"config.translators","text":"

    type: Dictionary

    required: True

    description: Translates Linux architectures to golang architectures. Reserved for future use.

    "},{"location":"documentation/references/empanadas_common/#configaws_region","title":"config.aws_region","text":"

    type: String

    required: False

    description: Region you are working in with AWS or onprem cloud that supports this variable.

    example: us-east-2

    "},{"location":"documentation/references/empanadas_common/#configbucket","title":"config.bucket","text":"

    type: String

    required: False

    description: Name of the S3-compatible bucket that is used to pull images from. Requires aws_region.

    "},{"location":"documentation/references/empanadas_common/#configbucket_url","title":"config.bucket_url","text":"

    type: String

    required: False

    description: URL of the S3-compatible bucket that is used to pull images from.

    "},{"location":"documentation/references/empanadas_common/#allowed_type_variants-items","title":"allowed_type_variants items","text":"

    type: Dictionary

    description: Key value pairs of cloud or image variants. The value is either None or a list type.

    "},{"location":"documentation/references/empanadas_common/#reference-example","title":"Reference Example","text":"
    config = {\n    \"rlmacro\": rpm.expandMacro('%rhel'),\n    \"dist\": 'el' + rpm.expandMacro('%rhel'),\n    \"arch\": platform.machine(),\n    \"date_stamp\": time.strftime(\"%Y%m%d.%H%M%S\", time.localtime()),\n    \"compose_root\": \"/mnt/compose\",\n    \"staging_root\": \"/mnt/repos-staging\",\n    \"production_root\": \"/mnt/repos-production\",\n    \"category_stub\": \"mirror/pub/rocky\",\n    \"sig_category_stub\": \"mirror/pub/sig\",\n    \"repo_base_url\": \"https://yumrepofs.build.resf.org/v1/projects\",\n    \"mock_work_root\": \"/builddir\",\n    \"container\": \"centos:stream9\",\n    \"distname\": \"Rocky Linux\",\n    \"shortname\": \"Rocky\",\n    \"translators\": {\n        \"x86_64\": \"amd64\",\n        \"aarch64\": \"arm64\",\n        \"ppc64le\": \"ppc64le\",\n        \"s390x\": \"s390x\",\n        \"i686\": \"386\"\n    },\n    \"aws_region\": \"us-east-2\",\n    \"bucket\": \"resf-empanadas\",\n    \"bucket_url\": \"https://resf-empanadas.s3.us-east-2.amazonaws.com\"\n}\n\nALLOWED_TYPE_VARIANTS = {\n        \"Azure\": None,\n        \"Container\": [\"Base\", \"Minimal\", \"UBI\"],\n        \"EC2\": None,\n        \"GenericCloud\": None,\n        \"Vagrant\": [\"Libvirt\", \"Vbox\"],\n        \"OCP\": None\n\n}\n
    "},{"location":"documentation/references/empanadas_config/","title":"Empanadas config yaml Configuration","text":"

    Each file in empanads/config/ is a yaml file that contains configuration items for the distribution release version. The configuration can heavily dictate the functionality and what features are directly supported by empanadas when ran.

    See the items below to see which options are mandatory and optional.

    "},{"location":"documentation/references/empanadas_config/#config-items","title":"Config Items","text":""},{"location":"documentation/references/empanadas_config/#top-level","title":"Top Level","text":"

    The Top Level is the name of the profile and starts the YAML dictionary for the release. It is alphanumeric and accepts punctuation within reason. Common examples:

    "},{"location":"documentation/references/empanadas_config/#fullname","title":"fullname","text":"

    type: String

    required: True

    description: Needed for treeinfo and discinfo generation.

    "},{"location":"documentation/references/empanadas_config/#revision","title":"revision","text":"

    type: String

    required: True

    description: Full version of a release

    "},{"location":"documentation/references/empanadas_config/#rclvl","title":"rclvl","text":"

    type: String

    required: True

    description: Release Candidate or Beta descriptor. Sets names and versions with this descriptor if enabled.

    "},{"location":"documentation/references/empanadas_config/#major","title":"major","text":"

    type: String

    required: True

    description: Major version of a release

    "},{"location":"documentation/references/empanadas_config/#minor","title":"minor","text":"

    type: String

    required: True

    description: Minor version of a release

    "},{"location":"documentation/references/empanadas_config/#profile","title":"profile","text":"

    type: String

    required: True

    description: Matches the top level of the release. This should not differ from the top level assignment.

    "},{"location":"documentation/references/empanadas_config/#disttag","title":"disttag","text":"

    type: String

    required: True

    description: Sets the dist tag for mock configs.

    "},{"location":"documentation/references/empanadas_config/#bugurl","title":"bugurl","text":"

    type: String

    required: True

    description: A URL to the bug tracker for this release or distribution.

    "},{"location":"documentation/references/empanadas_config/#checksum","title":"checksum","text":"

    type: String

    required: True

    description: Checksum type. Used when generating checksum information for images.

    "},{"location":"documentation/references/empanadas_config/#fedora_major","title":"fedora_major","text":"

    type: String

    required: False

    description: For future use with icicle.

    "},{"location":"documentation/references/empanadas_config/#allowed_arches","title":"allowed_arches","text":"

    type: list

    required: True

    description: List of supported architectures for this release.

    "},{"location":"documentation/references/empanadas_config/#provide_multilib","title":"provide_multilib","text":"

    type: boolean

    required: True

    description: Sets if architecture x86_64 will be multilib. It is recommended that this is set to True.

    "},{"location":"documentation/references/empanadas_config/#project_id","title":"project_id","text":"

    type: String

    required: True

    description: Appended to the base repo URL in common.py. For peridot, it is the project id that is generated for the project you are pulling from. It can be set to anything else if need be for non-peridot use.

    "},{"location":"documentation/references/empanadas_config/#repo_symlinks","title":"repo_symlinks","text":"

    type: dict

    required: False

    description: For future use. Sets symlinks to repositories for backwards compatibility. Key value pairs only.

    "},{"location":"documentation/references/empanadas_config/#renames","title":"renames","text":"

    type: dict

    required: False

    description: Renames a repository to the value set. For example, renaming all to devel. Set to {} if no renames are goign to occur.

    "},{"location":"documentation/references/empanadas_config/#all_repos","title":"all_repos","text":"

    type: list

    required: True

    description: List of repositories that will be synced/managed by empanadas.

    "},{"location":"documentation/references/empanadas_config/#structure","title":"structure","text":"

    type: dict

    required: True

    description: Key value pairs of packages and repodata. These are appended appropriately during syncing and ISO actions. Setting these are mandatory.

    "},{"location":"documentation/references/empanadas_config/#iso_map","title":"iso_map","text":"

    type: dictionary

    required: True if building ISO's and operating with lorax.

    description: Controls how lorax and extra ISO's are built.

    If are you not building images, set to {}

    "},{"location":"documentation/references/empanadas_config/#xorrisofs","title":"xorrisofs","text":"

    type: boolean

    required: True

    description: Dictates of xorrisofs is used to build images. Setting to false uses genisoimage. It is recommended that xorrisofs is used.

    "},{"location":"documentation/references/empanadas_config/#iso_level","title":"iso_level","text":"

    type: boolean

    required: True

    description: Set to false if you are using xorrisofs. Can be set to true when using genisoimage.

    "},{"location":"documentation/references/empanadas_config/#images","title":"images","text":"

    type: dict

    required: True

    description: Dictates the ISO images that will be made or the treeinfo that will be generated.

    Note: The primary repository (for example, BaseOS) will need to be listed to ensure the treeinfo data is correctly generated. disc should be set to False and isoskip should be set to True. See the example section for an example.

    "},{"location":"documentation/references/empanadas_config/#namedisc","title":"name.disc","text":"

    type: boolean

    required: True

    description: This tells the iso builder if this will be a generated ISO.

    "},{"location":"documentation/references/empanadas_config/#nameisoskip","title":"name.isoskip","text":"

    type: boolean

    required: False

    description: This tells the iso builder if this will be skipped, even if disc is set to True. Default is False.

    "},{"location":"documentation/references/empanadas_config/#namevariant","title":"name.variant","text":"

    type: string

    required: True

    description: Names the primary variant repository for the image. This is set in .treeinfo.

    "},{"location":"documentation/references/empanadas_config/#namerepos","title":"name.repos","text":"

    type: list

    required: True

    description: Names of the repositories included in the image. This is added to .treeinfo.

    "},{"location":"documentation/references/empanadas_config/#namevolname","title":"name.volname","text":"

    type: string

    required: True

    required value: dvd

    description: This is required if building more than the DVD image. By default, the the name dvd is harcoded in the buildImage template.

    "},{"location":"documentation/references/empanadas_config/#lorax","title":"lorax","text":"

    type: dict

    required: True if building lorax images.

    description: Sets up lorax images and which repositories to use when building lorax images.

    "},{"location":"documentation/references/empanadas_config/#loraxrepos","title":"lorax.repos","text":"

    type: list

    required: True

    description: List of repos that are used to pull packages to build the lorax images.

    "},{"location":"documentation/references/empanadas_config/#loraxvariant","title":"lorax.variant","text":"

    type: string

    required: True

    description: Base repository for the release

    "},{"location":"documentation/references/empanadas_config/#loraxlorax_removes","title":"lorax.lorax_removes","text":"

    type: list

    required: False

    description: Excludes packages that are not needed when lorax is running.

    "},{"location":"documentation/references/empanadas_config/#loraxrequired_pkgs","title":"lorax.required_pkgs","text":"

    type: list

    required: True

    description: Required list of installed packages needed to build lorax images.

    "},{"location":"documentation/references/empanadas_config/#livemap","title":"livemap","text":"

    type: dict

    required: False

    description: Dictates what live images are built and how they are built.

    "},{"location":"documentation/references/empanadas_config/#livemapgit_repo","title":"livemap.git_repo","text":"

    type: string

    required: True

    description: The git repository URL where the kickstarts live

    "},{"location":"documentation/references/empanadas_config/#livemapbranch","title":"livemap.branch","text":"

    type: string

    required: True

    description: The branch being used for the kickstarts

    "},{"location":"documentation/references/empanadas_config/#livemapksentry","title":"livemap.ksentry","text":"

    type: dict

    required: True

    description: Key value pairs of the live images being created. Key being the name of the live image, value being the kickstart name/path.

    "},{"location":"documentation/references/empanadas_config/#livemapallowed_arches","title":"livemap.allowed_arches","text":"

    type: list

    required: True

    description: List of allowed architectures that will build for the live images.

    "},{"location":"documentation/references/empanadas_config/#livemaprequired_pkgs","title":"livemap.required_pkgs","text":"

    type: list

    required: True

    description: Required list of packages needed to build the live images.

    "},{"location":"documentation/references/empanadas_config/#cloudimages","title":"cloudimages","text":"

    type: dict

    required: False

    description: Cloud related settings.

    Set to {} if not needed.

    "},{"location":"documentation/references/empanadas_config/#cloudimagesimages","title":"cloudimages.images","text":"

    type: dict

    required: True

    description: Cloud images that will be generated and in a bucket to be pulled, and their format.

    "},{"location":"documentation/references/empanadas_config/#cloudimagesimagesname","title":"cloudimages.images.name","text":"

    type: dict

    required: True

    description: Name of the cloud image being pulled.

    Accepted key value options:

    "},{"location":"documentation/references/empanadas_config/#repoclosure_map","title":"repoclosure_map","text":"

    type: dict

    required: True

    description: Repoclosure settings. These settings are absolutely required when doing full syncs and need to check repositories for consistency.

    "},{"location":"documentation/references/empanadas_config/#repoclosure_maparches","title":"repoclosure_map.arches","text":"

    type: dict

    required: True

    description: For each architecture (key), dnf switches/settings that dictate how repoclosure will check for consistency (value, string).

    example: x86_64: '--forcearch=x86_64 --arch=x86_64 --arch=athlon --arch=i686 --arch=i586 --arch=i486 --arch=i386 --arch=noarch'

    "},{"location":"documentation/references/empanadas_config/#repoclosure_maprepos","title":"repoclosure_map.repos","text":"

    type: dict

    required: True

    description: For each repository that is pulled for a given release(key), repositories that will be included in the repoclosure check. A repository that only checks against itself must have a value of [].

    "},{"location":"documentation/references/empanadas_config/#extra_files","title":"extra_files","text":"

    type: dict

    required: True

    description: Extra files settings and where they come from. Git repositories are the only supported method.

    "},{"location":"documentation/references/empanadas_config/#extra_filesgit_repo","title":"extra_files.git_repo","text":"

    type: string

    required: True

    description: URL to the git repository with the extra files.

    "},{"location":"documentation/references/empanadas_config/#extra_filesgit_raw_path","title":"extra_files.git_raw_path","text":"

    type: string

    required: True

    description: URL to the git repository with the extra files, but the \"raw\" url form.

    example: git_raw_path: 'https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/'

    "},{"location":"documentation/references/empanadas_config/#extra_filesbranch","title":"extra_files.branch","text":"

    type: string

    required: True

    description: Branch where the extra files are pulled from.

    "},{"location":"documentation/references/empanadas_config/#extra_filesgpg","title":"extra_files.gpg","text":"

    type: dict

    required: True

    description: For each gpg key type (key), the relative path to the key in the git repository (value).

    These keys help set up the repository configuration when doing syncs.

    By default, the RepoSync class sets stable as the gpgkey that is used.

    "},{"location":"documentation/references/empanadas_config/#extra_fileslist","title":"extra_files.list","text":"

    type: list

    required: True

    description: List of files from the git repository that will be used as \"extra\" files and placed in the repositories and available to mirrors and will appear on ISO images if applicable.

    "},{"location":"documentation/references/empanadas_config/#reference-example","title":"Reference Example","text":"
    ---\n'9':\n  fullname: 'Rocky Linux 9.0'\n  revision: '9.0'\n  rclvl: 'RC2'\n  major: '9'\n  minor: '0'\n  profile: '9'\n  disttag: 'el9'\n  bugurl: 'https://bugs.rockylinux.org'\n  checksum: 'sha256'\n  fedora_major: '20'\n  allowed_arches:\n    - x86_64\n    - aarch64\n    - ppc64le\n    - s390x\n  provide_multilib: True\n  project_id: '55b17281-bc54-4929-8aca-a8a11d628738'\n  repo_symlinks:\n    NFV: 'nfv'\n  renames:\n    all: 'devel'\n  all_repos:\n    - 'all'\n    - 'BaseOS'\n    - 'AppStream'\n    - 'CRB'\n    - 'HighAvailability'\n    - 'ResilientStorage'\n    - 'RT'\n    - 'NFV'\n    - 'SAP'\n    - 'SAPHANA'\n    - 'extras'\n    - 'plus'\n  structure:\n    packages: 'os/Packages'\n    repodata: 'os/repodata'\n  iso_map:\n    xorrisofs: True\n    iso_level: False\n    images:\n      dvd:\n        disc: True\n        variant: 'AppStream'\n        repos:\n          - 'BaseOS'\n          - 'AppStream'\n      minimal:\n        disc: True\n        isoskip: True\n        repos:\n          - 'minimal'\n          - 'BaseOS'\n        variant: 'minimal'\n        volname: 'dvd'\n      BaseOS:\n        disc: False\n        isoskip: True\n        variant: 'BaseOS'\n        repos:\n          - 'BaseOS'\n          - 'AppStream'\n    lorax:\n      repos:\n        - 'BaseOS'\n        - 'AppStream'\n      variant: 'BaseOS'\n      lorax_removes:\n        - 'libreport-rhel-anaconda-bugzilla'\n      required_pkgs:\n        - 'lorax'\n        - 'genisoimage'\n        - 'isomd5sum'\n        - 'lorax-templates-rhel'\n        - 'lorax-templates-generic'\n        - 'xorriso'\n  cloudimages:\n    images:\n      EC2:\n        format: raw\n      GenericCloud:\n        format: qcow2\n  livemap:\n    git_repo: 'https://git.resf.org/sig_core/kickstarts.git'\n    branch: 'r9'\n    ksentry:\n      Workstation: rocky-live-workstation.ks\n      Workstation-Lite: rocky-live-workstation-lite.ks\n      XFCE: rocky-live-xfce.ks\n      KDE: rocky-live-kde.ks\n      MATE: rocky-live-mate.ks\n    allowed_arches:\n      - x86_64\n      - aarch64\n    required_pkgs:\n      - 'lorax-lmc-novirt'\n      - 'vim-minimal'\n      - 'pykickstart'\n      - 'git'\n  variantmap:\n    git_repo: 'https://git.rockylinux.org/rocky/pungi-rocky.git'\n    branch: 'r9'\n    git_raw_path: 'https://git.rockylinux.org/rocky/pungi-rocky/-/raw/r9/'\n  repoclosure_map:\n    arches:\n      x86_64: '--forcearch=x86_64 --arch=x86_64 --arch=athlon --arch=i686 --arch=i586 --arch=i486 --arch=i386 --arch=noarch'\n      aarch64: '--forcearch=aarch64 --arch=aarch64 --arch=noarch'\n      ppc64le: '--forcearch=ppc64le --arch=ppc64le --arch=noarch'\n      s390x: '--forcearch=s390x --arch=s390x --arch=noarch'\n    repos:\n      devel: []\n      BaseOS: []\n      AppStream:\n        - BaseOS\n      CRB:\n        - BaseOS\n        - AppStream\n      HighAvailability:\n        - BaseOS\n        - AppStream\n      ResilientStorage:\n        - BaseOS\n        - AppStream\n      RT:\n        - BaseOS\n        - AppStream\n      NFV:\n        - BaseOS\n        - AppStream\n      SAP:\n        - BaseOS\n        - AppStream\n        - HighAvailability\n      SAPHANA:\n        - BaseOS\n        - AppStream\n        - HighAvailability\n  extra_files:\n    git_repo: 'https://git.rockylinux.org/staging/src/rocky-release.git'\n    git_raw_path: 'https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/'\n    branch: 'r9'\n    gpg:\n      stable: 'SOURCES/RPM-GPG-KEY-Rocky-9'\n      testing: 'SOURCES/RPM-GPG-KEY-Rocky-9-Testing'\n    list:\n      - 'SOURCES/Contributors'\n      - 'SOURCES/COMMUNITY-CHARTER'\n      - 'SOURCES/EULA'\n      - 'SOURCES/LICENSE'\n      - 'SOURCES/RPM-GPG-KEY-Rocky-9'\n      - 'SOURCES/RPM-GPG-KEY-Rocky-9-Testing'\n...\n
    "},{"location":"documentation/references/empanadas_sig_config/","title":"Empanadas SIG yaml Configuration","text":"

    Each file in empanads/sig/ is a yaml file that contains configuration items for the distribution release version. The configuration determines the structure of the SIG repositories synced from Peridot or a given repo.

    Note that a release profile (for a major version) is still required for this sync to work.

    See the items below to see which options are mandatory and optional.

    "},{"location":"documentation/references/empanadas_sig_config/#config-items","title":"Config Items","text":""},{"location":"documentation/references/empanadas_sig_config/#reference-example","title":"Reference Example","text":""},{"location":"include/resources_bottom/","title":"Resources bottom","text":"Resources Account ServicesGit (RESF Git Service)Git (Rocky Linux GitHub)Git (Rocky Linux GitLab)Mail ListsContacts

    URL: https://accounts.rockylinux.org

    Purpose: Account Services maintains the accounts for almost all components of the Rocky ecosystem

    Technology: Noggin used by Fedora Infrastructure

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    URL: https://git.resf.org

    Purpose: General projects, code, and so on for the Rocky Enterprise Software Foundation.

    Technology: Gitea

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://github.com/rocky-linux

    Purpose: General purpose code, assets, and so on for Rocky Linux. Some content is mirrored to the RESF Git Service.

    Technology: GitHub

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://git.rockylinux.org

    Purpose: Packages and light code for the Rocky Linux distribution

    Technology: GitLab

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://lists.resf.org

    Purpose: Users can subscribe and interact with various mail lists for the Rocky ecosystem

    Technology: Mailman 3 + Hyper Kitty

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    Name Email Mattermost Name IRC Name Louis Abel label@rockylinux.org @nazunalika Sokel/label/Sombra Mustafa Gezen mustafa@rockylinux.org @mustafa mstg Skip Grube skip@rockylinux.org @skip77 Sherif Nagy sherif@rockylinux.org @sherif Pablo Greco pgreco@rockylinux.org @pgreco pgreco Neil Hanlon neil@resf.org @neil neil Taylor Goodwill tg@resf.org @tgo tg"},{"location":"sop/","title":"SOP (Standard Operationg Procedures)","text":"

    This section goes over the various SOP's for SIG/Core. Please use the menu items to find the various pages of interest.

    "},{"location":"sop/sop_compose/","title":"SOP: Compose and Repo Sync for Rocky Linux and Peridot","text":"

    This SOP covers how the Rocky Linux Release Engineering Team handles composes and repository syncs for the distribution. It contains information of the scripts that are utilized and in what order, depending on the use case.

    "},{"location":"sop/sop_compose/#contact-information","title":"Contact Information","text":"Owner Release Engineering Team Email Contact releng@rockylinux.org Email Contact infrastructure@rockylinux.org Mattermost Contacts @label @mustafa @neil @tgo Mattermost Channels ~Development"},{"location":"sop/sop_compose/#related-git-repositories","title":"Related Git Repositories","text":"

    There are several git repositories used in the overall composition of a repository or a set of repositories.

    Pungi - This repository contains all the necessary pungi configuration files that peridot translates into its own configuration. Pungi is no longer used for Rocky Linux.

    Comps - This repository contains all the necessary comps (which are groups and other data) for a given major version. Peridot (and pungi) use this information to properly build repositories.

    Toolkit - This repository contains various scripts and utilities used by Release Engineering, such as syncing composes, functionality testing, and mirror maintenance.

    "},{"location":"sop/sop_compose/#composing-repositories","title":"Composing Repositories","text":""},{"location":"sop/sop_compose/#mount-structure","title":"Mount Structure","text":"

    There is a designated system that takes care of composing repositories. These systems contain the necessary EFS/NFS mounts for the staging and production repositories as well as composes.

    "},{"location":"sop/sop_compose/#empanadas","title":"Empanadas","text":"

    Each repository or set of repositories are controlled by various comps and pungi configurations that are translated into peridot. Empanadas is used to run a reposync from peridot's yumrepofs repositories, generate ISO's, and create a pungi compose look-a-like. Because of this, the comps and pungi-rocky configuration is not referenced with empanadas.

    "},{"location":"sop/sop_compose/#running-a-compose","title":"Running a Compose","text":"

    First, the toolkit must be cloned. In the iso/empanadas directory, run poetry install. You'll then have access to the various commands needed:

    To perform a full compose, this order is expected (replacing X with major version or config profile)

    # This creates a brand new directory under /mnt/compose/X and symlinks it to latest-Rocky-X\npoertry run sync_from_peridot --release X --hashed --repoclosure --full-run\n\n# On each architecture, this must be ran to generate the lorax images\n# !! Use --rc if the image is a release candidate or a beta image\n# Note: This is typically done using kubernetes and uploaded to a bucket\npoetry run build-iso --release X --isolation=None\n\n# The images are pulled from the bucket\npoetry run pull-unpack-tree --release X\n\n# The extra ISO's (usually just DVD) are generated\n# !! Use --rc if the image is a release candidate or a beta image\n# !! Set --extra-iso-mode to mock if desired\n# !! If there is more than the dvd, remove --extra-iso dvd\npoetry run build-iso-extra --release X --extra-iso dvd --extra-iso-mode podman\n\n# This pulls the generic and EC2 cloud images\npoetry run pull-cloud-image --release X\n\n# This ensures everything is closed out for a release. This copies iso's, images,\n# generates metadata, and the like.\n# !! DO NOT RUN DURING INCREMENTAL UPDATES !!\npoetry run finalize_compose --release X\n
    "},{"location":"sop/sop_compose/#syncing-composes","title":"Syncing Composes","text":"

    Syncing utilizes the sync scripts provided in the release engineering toolkit.

    When the scripts are being ran, they are usually ran with a specific purpose, as each major version may be different.

    The below are common vars files. common_X will override what's in common. Typically these set what repositories exist and how they are named or look at the top level. These also set the current major.minor release as necessary.

    .\n\u251c\u2500\u2500 common\n\u251c\u2500\u2500 common_8\n\u251c\u2500\u2500 common_9\n

    These are for the releases in general. What they do is noted below.

    \u251c\u2500\u2500 gen-torrents.sh                  -> Generates torrents for images\n\u251c\u2500\u2500 minor-release-sync-to-staging.sh -> Syncs a minor release to staging\n\u251c\u2500\u2500 prep-staging-X.sh                -> Preps staging updates and signs repos (only for 8)\n\u251c\u2500\u2500 sign-repos-only.sh               -> Signs the repomd (only for 8)\n\u251c\u2500\u2500 sync-file-list-parallel.sh       -> Generates file lists in parallel for mirror sync scripts\n\u251c\u2500\u2500 sync-to-prod.sh                  -> Syncs staging to production\n\u251c\u2500\u2500 sync-to-prod.delete.sh           -> Syncs staging to production (deletes artifacts that are no longer in staging)\n\u251c\u2500\u2500 sync-to-prod-sig.sh              -> Syncs a sig provided compose to production\n\u251c\u2500\u2500 sync-to-staging.sh               -> Syncs a provided compose to staging\n\u251c\u2500\u2500 sync-to-staging.delete.sh        -> Syncs a provided compose to staging (deletes artifacts that are no longer in the compose)\n\u251c\u2500\u2500 sync-to-staging-sig.sh           -> Syncs a sig provided compose to staging\n

    Generally, you will only run sync-to-staging.sh or sync-to-staging.delete.sh to sync. The former is for older releases, the latter is for newer releases. Optionally, if you are syncing a \"beta\" or \"lookahead\" release, you will need to also provide the RLREL variable as beta or lookahead.

    # The below syncs to staging for Rocky Linux 8\nRLVER=8 bash sync-to-staging.sh Rocky\n# The below syncs to staging for Rocky Linux 9\nRLVER=9 bash sync-to-staging.delete.sh Rocky\n

    Once the syncs are done, staging must be tested and vetted before being sent to production. Once staging is completed, it is synced to production.

    bash RLVER=8 sync-to-prod.sh\nbash RLVER=9 sync-to-prod.delete.sh\nbash sync-file-list-parallel.sh\n

    During this phase, staging is rsynced with production, the file list is updated, and the full time list is also updated to allow mirrors to know that the repositories have been updated and that they can sync.

    Note: If multiple releases are being updated, it is important to run the syncs to completion before running the file list parallel script.

    "},{"location":"sop/sop_compose_8/","title":"SOP: Compose and Repo Sync for Rocky Linux 8","text":"

    This SOP covers how the Rocky Linux Release Engineering Team handles composes and repository syncs for Rocky Linux 8. It contains information of the scripts that are utilized and in what order, depending on the use case.

    Please see the other SOP for Rocky Linux 9+ that are managed via empanadas and peridot.

    "},{"location":"sop/sop_compose_8/#contact-information","title":"Contact Information","text":"Owner Release Engineering Team Email Contact releng@rockylinux.org Email Contact infrastructure@rockylinux.org Mattermost Contacts @label @mustafa @neil @tgo Mattermost Channels ~Development"},{"location":"sop/sop_compose_8/#related-git-repositories","title":"Related Git Repositories","text":"

    There are several git repositories used in the overall composition of a repository or a set of repositories.

    Pungi - This repository contains all the necessary pungi configuration files for composes that come from koji. Pungi interacts with koji to build the composes.

    Comps - This repository contains all the necessary comps (which are groups and other data) for a given major version. Pungi uses this information to properly build the repositories.

    Toolkit - This repository contains various scripts and utilities used by Release Engineering, such as syncing composes, functionality testing, and mirror maintenance.

    "},{"location":"sop/sop_compose_8/#composing-repositories","title":"Composing Repositories","text":""},{"location":"sop/sop_compose_8/#mount-structure","title":"Mount Structure","text":"

    There is a designated system that takes care of composing repositories. These systems contain the necessary EFS/NFS mounts for the staging and production repositories as well as composes.

    "},{"location":"sop/sop_compose_8/#pungi","title":"Pungi","text":"

    Each repository or set of repositories are controlled by various pungi configurations. For example, r8.conf will control the absolute base of Rocky Linux 8, which imports other git repository data as well as accompanying json or other configuration files.

    "},{"location":"sop/sop_compose_8/#running-a-compose","title":"Running a Compose","text":"

    Inside the pungi git repository, the folder scripts contain the necessary scripts that are ran to perform a compose. There are different types of composes:

    Each script is titled appropriately:

    When these scripts are ran, they generate an appropriate directory under /mnt/compose/X with a directory and an accompanying symlink. For example. If an update to Rocky was made using updates-8.sh, the below would be made:

    drwxr-xr-x. 5 root  root  6144 Jul 21 17:44 Rocky-8-updates-20210721.1\nlrwxrwxrwx. 1 root  root    26 Jul 21 18:26 latest-Rocky-8 -> Rocky-8-updates-20210721.1\n

    This setup also allows pungi to reuse previous package set data to reduce the time it takes to build a compose. Typically during a new minor release, all composes should be ran so they can be properly combined. Example of a typical order if releasing 8.X:

    produce-8.sh\nupdates-8-devel.sh\nupdates-8-extras.sh\nupdates-8-plus.sh\n
    "},{"location":"sop/sop_compose_8/#syncing-composes","title":"Syncing Composes","text":"

    Syncing utilizes the sync scripts provided in the release engineering toolkit.

    When the scripts are being ran, they are usually ran for a specific purpose. They are also ran in a certain order to ensure integrity and consistency of a release.

    The below are common vars files. common_X will override what's in common. Typically these set what repositories exist and how they are named or look at the top level. These also set the current major.minor release as necessary.

    .\n\u251c\u2500\u2500 common\n\u251c\u2500\u2500 common_8\n\u251c\u2500\u2500 common_9\n

    These are for the releases in general. What they do is noted below.

    \u251c\u2500\u2500 gen-torrents.sh                  -> Generates torrents for images\n\u251c\u2500\u2500 minor-release-sync-to-staging.sh -> Syncs a minor release to staging\n\u251c\u2500\u2500 prep-staging-X.sh                -> Preps staging updates and signs repos\n\u251c\u2500\u2500 sign-repos-only.sh               -> Signs the repomd (only)\n\u251c\u2500\u2500 sync-to-prod.sh                  -> Syncs staging to production\n\u251c\u2500\u2500 sync-to-staging.sh               -> Syncs a provided compose to staging\n\u251c\u2500\u2500 sync-to-staging-sig.sh           -> Syncs a sig provided compose to staging\n

    Generally, you will only run minor-release-sync-to-staging.sh when a full minor release is being produced. So for example, if 8.5 has been built out, you would run that after a compose. gen-torrents.sh would be ran shortly after.

    When doing updates, the order of operations (preferably) would be:

    * sync-to-staging.sh\n* sync-to-staging-sig.sh -> Only if sigs are updated\n* prep-staging-8.sh`     -> This is required to ensure the groups, comps, and\n                            module data stay sane. This helps us provide older\n                            packages in the repos as well as signs repo metadata.\n* sync-to-prod.sh        -> After the initial testing, it is sent to prod.\n

    An example of order:

    # The below syncs to staging\nRLVER=8 bash sync-to-staging.sh Plus\nRLVER=8 bash sync-to-staging.sh Extras\nRLVER=8 bash sync-to-staging.sh Rocky-devel\nRLVER=8 bash sync-to-staging.sh Rocky\nbash prep-staging-8.sh\n

    Once the syncs are done, staging must be tested and vetted before being sent to production. During this stage, the updateinfo.xml is also applied where necessary to the repositories to provide errata. Once staging is completed, it is synced to production.

    bash RLVER=8 sync-to-prod.sh\nbash bash sync-file-list-parallel.sh\n

    During this phase, staging is rsynced with production, the file list is updated, and the full time list is also updated to allow mirrors to know that the repositories have been updated and that they can sync.

    Note: If multiple releases are being updated, it is important to run the syncs to completion before running the file list parallel script.

    "},{"location":"sop/sop_compose_sig/","title":"SOP: Compose and Repo Sync for Rocky Linux Special Interest Groups","text":"

    This SOP covers how the Rocky Linux Release Engineering Team handles composes and repository syncs for Special Interest Groups.

    "},{"location":"sop/sop_compose_sig/#contact-information","title":"Contact Information","text":"Owner Release Engineering Team Email Contact releng@rockylinux.org Email Contact infrastructure@rockylinux.org Mattermost Contacts @label @mustafa @neil @tgo Mattermost Channels ~Development"},{"location":"sop/sop_compose_sig/#composing-repositories","title":"Composing Repositories","text":""},{"location":"sop/sop_compose_sig/#mount-structure","title":"Mount Structure","text":"

    There is a designated system that takes care of composing repositories. These systems contain the necessary EFS/NFS mounts for the staging and production repositories as well as composes.

    "},{"location":"sop/sop_compose_sig/#empanadas","title":"Empanadas","text":"

    Each repository or set of repositories are controlled by various comps and pungi configurations that are translated into peridot. Empanadas is used to run a reposync from peridot's yumrepofs repositories, generate ISO's, and create a pungi compose look-a-like. Because of this, the comps and pungi-rocky configuration is not referenced with empanadas.

    "},{"location":"sop/sop_compose_sig/#running-a-compose","title":"Running a Compose","text":"

    First, the toolkit must be cloned. In the iso/empanadas directory, run poetry install. You'll then have access to the various commands needed:

    To perform a compose of a SIG, it must be defined in the configuration. As an example, here is composing the core sig.

    # This creates a brand new directory under /mnt/compose/X and symlinks it to latest-SIG-Y-X\n~/.local/bin/poetry run sync_sig --release 9 --sig core --hashed --clean-old-packages --full-run\n\n# This assumes the directories already exist and will update in place.\n~/.local/bin/poetry run sync_sig --release 9 --sig core --hashed --clean-old-packages\n
    "},{"location":"sop/sop_compose_sig/#syncing-composes","title":"Syncing Composes","text":"

    Syncing utilizes the sync scripts provided in the release engineering toolkit.

    When the scripts are being ran, they are usually ran with a specific purpose, as each major version may be different.

    For SIG's, the only files you'll need to know of are sync-to-staging-sig.sh and sync-to-prod-sig.sh. Both scripts will delete packages and data that are no longer in the compose.

    # The below syncs the core 8 repos to staging\nRLVER=8 bash sync-to-staging-sig.sh core\n# The below syncs the core 9 repos to staging\nRLVER=9 bash sync-to-staging-sig.sh core\n\n# The below syncs everything in staging for 8 core to prod\nRLVER=8 bash sync-to-prod-sig.sh core\n\n# The below syncs everything in staging for 9 core to prod\nRLVER=9 bash sync-to-prod-sig.sh core\n

    Once staging is completed and reviewed, it is synced to production.

    bash sync-file-list-parallel.sh\n

    During this phase, staging is rsynced with production, the file list is updated, and the full time list is also updated to allow mirrors to know that the repositories have been updated and that they can sync.

    "},{"location":"sop/sop_mirrormanager2/","title":"Mirror Manager Maintenance","text":"

    This SOP contains most if not all the information needed for SIG/Core to maintain and operate Mirror Manager for Rocky Linux.

    "},{"location":"sop/sop_mirrormanager2/#contact-information","title":"Contact Information","text":"Owner SIG/Core (Release Engineering & Infrastructure) Email Contact infrastructure@rockylinux.org Email Contact releng@rockylinux.org Mattermost Contacts @label @neil @tgo Mattermost Channels ~Infrastructure"},{"location":"sop/sop_mirrormanager2/#introduction","title":"Introduction","text":"

    So you made a bad decision and now have to do things to Mirror Manager. Good luck.

    "},{"location":"sop/sop_mirrormanager2/#pieces","title":"Pieces","text":"Item Runs on... Software Mirrorlist Server mirrormanager001 https://github.com/adrianreber/mirrorlist-server/ Mirror Manager 2 mirrormanager001 https://github.com/fedora-infra/mirrormanager2"},{"location":"sop/sop_mirrormanager2/#mirrorlist-server","title":"Mirrorlist Server","text":"

    This runs two (2) instances. Apache/httpd is configured to send /mirrorlist to one and /debuglist to the other.

    Note that the timing for the restart of the mirror list instances are arbitrary.

    "},{"location":"sop/sop_mirrormanager2/#mirror-manager-2","title":"Mirror Manager 2","text":"

    This is a uwsgi service fronted by an apache/httpd instance. This is responsible for everything else that is not /mirrorlist or /debuglist. This allows the mirror managers to, well, manage their mirrors.

    "},{"location":"sop/sop_mirrormanager2/#cdn","title":"CDN","text":"

    Fastly sits in front of mirror manager. VPN is required to access the /admin endpoints.

    If the backend of the CDN is down, it will attempt to guess what the user wanted to access and spit out a result on the dl.rockylinux.org website. For example, a request for AppStream-8 and x86_64 will result in a AppStream/x86_64/os directory on dl.rockylinux.org. Note that this isn't perfect, but it helps in potential down time or patching.

    Fastly -> www firewall -> mirrormanager server\n

    In reality, the flow is a lot more complex, and a diagram should be created to map it out in a more user-friendly manner (@TODO)

    User -> Fastly -> AWS NLB over TLS, passthru -> www firewall cluster (decrypt TLS) -> mirrormanager server (Rocky CA TLS)\n
    "},{"location":"sop/sop_mirrormanager2/#tasks","title":"Tasks","text":"

    Below are a list of possible tasks to take with mirror manager, depending on the scenario.

    "},{"location":"sop/sop_mirrormanager2/#new-release","title":"New Release","text":"

    For the following steps, the following must be completed:

    /opt/mirrormanager/scan-primary-mirror-0.4.2/target/debug/scan-primary-mirror --debug --config $HOME/scan-primary-mirror.toml --category 'Rocky Linux'\n/opt/mirrormanager/scan-primary-mirror-0.4.2/target/debug/scan-primary-mirror --debug --config $HOME/scan-primary-mirror.toml --category 'Rocky Linux SIGs'\n
    1. Update the redirects for $reponame-$releasever

      a. Use psql to mirrormanager server: psql -U mirrormanager -W -h mirrormanager_db_host mirrormanager_db b. Confirm that all three columns are filled and that the second and third columns are identical: select rr.from_repo AS \"From Repo\", rr.to_repo AS \"To Repo\", r.prefix AS \"Target Repo\" FROM repository_redirect AS rr LEFT JOIN repository AS r ON rr.to_repo = r.prefix GROUP BY r.prefix, rr.to_repo, rr.from_repo ORDER BY r.prefix ASC; c. Change the majorversion redirects to point to the new point release, for example: update repository_redirect set to_repo = regexp_replace(to_repo, '9\\.0', '9.1') where from_repo ~ '(\\w+)-9';

    2. Generate the mirrorlist cache and restart the debuglist and verify.

    Once the bitflip is initiated, restart mirrorlist and reenable all cronjobs.

    "},{"location":"sop/sop_mirrormanager2/#out-of-date-mirrors","title":"Out-of-date Mirrors","text":"
    1. Get current shasum of repomd.xml. For example: shasum=$(curl https://dl.rockylinux.org/pub/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml | sha256sum)
    2. Compare against latest propagation log:
    tail -latr /var/log/mirrormanager/propagation/rocky-9.0-BaseOS-x86_64_propagation.log.*`\n\nexport VER=9.0\nawk -v shasum=$(curl -s https://dl.rockylinux.org/pub/rocky/$VER/BaseOS/x86_64/os/repodata/repomd.xml | sha256sum | awk '{print $1}') -F'::' '{split($0,data,\":\")} {if ($4 != shasum) {print data[5], data[6], $2, $7}}' < $(find /var/log/mirrormanager/propagation/ -name \"rocky-${VER}-BaseOS-x86_64_propagation.log*\" -mtime -1 | tail -1)'\n

    This will generate a table. You can take the IDs in the first column and use the database to disable them by ID (table name: hosts) or go to https://mirrors.rockylinux.org/mirrormanager/host/ID and uncheck 'User active'.

    Users can change user active, but they cannot change admin active. It is better to flip user active in this case.

    Admins can also view https://mirrors.rockylinux.org/mirrormanager/admin/all_sites if necessary.

    Example of table columns:

    [mirrormanager@ord1-prod-mirrormanager001 propagation]$ awk -v shasum=$(curl -s https://dl.rockylinux.org/pub/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml | sha256sum | awk '{print $1}') -F'::' '{split($0,data,\":\")} {if ($4 != shasum) {print data[5], data[6], $2, $7}}' < rocky-9.0-BaseOS-x86_64_propagation.log.1660611632 | column -t\n164  mirror.host.ag            http://mirror.host.ag/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml             404\n173  rocky.centos-repo.net     http://rocky.centos-repo.net/9.0/BaseOS/x86_64/os/repodata/repomd.xml            403\n92   rocky.mirror.co.ge        http://rocky.mirror.co.ge/9.0/BaseOS/x86_64/os/repodata/repomd.xml               404\n289  mirror.vsys.host          http://mirror.vsys.host/rockylinux/9.0/BaseOS/x86_64/os/repodata/repomd.xml      404\n269  mirrors.rackbud.com       http://mirrors.rackbud.com/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml        200\n295  mirror.ps.kz              http://mirror.ps.kz/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml               200\n114  mirror.liteserver.nl      http://rockylinux.mirror.liteserver.nl/9.0/BaseOS/x86_64/os/repodata/repomd.xml  200\n275  mirror.upsi.edu.my        http://mirror.upsi.edu.my/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml         200\n190  mirror.kku.ac.th          http://mirror.kku.ac.th/rocky-linux/9.0/BaseOS/x86_64/os/repodata/repomd.xml     404\n292  mirrors.cat.pdx.edu       http://mirrors.cat.pdx.edu/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml        200\n370  mirrors.gbnetwork.com     http://mirrors.gbnetwork.com/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml      404\n308  mirror.ihost.md           http://mirror.ihost.md/rockylinux/9.0/BaseOS/x86_64/os/repodata/repomd.xml       404\n87   mirror.freedif.org        http://mirror.freedif.org/Rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml         404\n194  mirrors.bestthaihost.com  http://mirrors.bestthaihost.com/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml   404\n30   mirror.admax.se           http://mirror.admax.se/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml            200\n195  mirror.uepg.br            http://mirror.uepg.br/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml             404\n247  mirrors.ipserverone.com   http://mirrors.ipserverone.com/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml    404'\n
    "},{"location":"sop/sop_release/","title":"Rocky Release Procedures for SIG/Core (RelEng/Infrastructure)","text":"

    This SOP contains all the steps required by SIG/Core (a mix of Release Engineering and Infrastructure) to perform releases of all Rocky Linux versions. Work is in all collaboration within the entire group of engineerings.

    "},{"location":"sop/sop_release/#contact-information","title":"Contact Information","text":"Owner SIG/Core (Release Engineering & Infrastructure) Email Contact infrastructure@rockylinux.org Email Contact releng@rockylinux.org Mattermost Contacts @label @neil @tgo @skip77 @mustafa @sherif @pgreco Mattermost Channels ~Infrastructure"},{"location":"sop/sop_release/#preparation","title":"Preparation","text":""},{"location":"sop/sop_release/#notes-about-release-day","title":"Notes about Release Day","text":"

    Within a minimum of two (2) days, the following should be true:

    1. Torrents should be setup. All files can be synced with the seed box(es) but not yet published. The data should be verified using sha256sum and compared to the CHECKSUM files provided with the files.

    2. Website should be ready (typically with an open PR in github). The content should be verified that the design and content are correct and finalized.

    3. Enough mirrors should be setup. This essentially means that all content for a release should be synced to our primary mirror with the executable bit turned off, and the content should also be hard linked. In theory, mirror manager can be queried to verify if mirrors are or appear to be in sync.

    "},{"location":"sop/sop_release/#notes-about-patch-days","title":"Notes about Patch Days","text":"

    Within a minimum of one (1) to two (2) days, the following should be true:

    1. Updates should be completed in the build system, and verified in staging.

    2. Updates should be sent to production and file lists updated to allow mirrors to sync.

    "},{"location":"sop/sop_release/#prior-to-release-day-notes","title":"Prior to Release Day notes","text":"

    Ensure the SIG/Core Checklist is read thoroughly and executed as listed.

    "},{"location":"sop/sop_release/#release-day","title":"Release Day","text":""},{"location":"sop/sop_release/#priorities","title":"Priorities","text":"

    During release day, these should be verified/completed in order:

    1. Website - The primary website and user landing at rockylinux.org should allow the user to efficiently click through to a download link of an ISO, image, or torrent. It must be kept up.

    2. Torrent - The seed box(es) should be primed and ready to go for users downloading via torrent.

    3. Release Notes & Documentation - The release notes are often on the same website as the documentation. The main website and where applicable in the docs should refer to the Release Notes of Rocky Linux.

    4. Wiki - If applicable, the necessary changes and resources should be available for a release. In particular, if a major release has new repos, changed repo names, this should be documented.

    5. Everything else!

    "},{"location":"sop/sop_release/#resources","title":"Resources","text":""},{"location":"sop/sop_release/#sigcore-checklist","title":"SIG/Core Checklist","text":""},{"location":"sop/sop_release/#beta","title":"Beta","text":""},{"location":"sop/sop_release/#release-candidate","title":"Release Candidate","text":""},{"location":"sop/sop_release/#final","title":"Final","text":" Resources Account ServicesGit (RESF Git Service)Git (Rocky Linux GitHub)Git (Rocky Linux GitLab)Mail ListsContacts

    URL: https://accounts.rockylinux.org

    Purpose: Account Services maintains the accounts for almost all components of the Rocky ecosystem

    Technology: Noggin used by Fedora Infrastructure

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    URL: https://git.resf.org

    Purpose: General projects, code, and so on for the Rocky Enterprise Software Foundation.

    Technology: Gitea

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://github.com/rocky-linux

    Purpose: General purpose code, assets, and so on for Rocky Linux. Some content is mirrored to the RESF Git Service.

    Technology: GitHub

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://git.rockylinux.org

    Purpose: Packages and light code for the Rocky Linux distribution

    Technology: GitLab

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://lists.resf.org

    Purpose: Users can subscribe and interact with various mail lists for the Rocky ecosystem

    Technology: Mailman 3 + Hyper Kitty

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    Name Email Mattermost Name IRC Name Louis Abel label@rockylinux.org @nazunalika Sokel/label/Sombra Mustafa Gezen mustafa@rockylinux.org @mustafa mstg Skip Grube skip@rockylinux.org @skip77 Sherif Nagy sherif@rockylinux.org @sherif Pablo Greco pgreco@rockylinux.org @pgreco pgreco Neil Hanlon neil@resf.org @neil neil Taylor Goodwill tg@resf.org @tgo tg"},{"location":"sop/sop_upstream_prep_checklist/","title":"Generalized Prep Checklist for Upcoming Releases","text":"

    This SOP contains general checklists required by SIG/Core to prepare and plan for the upcoming release. This work, in general, is required to be done on a routine basis, even months out before the next major or minor release, as it requires monitoring of upstream's (CentOS Stream) work to ensure Rocky Linux will remain ready and compatible with Red Hat Enterprise Linux.

    "},{"location":"sop/sop_upstream_prep_checklist/#contact-information","title":"Contact Information","text":"Owner SIG/Core (Release Engineering & Infrastructure) Email Contact infrastructure@rockylinux.org Email Contact releng@rockylinux.org Mattermost Contacts @label @neil @tgo @skip77 @mustafa @sherif @pgreco Mattermost Channels ~Infrastructure"},{"location":"sop/sop_upstream_prep_checklist/#general-upstream-monitoring","title":"General Upstream Monitoring","text":"

    It is expected to monitor the following repositories upstream, as these will indicate what is coming up for a given major or point release. These repositories are found at the Red Hat gitlab.

    These repositories can be monitored by setting to \"all activity\" on the bell icon.

    Upon changes to the upstream repositories, SIG/Core member should analyze the changes and apply the same to the lookahead branches:

    "},{"location":"sop/sop_upstream_prep_checklist/#general-downward-merging","title":"General Downward Merging","text":"

    Repositories that generally track for LookAhead and Beta releases will flow downward to the stable branch. For example:

    * rXs / rXlh\n      |\n      |----> rX-beta\n                |\n                |----> rX\n

    This applies to any specific rocky repo, such as comps, pungi, peridot-config, and so on. As it is expected some repos will deviate in commit history, it is OK to force push, under the assumption that changes made in the lower branch exists in the upper branch. That way you can avoid changes/functionality being reverted on accident.

    "},{"location":"sop/sop_upstream_prep_checklist/#general-package-patching","title":"General Package Patching","text":"

    There are packages that are patched typically for the purpose of debranding. List of patched packages are typically maintained in a metadata repository. The obvious ones are listed below and should be monitored and maintained properly:

    "}]} \ No newline at end of file +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"SIG/Core Wiki","text":""},{"location":"#about","title":"About","text":"

    The Rocky Linux Core Special Interest Group (SIG/Core) dedicates themselves to the development, building, management, production, and release of Rocky Linux for the Enterprise Linux community and the many users around the world. This group is a mixture of core Rocky Linux developers and infrastructure and the members of this group are also members of other groups within the Rocky Linux community (such as SIG/AltArch) as well as the Enterprise Linux community as a whole.

    "},{"location":"#mission","title":"Mission","text":"

    SIG/Core strives to ensure a stable distribution is developed, built, tested, and provided to the community from the RESF as a compatible derivative of Red Hat Enterprise Linux. To achieve this goal, some of the things we do are:

    See the What We Do page for a more detailed explanation of our activities.

    "},{"location":"#getting-in-touch-contributing","title":"Getting In Touch / Contributing","text":"

    There are various ways to get in touch with SIG/Core and provide help, assistance, or even just ideas that can benefit us or the entire community.

    For a list of our members, see the Members page.

    "},{"location":"#resources-and-rocky-linux-policies","title":"Resources and Rocky Linux Policies","text":""},{"location":"#general-packaging-resources","title":"General Packaging Resources","text":""},{"location":"members/","title":"Members","text":"

    SIG/Core is a mix of Release Engineering and Infrastructure members to ensure a high quality release of Rocky Linux as well as the uptime of the services provided to the community. The current members of this group are listed in the table below.

    Role Name Email Mattermost Name IRC Name Identity Management & Release Engineering Co-Lead Louis Abel label@rockylinux.org @nazunalika Sokel/label/Sombra Release Engineering Co-Lead Mustafa Gezen mustafa@rockylinux.org @mustafa mstg Release Engineering and Development Skip Grube skip@rockylinux.org @skip77 Release Engineering and Development Sherif Nagy sherif@rockylinux.org @sherif Release Engineering and Development Pablo Greco pgreco@rockylinux.org @pgreco pgreco Infrastructure Lead Neil Hanlon neil@resf.org @neil neil Infrastructure Lead Taylor Goodwill tg@resf.org @tgo tg"},{"location":"what_we_do/","title":"What We Do","text":"

    SIG/Core (or Release Engineering) was brought together as a combination of varying expertise (development and infrastructure) to try to fill in gaps of knowledge but to also to ensure the primary goal of having a stable release of Rocky Linux is reached.

    Some of the things we do in pursuit of our mission goals:

    "},{"location":"documentation/","title":"Release General Overview","text":"

    This section goes over at a high level how we compose releases for Rocky Linux. As most of our tools are home grown, we have made sure that the tools are open source and in our git services.

    This page should serve as an idea of the steps we generally take and we hope that other projects out there who wish to also use our tools can make sure they can use them in this same way, whether they want to be an Enterprise Linux derivative or another project entirely.

    "},{"location":"documentation/#build-system-and-tools","title":"Build System and Tools","text":"

    The tools in use for the distribution are in the table below.

    Tool Maintainer Code Location srpmproc SIG/Core at RESF GitHub empanadas SIG/Core at RESF sig-core-toolkit Peridot SIG/Core at RESF GitHub MirrorManager 2 Fedora Project MirrorManager2

    For Rocky Linux to be build, we use Peridot as the build system and empanadas to \"compose\" the distribution. As we do not use Koji for Rocky Linux beyond version 9, pungi can no longer be used. Peridot instead takes pungi configuration data and comps and transforms them into a format it can understand. Empanadas then comes in to do the \"compose\" and sync all the repositories down.

    "},{"location":"documentation/#full-compose-major-or-minor-releases","title":"Full Compose (major or minor releases)","text":"

    Step by step, it looks like this:

    "},{"location":"documentation/#general-updates","title":"General Updates","text":"

    Step by step, it looks like this:

    "},{"location":"documentation/empanadas/","title":"Empanadas","text":"

    This page goes over empanadas, which is part of the SIG/Core toolkit. Empanadas assists SIG/Core is composing repositories, creating ISO's, creating images, and various other activities in Rocky Linux. It is also used for general testing and debugging of repositories and its metadata.

    "},{"location":"documentation/empanadas/#contact-information","title":"Contact Information","text":"Owner SIG/Core (Release Engineering & Infrastructure) Email Contact releng@rockylinux.org Mattermost Contacts @label @neil Mattermost Channels ~Development"},{"location":"documentation/empanadas/#general-information","title":"General Information","text":"

    empanadas is a python project using poetry, containing various built-in modules with the goal to try to emulate the Fedora Project's pungi to an extent. While it is not perfect, it achieves the very basic goals of creating repositories, images and ISO's for consumption by the end user. It also has interactions with peridot, the build system used by the RESF to build the Rocky Linux distribution.

    For performing syncs, it relies on the use of podman to perform syncing in a parallel fashion. This was done because it is not possible to run multiple dnf transactions at once on a single system and looping one repository at a time is not sustainable (nor fast).

    "},{"location":"documentation/empanadas/#requirements","title":"Requirements","text":""},{"location":"documentation/empanadas/#features","title":"Features","text":"

    As of this writing, empanadas has the following abilities:

    "},{"location":"documentation/empanadas/#installing-empanadas","title":"Installing Empanadas","text":"

    The below is how to install empanadas from the development branch on a Fedora system.

    % dnf install git podman fpart poetry mock -y\n% git clone https://git.resf.org/sig_core/toolkit.git -b devel\n% cd toolkit/iso/empanadas\n% poetry install\n
    "},{"location":"documentation/empanadas/#configuring-empanadas","title":"Configuring Empanadas","text":"

    Depending on how you are using empanadas will depend on how your configurations will be setup.

    These configuration files are delicate and can control a wide variety of the moving parts of empanadas. As these configurations are fairly massive, we recommend checking the reference guides for deeper details into configuring for base distribution or \"SIG\" content.

    "},{"location":"documentation/empanadas/#using-empanadas","title":"Using Empanadas","text":"

    The most common way to use empanadas is to sync repositories from a peridot instance. This is performed upon each release or on each set of updates as they come from upstream. Below lists how to use empanadas, as well as the common options.

    Note that for each of these commands, it is fully expected you are running poetry run in the root of empanadas.

    # Syncs all repositoryes for the \"9\" release\n% poetry run sync_from_peridot --release 9 --clean-old-packages\n\n# Syncs only the BaseOS repository without syncing sources\n% poetry run sync_from_peridot --release 9 --clean-old-packages --repo BaseOS --ignore-source\n\n# Syncs only AppStream for ppc64le\n% poetry run sync_from_peridot --release 9 --clean-old-packages --repo AppStream --arch ppc64le\n
    Resources Account ServicesGit (RESF Git Service)Git (Rocky Linux GitHub)Git (Rocky Linux GitLab)Mail ListsContacts

    URL: https://accounts.rockylinux.org

    Purpose: Account Services maintains the accounts for almost all components of the Rocky ecosystem

    Technology: Noggin used by Fedora Infrastructure

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    URL: https://git.resf.org

    Purpose: General projects, code, and so on for the Rocky Enterprise Software Foundation.

    Technology: Gitea

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://github.com/rocky-linux

    Purpose: General purpose code, assets, and so on for Rocky Linux. Some content is mirrored to the RESF Git Service.

    Technology: GitHub

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://git.rockylinux.org

    Purpose: Packages and light code for the Rocky Linux distribution

    Technology: GitLab

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://lists.resf.org

    Purpose: Users can subscribe and interact with various mail lists for the Rocky ecosystem

    Technology: Mailman 3 + Hyper Kitty

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    Name Email Mattermost Name IRC Name Louis Abel label@rockylinux.org @nazunalika Sokel/label/Sombra Mustafa Gezen mustafa@rockylinux.org @mustafa mstg Skip Grube skip@rockylinux.org @skip77 Sherif Nagy sherif@rockylinux.org @sherif Pablo Greco pgreco@rockylinux.org @pgreco pgreco Neil Hanlon neil@resf.org @neil neil Taylor Goodwill tg@resf.org @tgo tg"},{"location":"documentation/peridot/","title":"Peridot Build System","text":"

    This page goes over the Peridot Build System and how SIG/Core utilizes it.

    More to come.

    "},{"location":"documentation/rebuild/","title":"Rebuild Version Bump","text":"

    In some cases, a package has to be rebuilt. A package may be rebuilt for these reasons:

    This typically applies to packages being built from a given src subgroup. Packages pulled from upstream don't fall into this category in normal circumstances. In those cases, they receive .0.1 and so on as standalone rebuilds.

    "},{"location":"documentation/compose/","title":"Composing and Managing Releases","text":"

    This section goes over the process of composing a release from a bunch of packages to repositories, to images. This section also goes over the basics of working with koji when necessary.

    "},{"location":"documentation/compose/koji/","title":"Updates and Management in Koji, A Manual","text":"

    More to come.

    "},{"location":"documentation/references/","title":"References","text":"

    Use this section to locate reference configuration items for the toolkit.

    "},{"location":"documentation/references/empanadas_common/","title":"Empanadas common.py Configuration","text":"

    The common.py configuration contains dictionaries and classes that dictate most of the functionality of empanadas.

    "},{"location":"documentation/references/empanadas_common/#config-items","title":"Config Items","text":"

    type: Dictionary

    "},{"location":"documentation/references/empanadas_common/#configrlmacro","title":"config.rlmacro","text":"

    type: String

    required: True

    description: Empanadas expects to run on an EL system. This is part of the general check up. It should not be hardcoded and use the rpm python module.

    "},{"location":"documentation/references/empanadas_common/#configdist","title":"config.dist","text":"

    type: String

    required: False

    description: Was the original tag placed in mock configs. This combines el with the rpm python module expansion. This is no longer required. The option is still available for future use.

    "},{"location":"documentation/references/empanadas_common/#configarch","title":"config.arch","text":"

    type: String

    required: True

    description: The architecture of the current running system. This is checked against the supported architectures in general release configurations. This should not be hardcoded.

    "},{"location":"documentation/references/empanadas_common/#configdate_stamp","title":"config.date_stamp","text":"

    type: String

    required: True

    description: Date time stamp in the form of YYYYMMDD.HHMMSS. This should not be hardcoded.

    "},{"location":"documentation/references/empanadas_common/#configcompose_root","title":"config.compose_root","text":"

    type: String

    required: True

    description: Root path of composes on the system running empanadas.

    "},{"location":"documentation/references/empanadas_common/#configstaging_root","title":"config.staging_root","text":"

    type: String

    required: False

    description: For future use. Root path of staging repository location where content will be synced to.

    "},{"location":"documentation/references/empanadas_common/#configproduction_root","title":"config.production_root","text":"

    type: String

    required: False

    description: For future use. Root path of production repository location where content will be synced to from staging.

    "},{"location":"documentation/references/empanadas_common/#configcategory_stub","title":"config.category_stub","text":"

    type: String

    required: True

    description: For future use. Stub path that is appended to staging_root and production_root.

    example: mirror/pub/rocky

    "},{"location":"documentation/references/empanadas_common/#configsig_category_stub","title":"config.sig_category_stub","text":"

    type: String

    required: True

    description: For future use. Stub path that is appended to staging_root and production_root for SIG content.

    example: mirror/pub/sig

    "},{"location":"documentation/references/empanadas_common/#configrepo_base_url","title":"config.repo_base_url","text":"

    type: String

    required: True

    description: URL to the base url's where the repositories live. This is typically to a peridot instance. This is supplemented by the configuration project_id parameter.

    Note that this does not have to be a peridot instance. The combination of this value and project_id can be sufficient enough for empanadas to perform its work.

    "},{"location":"documentation/references/empanadas_common/#configmock_work_root","title":"config.mock_work_root","text":"

    type: String

    required: True

    description: Hardcoded path to where ISO work is performed within a mock chroot. This is the default path created by mock and it is recommended not to change this.

    example: /builddir

    "},{"location":"documentation/references/empanadas_common/#configcontainer","title":"config.container","text":"

    type: String

    required: True

    description: This is the container used to perform all operations in podman.

    example: centos:stream9

    "},{"location":"documentation/references/empanadas_common/#configdistname","title":"config.distname","text":"

    type: String

    required: True

    description: Name of the distribution you are building or building for.

    example: Rocky Linux

    "},{"location":"documentation/references/empanadas_common/#configshortname","title":"config.shortname","text":"

    type: String

    required: True

    description: Short name of the distribution you are building or building for.

    example: Rocky

    "},{"location":"documentation/references/empanadas_common/#configtranslators","title":"config.translators","text":"

    type: Dictionary

    required: True

    description: Translates Linux architectures to golang architectures. Reserved for future use.

    "},{"location":"documentation/references/empanadas_common/#configaws_region","title":"config.aws_region","text":"

    type: String

    required: False

    description: Region you are working in with AWS or onprem cloud that supports this variable.

    example: us-east-2

    "},{"location":"documentation/references/empanadas_common/#configbucket","title":"config.bucket","text":"

    type: String

    required: False

    description: Name of the S3-compatible bucket that is used to pull images from. Requires aws_region.

    "},{"location":"documentation/references/empanadas_common/#configbucket_url","title":"config.bucket_url","text":"

    type: String

    required: False

    description: URL of the S3-compatible bucket that is used to pull images from.

    "},{"location":"documentation/references/empanadas_common/#allowed_type_variants-items","title":"allowed_type_variants items","text":"

    type: Dictionary

    description: Key value pairs of cloud or image variants. The value is either None or a list type.

    "},{"location":"documentation/references/empanadas_common/#reference-example","title":"Reference Example","text":"
    config = {\n    \"rlmacro\": rpm.expandMacro('%rhel'),\n    \"dist\": 'el' + rpm.expandMacro('%rhel'),\n    \"arch\": platform.machine(),\n    \"date_stamp\": time.strftime(\"%Y%m%d.%H%M%S\", time.localtime()),\n    \"compose_root\": \"/mnt/compose\",\n    \"staging_root\": \"/mnt/repos-staging\",\n    \"production_root\": \"/mnt/repos-production\",\n    \"category_stub\": \"mirror/pub/rocky\",\n    \"sig_category_stub\": \"mirror/pub/sig\",\n    \"repo_base_url\": \"https://yumrepofs.build.resf.org/v1/projects\",\n    \"mock_work_root\": \"/builddir\",\n    \"container\": \"centos:stream9\",\n    \"distname\": \"Rocky Linux\",\n    \"shortname\": \"Rocky\",\n    \"translators\": {\n        \"x86_64\": \"amd64\",\n        \"aarch64\": \"arm64\",\n        \"ppc64le\": \"ppc64le\",\n        \"s390x\": \"s390x\",\n        \"i686\": \"386\"\n    },\n    \"aws_region\": \"us-east-2\",\n    \"bucket\": \"resf-empanadas\",\n    \"bucket_url\": \"https://resf-empanadas.s3.us-east-2.amazonaws.com\"\n}\n\nALLOWED_TYPE_VARIANTS = {\n        \"Azure\": None,\n        \"Container\": [\"Base\", \"Minimal\", \"UBI\"],\n        \"EC2\": None,\n        \"GenericCloud\": None,\n        \"Vagrant\": [\"Libvirt\", \"Vbox\"],\n        \"OCP\": None\n\n}\n
    "},{"location":"documentation/references/empanadas_config/","title":"Empanadas config yaml Configuration","text":"

    Each file in empanads/config/ is a yaml file that contains configuration items for the distribution release version. The configuration can heavily dictate the functionality and what features are directly supported by empanadas when ran.

    See the items below to see which options are mandatory and optional.

    "},{"location":"documentation/references/empanadas_config/#config-items","title":"Config Items","text":""},{"location":"documentation/references/empanadas_config/#top-level","title":"Top Level","text":"

    The Top Level is the name of the profile and starts the YAML dictionary for the release. It is alphanumeric and accepts punctuation within reason. Common examples:

    "},{"location":"documentation/references/empanadas_config/#fullname","title":"fullname","text":"

    type: String

    required: True

    description: Needed for treeinfo and discinfo generation.

    "},{"location":"documentation/references/empanadas_config/#revision","title":"revision","text":"

    type: String

    required: True

    description: Full version of a release

    "},{"location":"documentation/references/empanadas_config/#rclvl","title":"rclvl","text":"

    type: String

    required: True

    description: Release Candidate or Beta descriptor. Sets names and versions with this descriptor if enabled.

    "},{"location":"documentation/references/empanadas_config/#major","title":"major","text":"

    type: String

    required: True

    description: Major version of a release

    "},{"location":"documentation/references/empanadas_config/#minor","title":"minor","text":"

    type: String

    required: True

    description: Minor version of a release

    "},{"location":"documentation/references/empanadas_config/#profile","title":"profile","text":"

    type: String

    required: True

    description: Matches the top level of the release. This should not differ from the top level assignment.

    "},{"location":"documentation/references/empanadas_config/#disttag","title":"disttag","text":"

    type: String

    required: True

    description: Sets the dist tag for mock configs.

    "},{"location":"documentation/references/empanadas_config/#bugurl","title":"bugurl","text":"

    type: String

    required: True

    description: A URL to the bug tracker for this release or distribution.

    "},{"location":"documentation/references/empanadas_config/#checksum","title":"checksum","text":"

    type: String

    required: True

    description: Checksum type. Used when generating checksum information for images.

    "},{"location":"documentation/references/empanadas_config/#fedora_major","title":"fedora_major","text":"

    type: String

    required: False

    description: For future use with icicle.

    "},{"location":"documentation/references/empanadas_config/#allowed_arches","title":"allowed_arches","text":"

    type: list

    required: True

    description: List of supported architectures for this release.

    "},{"location":"documentation/references/empanadas_config/#provide_multilib","title":"provide_multilib","text":"

    type: boolean

    required: True

    description: Sets if architecture x86_64 will be multilib. It is recommended that this is set to True.

    "},{"location":"documentation/references/empanadas_config/#project_id","title":"project_id","text":"

    type: String

    required: True

    description: Appended to the base repo URL in common.py. For peridot, it is the project id that is generated for the project you are pulling from. It can be set to anything else if need be for non-peridot use.

    "},{"location":"documentation/references/empanadas_config/#repo_symlinks","title":"repo_symlinks","text":"

    type: dict

    required: False

    description: For future use. Sets symlinks to repositories for backwards compatibility. Key value pairs only.

    "},{"location":"documentation/references/empanadas_config/#renames","title":"renames","text":"

    type: dict

    required: False

    description: Renames a repository to the value set. For example, renaming all to devel. Set to {} if no renames are goign to occur.

    "},{"location":"documentation/references/empanadas_config/#all_repos","title":"all_repos","text":"

    type: list

    required: True

    description: List of repositories that will be synced/managed by empanadas.

    "},{"location":"documentation/references/empanadas_config/#structure","title":"structure","text":"

    type: dict

    required: True

    description: Key value pairs of packages and repodata. These are appended appropriately during syncing and ISO actions. Setting these are mandatory.

    "},{"location":"documentation/references/empanadas_config/#iso_map","title":"iso_map","text":"

    type: dictionary

    required: True if building ISO's and operating with lorax.

    description: Controls how lorax and extra ISO's are built.

    If are you not building images, set to {}

    "},{"location":"documentation/references/empanadas_config/#xorrisofs","title":"xorrisofs","text":"

    type: boolean

    required: True

    description: Dictates of xorrisofs is used to build images. Setting to false uses genisoimage. It is recommended that xorrisofs is used.

    "},{"location":"documentation/references/empanadas_config/#iso_level","title":"iso_level","text":"

    type: boolean

    required: True

    description: Set to false if you are using xorrisofs. Can be set to true when using genisoimage.

    "},{"location":"documentation/references/empanadas_config/#images","title":"images","text":"

    type: dict

    required: True

    description: Dictates the ISO images that will be made or the treeinfo that will be generated.

    Note: The primary repository (for example, BaseOS) will need to be listed to ensure the treeinfo data is correctly generated. disc should be set to False and isoskip should be set to True. See the example section for an example.

    "},{"location":"documentation/references/empanadas_config/#namedisc","title":"name.disc","text":"

    type: boolean

    required: True

    description: This tells the iso builder if this will be a generated ISO.

    "},{"location":"documentation/references/empanadas_config/#nameisoskip","title":"name.isoskip","text":"

    type: boolean

    required: False

    description: This tells the iso builder if this will be skipped, even if disc is set to True. Default is False.

    "},{"location":"documentation/references/empanadas_config/#namevariant","title":"name.variant","text":"

    type: string

    required: True

    description: Names the primary variant repository for the image. This is set in .treeinfo.

    "},{"location":"documentation/references/empanadas_config/#namerepos","title":"name.repos","text":"

    type: list

    required: True

    description: Names of the repositories included in the image. This is added to .treeinfo.

    "},{"location":"documentation/references/empanadas_config/#namevolname","title":"name.volname","text":"

    type: string

    required: True

    required value: dvd

    description: This is required if building more than the DVD image. By default, the the name dvd is harcoded in the buildImage template.

    "},{"location":"documentation/references/empanadas_config/#lorax","title":"lorax","text":"

    type: dict

    required: True if building lorax images.

    description: Sets up lorax images and which repositories to use when building lorax images.

    "},{"location":"documentation/references/empanadas_config/#loraxrepos","title":"lorax.repos","text":"

    type: list

    required: True

    description: List of repos that are used to pull packages to build the lorax images.

    "},{"location":"documentation/references/empanadas_config/#loraxvariant","title":"lorax.variant","text":"

    type: string

    required: True

    description: Base repository for the release

    "},{"location":"documentation/references/empanadas_config/#loraxlorax_removes","title":"lorax.lorax_removes","text":"

    type: list

    required: False

    description: Excludes packages that are not needed when lorax is running.

    "},{"location":"documentation/references/empanadas_config/#loraxrequired_pkgs","title":"lorax.required_pkgs","text":"

    type: list

    required: True

    description: Required list of installed packages needed to build lorax images.

    "},{"location":"documentation/references/empanadas_config/#livemap","title":"livemap","text":"

    type: dict

    required: False

    description: Dictates what live images are built and how they are built.

    "},{"location":"documentation/references/empanadas_config/#livemapgit_repo","title":"livemap.git_repo","text":"

    type: string

    required: True

    description: The git repository URL where the kickstarts live

    "},{"location":"documentation/references/empanadas_config/#livemapbranch","title":"livemap.branch","text":"

    type: string

    required: True

    description: The branch being used for the kickstarts

    "},{"location":"documentation/references/empanadas_config/#livemapksentry","title":"livemap.ksentry","text":"

    type: dict

    required: True

    description: Key value pairs of the live images being created. Key being the name of the live image, value being the kickstart name/path.

    "},{"location":"documentation/references/empanadas_config/#livemapallowed_arches","title":"livemap.allowed_arches","text":"

    type: list

    required: True

    description: List of allowed architectures that will build for the live images.

    "},{"location":"documentation/references/empanadas_config/#livemaprequired_pkgs","title":"livemap.required_pkgs","text":"

    type: list

    required: True

    description: Required list of packages needed to build the live images.

    "},{"location":"documentation/references/empanadas_config/#cloudimages","title":"cloudimages","text":"

    type: dict

    required: False

    description: Cloud related settings.

    Set to {} if not needed.

    "},{"location":"documentation/references/empanadas_config/#cloudimagesimages","title":"cloudimages.images","text":"

    type: dict

    required: True

    description: Cloud images that will be generated and in a bucket to be pulled, and their format.

    "},{"location":"documentation/references/empanadas_config/#cloudimagesimagesname","title":"cloudimages.images.name","text":"

    type: dict

    required: True

    description: Name of the cloud image being pulled.

    Accepted key value options:

    "},{"location":"documentation/references/empanadas_config/#repoclosure_map","title":"repoclosure_map","text":"

    type: dict

    required: True

    description: Repoclosure settings. These settings are absolutely required when doing full syncs and need to check repositories for consistency.

    "},{"location":"documentation/references/empanadas_config/#repoclosure_maparches","title":"repoclosure_map.arches","text":"

    type: dict

    required: True

    description: For each architecture (key), dnf switches/settings that dictate how repoclosure will check for consistency (value, string).

    example: x86_64: '--forcearch=x86_64 --arch=x86_64 --arch=athlon --arch=i686 --arch=i586 --arch=i486 --arch=i386 --arch=noarch'

    "},{"location":"documentation/references/empanadas_config/#repoclosure_maprepos","title":"repoclosure_map.repos","text":"

    type: dict

    required: True

    description: For each repository that is pulled for a given release(key), repositories that will be included in the repoclosure check. A repository that only checks against itself must have a value of [].

    "},{"location":"documentation/references/empanadas_config/#extra_files","title":"extra_files","text":"

    type: dict

    required: True

    description: Extra files settings and where they come from. Git repositories are the only supported method.

    "},{"location":"documentation/references/empanadas_config/#extra_filesgit_repo","title":"extra_files.git_repo","text":"

    type: string

    required: True

    description: URL to the git repository with the extra files.

    "},{"location":"documentation/references/empanadas_config/#extra_filesgit_raw_path","title":"extra_files.git_raw_path","text":"

    type: string

    required: True

    description: URL to the git repository with the extra files, but the \"raw\" url form.

    example: git_raw_path: 'https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/'

    "},{"location":"documentation/references/empanadas_config/#extra_filesbranch","title":"extra_files.branch","text":"

    type: string

    required: True

    description: Branch where the extra files are pulled from.

    "},{"location":"documentation/references/empanadas_config/#extra_filesgpg","title":"extra_files.gpg","text":"

    type: dict

    required: True

    description: For each gpg key type (key), the relative path to the key in the git repository (value).

    These keys help set up the repository configuration when doing syncs.

    By default, the RepoSync class sets stable as the gpgkey that is used.

    "},{"location":"documentation/references/empanadas_config/#extra_fileslist","title":"extra_files.list","text":"

    type: list

    required: True

    description: List of files from the git repository that will be used as \"extra\" files and placed in the repositories and available to mirrors and will appear on ISO images if applicable.

    "},{"location":"documentation/references/empanadas_config/#reference-example","title":"Reference Example","text":"
    ---\n'9':\n  fullname: 'Rocky Linux 9.0'\n  revision: '9.0'\n  rclvl: 'RC2'\n  major: '9'\n  minor: '0'\n  profile: '9'\n  disttag: 'el9'\n  bugurl: 'https://bugs.rockylinux.org'\n  checksum: 'sha256'\n  fedora_major: '20'\n  allowed_arches:\n    - x86_64\n    - aarch64\n    - ppc64le\n    - s390x\n  provide_multilib: True\n  project_id: '55b17281-bc54-4929-8aca-a8a11d628738'\n  repo_symlinks:\n    NFV: 'nfv'\n  renames:\n    all: 'devel'\n  all_repos:\n    - 'all'\n    - 'BaseOS'\n    - 'AppStream'\n    - 'CRB'\n    - 'HighAvailability'\n    - 'ResilientStorage'\n    - 'RT'\n    - 'NFV'\n    - 'SAP'\n    - 'SAPHANA'\n    - 'extras'\n    - 'plus'\n  structure:\n    packages: 'os/Packages'\n    repodata: 'os/repodata'\n  iso_map:\n    xorrisofs: True\n    iso_level: False\n    images:\n      dvd:\n        disc: True\n        variant: 'AppStream'\n        repos:\n          - 'BaseOS'\n          - 'AppStream'\n      minimal:\n        disc: True\n        isoskip: True\n        repos:\n          - 'minimal'\n          - 'BaseOS'\n        variant: 'minimal'\n        volname: 'dvd'\n      BaseOS:\n        disc: False\n        isoskip: True\n        variant: 'BaseOS'\n        repos:\n          - 'BaseOS'\n          - 'AppStream'\n    lorax:\n      repos:\n        - 'BaseOS'\n        - 'AppStream'\n      variant: 'BaseOS'\n      lorax_removes:\n        - 'libreport-rhel-anaconda-bugzilla'\n      required_pkgs:\n        - 'lorax'\n        - 'genisoimage'\n        - 'isomd5sum'\n        - 'lorax-templates-rhel'\n        - 'lorax-templates-generic'\n        - 'xorriso'\n  cloudimages:\n    images:\n      EC2:\n        format: raw\n      GenericCloud:\n        format: qcow2\n  livemap:\n    git_repo: 'https://git.resf.org/sig_core/kickstarts.git'\n    branch: 'r9'\n    ksentry:\n      Workstation: rocky-live-workstation.ks\n      Workstation-Lite: rocky-live-workstation-lite.ks\n      XFCE: rocky-live-xfce.ks\n      KDE: rocky-live-kde.ks\n      MATE: rocky-live-mate.ks\n    allowed_arches:\n      - x86_64\n      - aarch64\n    required_pkgs:\n      - 'lorax-lmc-novirt'\n      - 'vim-minimal'\n      - 'pykickstart'\n      - 'git'\n  variantmap:\n    git_repo: 'https://git.rockylinux.org/rocky/pungi-rocky.git'\n    branch: 'r9'\n    git_raw_path: 'https://git.rockylinux.org/rocky/pungi-rocky/-/raw/r9/'\n  repoclosure_map:\n    arches:\n      x86_64: '--forcearch=x86_64 --arch=x86_64 --arch=athlon --arch=i686 --arch=i586 --arch=i486 --arch=i386 --arch=noarch'\n      aarch64: '--forcearch=aarch64 --arch=aarch64 --arch=noarch'\n      ppc64le: '--forcearch=ppc64le --arch=ppc64le --arch=noarch'\n      s390x: '--forcearch=s390x --arch=s390x --arch=noarch'\n    repos:\n      devel: []\n      BaseOS: []\n      AppStream:\n        - BaseOS\n      CRB:\n        - BaseOS\n        - AppStream\n      HighAvailability:\n        - BaseOS\n        - AppStream\n      ResilientStorage:\n        - BaseOS\n        - AppStream\n      RT:\n        - BaseOS\n        - AppStream\n      NFV:\n        - BaseOS\n        - AppStream\n      SAP:\n        - BaseOS\n        - AppStream\n        - HighAvailability\n      SAPHANA:\n        - BaseOS\n        - AppStream\n        - HighAvailability\n  extra_files:\n    git_repo: 'https://git.rockylinux.org/staging/src/rocky-release.git'\n    git_raw_path: 'https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/'\n    branch: 'r9'\n    gpg:\n      stable: 'SOURCES/RPM-GPG-KEY-Rocky-9'\n      testing: 'SOURCES/RPM-GPG-KEY-Rocky-9-Testing'\n    list:\n      - 'SOURCES/Contributors'\n      - 'SOURCES/COMMUNITY-CHARTER'\n      - 'SOURCES/EULA'\n      - 'SOURCES/LICENSE'\n      - 'SOURCES/RPM-GPG-KEY-Rocky-9'\n      - 'SOURCES/RPM-GPG-KEY-Rocky-9-Testing'\n...\n
    "},{"location":"documentation/references/empanadas_sig_config/","title":"Empanadas SIG yaml Configuration","text":"

    Each file in empanads/sig/ is a yaml file that contains configuration items for the distribution release version. The configuration determines the structure of the SIG repositories synced from Peridot or a given repo.

    Note that a release profile (for a major version) is still required for this sync to work.

    See the items below to see which options are mandatory and optional.

    "},{"location":"documentation/references/empanadas_sig_config/#config-items","title":"Config Items","text":""},{"location":"documentation/references/empanadas_sig_config/#reference-example","title":"Reference Example","text":""},{"location":"include/resources_bottom/","title":"Resources bottom","text":"Resources Account ServicesGit (RESF Git Service)Git (Rocky Linux GitHub)Git (Rocky Linux GitLab)Mail ListsContacts

    URL: https://accounts.rockylinux.org

    Purpose: Account Services maintains the accounts for almost all components of the Rocky ecosystem

    Technology: Noggin used by Fedora Infrastructure

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    URL: https://git.resf.org

    Purpose: General projects, code, and so on for the Rocky Enterprise Software Foundation.

    Technology: Gitea

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://github.com/rocky-linux

    Purpose: General purpose code, assets, and so on for Rocky Linux. Some content is mirrored to the RESF Git Service.

    Technology: GitHub

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://git.rockylinux.org

    Purpose: Packages and light code for the Rocky Linux distribution

    Technology: GitLab

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://lists.resf.org

    Purpose: Users can subscribe and interact with various mail lists for the Rocky ecosystem

    Technology: Mailman 3 + Hyper Kitty

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    Name Email Mattermost Name IRC Name Louis Abel label@rockylinux.org @nazunalika Sokel/label/Sombra Mustafa Gezen mustafa@rockylinux.org @mustafa mstg Skip Grube skip@rockylinux.org @skip77 Sherif Nagy sherif@rockylinux.org @sherif Pablo Greco pgreco@rockylinux.org @pgreco pgreco Neil Hanlon neil@resf.org @neil neil Taylor Goodwill tg@resf.org @tgo tg"},{"location":"sop/","title":"SOP (Standard Operationg Procedures)","text":"

    This section goes over the various SOP's for SIG/Core. Please use the menu items to find the various pages of interest.

    "},{"location":"sop/sop_compose/","title":"SOP: Compose and Repo Sync for Rocky Linux and Peridot","text":"

    This SOP covers how the Rocky Linux Release Engineering Team handles composes and repository syncs for the distribution. It contains information of the scripts that are utilized and in what order, depending on the use case.

    "},{"location":"sop/sop_compose/#contact-information","title":"Contact Information","text":"Owner Release Engineering Team Email Contact releng@rockylinux.org Email Contact infrastructure@rockylinux.org Mattermost Contacts @label @mustafa @neil @tgo Mattermost Channels ~Development"},{"location":"sop/sop_compose/#related-git-repositories","title":"Related Git Repositories","text":"

    There are several git repositories used in the overall composition of a repository or a set of repositories.

    Pungi - This repository contains all the necessary pungi configuration files that peridot translates into its own configuration. Pungi is no longer used for Rocky Linux.

    Comps - This repository contains all the necessary comps (which are groups and other data) for a given major version. Peridot (and pungi) use this information to properly build repositories.

    Toolkit - This repository contains various scripts and utilities used by Release Engineering, such as syncing composes, functionality testing, and mirror maintenance.

    "},{"location":"sop/sop_compose/#composing-repositories","title":"Composing Repositories","text":""},{"location":"sop/sop_compose/#mount-structure","title":"Mount Structure","text":"

    There is a designated system that takes care of composing repositories. These systems contain the necessary EFS/NFS mounts for the staging and production repositories as well as composes.

    "},{"location":"sop/sop_compose/#empanadas","title":"Empanadas","text":"

    Each repository or set of repositories are controlled by various comps and pungi configurations that are translated into peridot. Empanadas is used to run a reposync from peridot's yumrepofs repositories, generate ISO's, and create a pungi compose look-a-like. Because of this, the comps and pungi-rocky configuration is not referenced with empanadas.

    "},{"location":"sop/sop_compose/#running-a-compose","title":"Running a Compose","text":"

    First, the toolkit must be cloned. In the iso/empanadas directory, run poetry install. You'll then have access to the various commands needed:

    To perform a full compose, this order is expected (replacing X with major version or config profile)

    # This creates a brand new directory under /mnt/compose/X and symlinks it to latest-Rocky-X\npoertry run sync_from_peridot --release X --hashed --repoclosure --full-run\n\n# On each architecture, this must be ran to generate the lorax images\n# !! Use --rc if the image is a release candidate or a beta image\n# Note: This is typically done using kubernetes and uploaded to a bucket\npoetry run build-iso --release X --isolation=None\n\n# The images are pulled from the bucket\npoetry run pull-unpack-tree --release X\n\n# The extra ISO's (usually just DVD) are generated\n# !! Use --rc if the image is a release candidate or a beta image\n# !! Set --extra-iso-mode to mock if desired\n# !! If there is more than the dvd, remove --extra-iso dvd\npoetry run build-iso-extra --release X --extra-iso dvd --extra-iso-mode podman\n\n# This pulls the generic and EC2 cloud images\npoetry run pull-cloud-image --release X\n\n# This ensures everything is closed out for a release. This copies iso's, images,\n# generates metadata, and the like.\n# !! DO NOT RUN DURING INCREMENTAL UPDATES !!\npoetry run finalize_compose --release X\n
    "},{"location":"sop/sop_compose/#syncing-composes","title":"Syncing Composes","text":"

    Syncing utilizes the sync scripts provided in the release engineering toolkit.

    When the scripts are being ran, they are usually ran with a specific purpose, as each major version may be different.

    The below are common vars files. common_X will override what's in common. Typically these set what repositories exist and how they are named or look at the top level. These also set the current major.minor release as necessary.

    .\n\u251c\u2500\u2500 common\n\u251c\u2500\u2500 common_8\n\u251c\u2500\u2500 common_9\n

    These are for the releases in general. What they do is noted below.

    \u251c\u2500\u2500 gen-torrents.sh                  -> Generates torrents for images\n\u251c\u2500\u2500 minor-release-sync-to-staging.sh -> Syncs a minor release to staging\n\u251c\u2500\u2500 prep-staging-X.sh                -> Preps staging updates and signs repos (only for 8)\n\u251c\u2500\u2500 sign-repos-only.sh               -> Signs the repomd (only for 8)\n\u251c\u2500\u2500 sync-file-list-parallel.sh       -> Generates file lists in parallel for mirror sync scripts\n\u251c\u2500\u2500 sync-to-prod.sh                  -> Syncs staging to production\n\u251c\u2500\u2500 sync-to-prod.delete.sh           -> Syncs staging to production (deletes artifacts that are no longer in staging)\n\u251c\u2500\u2500 sync-to-prod-sig.sh              -> Syncs a sig provided compose to production\n\u251c\u2500\u2500 sync-to-staging.sh               -> Syncs a provided compose to staging\n\u251c\u2500\u2500 sync-to-staging.delete.sh        -> Syncs a provided compose to staging (deletes artifacts that are no longer in the compose)\n\u251c\u2500\u2500 sync-to-staging-sig.sh           -> Syncs a sig provided compose to staging\n

    Generally, you will only run sync-to-staging.sh or sync-to-staging.delete.sh to sync. The former is for older releases, the latter is for newer releases. Optionally, if you are syncing a \"beta\" or \"lookahead\" release, you will need to also provide the RLREL variable as beta or lookahead.

    # The below syncs to staging for Rocky Linux 8\nRLVER=8 bash sync-to-staging.sh Rocky\n# The below syncs to staging for Rocky Linux 9\nRLVER=9 bash sync-to-staging.delete.sh Rocky\n

    Once the syncs are done, staging must be tested and vetted before being sent to production. Once staging is completed, it is synced to production.

    bash RLVER=8 sync-to-prod.sh\nbash RLVER=9 sync-to-prod.delete.sh\nbash sync-file-list-parallel.sh\n

    During this phase, staging is rsynced with production, the file list is updated, and the full time list is also updated to allow mirrors to know that the repositories have been updated and that they can sync.

    Note: If multiple releases are being updated, it is important to run the syncs to completion before running the file list parallel script.

    "},{"location":"sop/sop_compose_8/","title":"SOP: Compose and Repo Sync for Rocky Linux 8","text":"

    This SOP covers how the Rocky Linux Release Engineering Team handles composes and repository syncs for Rocky Linux 8. It contains information of the scripts that are utilized and in what order, depending on the use case.

    Please see the other SOP for Rocky Linux 9+ that are managed via empanadas and peridot.

    "},{"location":"sop/sop_compose_8/#contact-information","title":"Contact Information","text":"Owner Release Engineering Team Email Contact releng@rockylinux.org Email Contact infrastructure@rockylinux.org Mattermost Contacts @label @mustafa @neil @tgo Mattermost Channels ~Development"},{"location":"sop/sop_compose_8/#related-git-repositories","title":"Related Git Repositories","text":"

    There are several git repositories used in the overall composition of a repository or a set of repositories.

    Pungi - This repository contains all the necessary pungi configuration files for composes that come from koji. Pungi interacts with koji to build the composes.

    Comps - This repository contains all the necessary comps (which are groups and other data) for a given major version. Pungi uses this information to properly build the repositories.

    Toolkit - This repository contains various scripts and utilities used by Release Engineering, such as syncing composes, functionality testing, and mirror maintenance.

    "},{"location":"sop/sop_compose_8/#composing-repositories","title":"Composing Repositories","text":""},{"location":"sop/sop_compose_8/#mount-structure","title":"Mount Structure","text":"

    There is a designated system that takes care of composing repositories. These systems contain the necessary EFS/NFS mounts for the staging and production repositories as well as composes.

    "},{"location":"sop/sop_compose_8/#pungi","title":"Pungi","text":"

    Each repository or set of repositories are controlled by various pungi configurations. For example, r8.conf will control the absolute base of Rocky Linux 8, which imports other git repository data as well as accompanying json or other configuration files.

    "},{"location":"sop/sop_compose_8/#running-a-compose","title":"Running a Compose","text":"

    Inside the pungi git repository, the folder scripts contain the necessary scripts that are ran to perform a compose. There are different types of composes:

    Each script is titled appropriately:

    When these scripts are ran, they generate an appropriate directory under /mnt/compose/X with a directory and an accompanying symlink. For example. If an update to Rocky was made using updates-8.sh, the below would be made:

    drwxr-xr-x. 5 root  root  6144 Jul 21 17:44 Rocky-8-updates-20210721.1\nlrwxrwxrwx. 1 root  root    26 Jul 21 18:26 latest-Rocky-8 -> Rocky-8-updates-20210721.1\n

    This setup also allows pungi to reuse previous package set data to reduce the time it takes to build a compose. Typically during a new minor release, all composes should be ran so they can be properly combined. Example of a typical order if releasing 8.X:

    produce-8.sh\nupdates-8-devel.sh\nupdates-8-extras.sh\nupdates-8-plus.sh\n
    "},{"location":"sop/sop_compose_8/#syncing-composes","title":"Syncing Composes","text":"

    Syncing utilizes the sync scripts provided in the release engineering toolkit.

    When the scripts are being ran, they are usually ran for a specific purpose. They are also ran in a certain order to ensure integrity and consistency of a release.

    The below are common vars files. common_X will override what's in common. Typically these set what repositories exist and how they are named or look at the top level. These also set the current major.minor release as necessary.

    .\n\u251c\u2500\u2500 common\n\u251c\u2500\u2500 common_8\n\u251c\u2500\u2500 common_9\n

    These are for the releases in general. What they do is noted below.

    \u251c\u2500\u2500 gen-torrents.sh                  -> Generates torrents for images\n\u251c\u2500\u2500 minor-release-sync-to-staging.sh -> Syncs a minor release to staging\n\u251c\u2500\u2500 prep-staging-X.sh                -> Preps staging updates and signs repos\n\u251c\u2500\u2500 sign-repos-only.sh               -> Signs the repomd (only)\n\u251c\u2500\u2500 sync-to-prod.sh                  -> Syncs staging to production\n\u251c\u2500\u2500 sync-to-staging.sh               -> Syncs a provided compose to staging\n\u251c\u2500\u2500 sync-to-staging-sig.sh           -> Syncs a sig provided compose to staging\n

    Generally, you will only run minor-release-sync-to-staging.sh when a full minor release is being produced. So for example, if 8.5 has been built out, you would run that after a compose. gen-torrents.sh would be ran shortly after.

    When doing updates, the order of operations (preferably) would be:

    * sync-to-staging.sh\n* sync-to-staging-sig.sh -> Only if sigs are updated\n* prep-staging-8.sh`     -> This is required to ensure the groups, comps, and\n                            module data stay sane. This helps us provide older\n                            packages in the repos as well as signs repo metadata.\n* sync-to-prod.sh        -> After the initial testing, it is sent to prod.\n

    An example of order:

    # The below syncs to staging\nRLVER=8 bash sync-to-staging.sh Plus\nRLVER=8 bash sync-to-staging.sh Extras\nRLVER=8 bash sync-to-staging.sh Rocky-devel\nRLVER=8 bash sync-to-staging.sh Rocky\nbash prep-staging-8.sh\n

    Once the syncs are done, staging must be tested and vetted before being sent to production. During this stage, the updateinfo.xml is also applied where necessary to the repositories to provide errata. Once staging is completed, it is synced to production.

    bash RLVER=8 sync-to-prod.sh\nbash bash sync-file-list-parallel.sh\n

    During this phase, staging is rsynced with production, the file list is updated, and the full time list is also updated to allow mirrors to know that the repositories have been updated and that they can sync.

    Note: If multiple releases are being updated, it is important to run the syncs to completion before running the file list parallel script.

    "},{"location":"sop/sop_compose_sig/","title":"SOP: Compose and Repo Sync for Rocky Linux Special Interest Groups","text":"

    This SOP covers how the Rocky Linux Release Engineering Team handles composes and repository syncs for Special Interest Groups.

    "},{"location":"sop/sop_compose_sig/#contact-information","title":"Contact Information","text":"Owner Release Engineering Team Email Contact releng@rockylinux.org Email Contact infrastructure@rockylinux.org Mattermost Contacts @label @mustafa @neil @tgo Mattermost Channels ~Development"},{"location":"sop/sop_compose_sig/#composing-repositories","title":"Composing Repositories","text":""},{"location":"sop/sop_compose_sig/#mount-structure","title":"Mount Structure","text":"

    There is a designated system that takes care of composing repositories. These systems contain the necessary EFS/NFS mounts for the staging and production repositories as well as composes.

    "},{"location":"sop/sop_compose_sig/#empanadas","title":"Empanadas","text":"

    Each repository or set of repositories are controlled by various comps and pungi configurations that are translated into peridot. Empanadas is used to run a reposync from peridot's yumrepofs repositories, generate ISO's, and create a pungi compose look-a-like. Because of this, the comps and pungi-rocky configuration is not referenced with empanadas.

    "},{"location":"sop/sop_compose_sig/#running-a-compose","title":"Running a Compose","text":"

    First, the toolkit must be cloned. In the iso/empanadas directory, run poetry install. You'll then have access to the various commands needed:

    To perform a compose of a SIG, it must be defined in the configuration. As an example, here is composing the core sig.

    # This creates a brand new directory under /mnt/compose/X and symlinks it to latest-SIG-Y-X\n~/.local/bin/poetry run sync_sig --release 9 --sig core --hashed --clean-old-packages --full-run\n\n# This assumes the directories already exist and will update in place.\n~/.local/bin/poetry run sync_sig --release 9 --sig core --hashed --clean-old-packages\n
    "},{"location":"sop/sop_compose_sig/#syncing-composes","title":"Syncing Composes","text":"

    Syncing utilizes the sync scripts provided in the release engineering toolkit.

    When the scripts are being ran, they are usually ran with a specific purpose, as each major version may be different.

    For SIG's, the only files you'll need to know of are sync-to-staging-sig.sh and sync-to-prod-sig.sh. Both scripts will delete packages and data that are no longer in the compose.

    # The below syncs the core 8 repos to staging\nRLVER=8 bash sync-to-staging-sig.sh core\n# The below syncs the core 9 repos to staging\nRLVER=9 bash sync-to-staging-sig.sh core\n\n# The below syncs everything in staging for 8 core to prod\nRLVER=8 bash sync-to-prod-sig.sh core\n\n# The below syncs everything in staging for 9 core to prod\nRLVER=9 bash sync-to-prod-sig.sh core\n

    Once staging is completed and reviewed, it is synced to production.

    bash sync-file-list-parallel.sh\n

    During this phase, staging is rsynced with production, the file list is updated, and the full time list is also updated to allow mirrors to know that the repositories have been updated and that they can sync.

    "},{"location":"sop/sop_mirrormanager2/","title":"Mirror Manager Maintenance","text":"

    This SOP contains most if not all the information needed for SIG/Core to maintain and operate Mirror Manager for Rocky Linux.

    "},{"location":"sop/sop_mirrormanager2/#contact-information","title":"Contact Information","text":"Owner SIG/Core (Release Engineering & Infrastructure) Email Contact infrastructure@rockylinux.org Email Contact releng@rockylinux.org Mattermost Contacts @label @neil @tgo Mattermost Channels ~Infrastructure"},{"location":"sop/sop_mirrormanager2/#introduction","title":"Introduction","text":"

    So you made a bad decision and now have to do things to Mirror Manager. Good luck.

    "},{"location":"sop/sop_mirrormanager2/#pieces","title":"Pieces","text":"Item Runs on... Software Mirrorlist Server mirrormanager001 https://github.com/adrianreber/mirrorlist-server/ Mirror Manager 2 mirrormanager001 https://github.com/fedora-infra/mirrormanager2"},{"location":"sop/sop_mirrormanager2/#mirrorlist-server","title":"Mirrorlist Server","text":"

    This runs two (2) instances. Apache/httpd is configured to send /mirrorlist to one and /debuglist to the other.

    Note that the timing for the restart of the mirror list instances are arbitrary.

    "},{"location":"sop/sop_mirrormanager2/#mirror-manager-2","title":"Mirror Manager 2","text":"

    This is a uwsgi service fronted by an apache/httpd instance. This is responsible for everything else that is not /mirrorlist or /debuglist. This allows the mirror managers to, well, manage their mirrors.

    "},{"location":"sop/sop_mirrormanager2/#cdn","title":"CDN","text":"

    Fastly sits in front of mirror manager. VPN is required to access the /admin endpoints.

    If the backend of the CDN is down, it will attempt to guess what the user wanted to access and spit out a result on the dl.rockylinux.org website. For example, a request for AppStream-8 and x86_64 will result in a AppStream/x86_64/os directory on dl.rockylinux.org. Note that this isn't perfect, but it helps in potential down time or patching.

    Fastly -> www firewall -> mirrormanager server\n

    In reality, the flow is a lot more complex, and a diagram should be created to map it out in a more user-friendly manner (@TODO)

    User -> Fastly -> AWS NLB over TLS, passthru -> www firewall cluster (decrypt TLS) -> mirrormanager server (Rocky CA TLS)\n
    "},{"location":"sop/sop_mirrormanager2/#tasks","title":"Tasks","text":"

    Below are a list of possible tasks to take with mirror manager, depending on the scenario.

    "},{"location":"sop/sop_mirrormanager2/#new-release","title":"New Release","text":"

    For the following steps, the following must be completed:

    /opt/mirrormanager/scan-primary-mirror-0.4.2/target/debug/scan-primary-mirror --debug --config $HOME/scan-primary-mirror.toml --category 'Rocky Linux'\n/opt/mirrormanager/scan-primary-mirror-0.4.2/target/debug/scan-primary-mirror --debug --config $HOME/scan-primary-mirror.toml --category 'Rocky Linux SIGs'\n
    1. Update the redirects for $reponame-$releasever

      a. Use psql to mirrormanager server: psql -U mirrormanager -W -h mirrormanager_db_host mirrormanager_db b. Confirm that all three columns are filled and that the second and third columns are identical: select rr.from_repo AS \"From Repo\", rr.to_repo AS \"To Repo\", r.prefix AS \"Target Repo\" FROM repository_redirect AS rr LEFT JOIN repository AS r ON rr.to_repo = r.prefix GROUP BY r.prefix, rr.to_repo, rr.from_repo ORDER BY r.prefix ASC; c. Change the majorversion redirects to point to the new point release, for example: update repository_redirect set to_repo = regexp_replace(to_repo, '9\\.0', '9.1') where from_repo ~ '(\\w+)-9';

    2. Generate the mirrorlist cache and restart the debuglist and verify.

    Once the bitflip is initiated, restart mirrorlist and reenable all cronjobs.

    "},{"location":"sop/sop_mirrormanager2/#out-of-date-mirrors","title":"Out-of-date Mirrors","text":"
    1. Get current shasum of repomd.xml. For example: shasum=$(curl https://dl.rockylinux.org/pub/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml | sha256sum)
    2. Compare against latest propagation log:
    tail -latr /var/log/mirrormanager/propagation/rocky-9.0-BaseOS-x86_64_propagation.log.*`\n\nexport VER=9.0\nawk -v shasum=$(curl -s https://dl.rockylinux.org/pub/rocky/$VER/BaseOS/x86_64/os/repodata/repomd.xml | sha256sum | awk '{print $1}') -F'::' '{split($0,data,\":\")} {if ($4 != shasum) {print data[5], data[6], $2, $7}}' < $(find /var/log/mirrormanager/propagation/ -name \"rocky-${VER}-BaseOS-x86_64_propagation.log*\" -mtime -1 | tail -1)'\n

    This will generate a table. You can take the IDs in the first column and use the database to disable them by ID (table name: hosts) or go to https://mirrors.rockylinux.org/mirrormanager/host/ID and uncheck 'User active'.

    Users can change user active, but they cannot change admin active. It is better to flip user active in this case.

    Admins can also view https://mirrors.rockylinux.org/mirrormanager/admin/all_sites if necessary.

    Example of table columns:

    [mirrormanager@ord1-prod-mirrormanager001 propagation]$ awk -v shasum=$(curl -s https://dl.rockylinux.org/pub/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml | sha256sum | awk '{print $1}') -F'::' '{split($0,data,\":\")} {if ($4 != shasum) {print data[5], data[6], $2, $7}}' < rocky-9.0-BaseOS-x86_64_propagation.log.1660611632 | column -t\n164  mirror.host.ag            http://mirror.host.ag/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml             404\n173  rocky.centos-repo.net     http://rocky.centos-repo.net/9.0/BaseOS/x86_64/os/repodata/repomd.xml            403\n92   rocky.mirror.co.ge        http://rocky.mirror.co.ge/9.0/BaseOS/x86_64/os/repodata/repomd.xml               404\n289  mirror.vsys.host          http://mirror.vsys.host/rockylinux/9.0/BaseOS/x86_64/os/repodata/repomd.xml      404\n269  mirrors.rackbud.com       http://mirrors.rackbud.com/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml        200\n295  mirror.ps.kz              http://mirror.ps.kz/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml               200\n114  mirror.liteserver.nl      http://rockylinux.mirror.liteserver.nl/9.0/BaseOS/x86_64/os/repodata/repomd.xml  200\n275  mirror.upsi.edu.my        http://mirror.upsi.edu.my/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml         200\n190  mirror.kku.ac.th          http://mirror.kku.ac.th/rocky-linux/9.0/BaseOS/x86_64/os/repodata/repomd.xml     404\n292  mirrors.cat.pdx.edu       http://mirrors.cat.pdx.edu/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml        200\n370  mirrors.gbnetwork.com     http://mirrors.gbnetwork.com/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml      404\n308  mirror.ihost.md           http://mirror.ihost.md/rockylinux/9.0/BaseOS/x86_64/os/repodata/repomd.xml       404\n87   mirror.freedif.org        http://mirror.freedif.org/Rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml         404\n194  mirrors.bestthaihost.com  http://mirrors.bestthaihost.com/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml   404\n30   mirror.admax.se           http://mirror.admax.se/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml            200\n195  mirror.uepg.br            http://mirror.uepg.br/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml             404\n247  mirrors.ipserverone.com   http://mirrors.ipserverone.com/rocky/9.0/BaseOS/x86_64/os/repodata/repomd.xml    404'\n
    "},{"location":"sop/sop_release/","title":"Rocky Release Procedures for SIG/Core (RelEng/Infrastructure)","text":"

    This SOP contains all the steps required by SIG/Core (a mix of Release Engineering and Infrastructure) to perform releases of all Rocky Linux versions. Work is in all collaboration within the entire group of engineerings.

    "},{"location":"sop/sop_release/#contact-information","title":"Contact Information","text":"Owner SIG/Core (Release Engineering & Infrastructure) Email Contact infrastructure@rockylinux.org Email Contact releng@rockylinux.org Mattermost Contacts @label @neil @tgo @skip77 @mustafa @sherif @pgreco Mattermost Channels ~Infrastructure"},{"location":"sop/sop_release/#preparation","title":"Preparation","text":""},{"location":"sop/sop_release/#notes-about-release-day","title":"Notes about Release Day","text":"

    Within a minimum of two (2) days, the following should be true:

    1. Torrents should be setup. All files can be synced with the seed box(es) but not yet published. The data should be verified using sha256sum and compared to the CHECKSUM files provided with the files.

    2. Website should be ready (typically with an open PR in github). The content should be verified that the design and content are correct and finalized.

    3. Enough mirrors should be setup. This essentially means that all content for a release should be synced to our primary mirror with the executable bit turned off, and the content should also be hard linked. In theory, mirror manager can be queried to verify if mirrors are or appear to be in sync.

    "},{"location":"sop/sop_release/#notes-about-patch-days","title":"Notes about Patch Days","text":"

    Within a minimum of one (1) to two (2) days, the following should be true:

    1. Updates should be completed in the build system, and verified in staging.

    2. Updates should be sent to production and file lists updated to allow mirrors to sync.

    "},{"location":"sop/sop_release/#prior-to-release-day-notes","title":"Prior to Release Day notes","text":"

    Ensure the SIG/Core Checklist is read thoroughly and executed as listed.

    "},{"location":"sop/sop_release/#release-day","title":"Release Day","text":""},{"location":"sop/sop_release/#priorities","title":"Priorities","text":"

    During release day, these should be verified/completed in order:

    1. Website - The primary website and user landing at rockylinux.org should allow the user to efficiently click through to a download link of an ISO, image, or torrent. It must be kept up.

    2. Torrent - The seed box(es) should be primed and ready to go for users downloading via torrent.

    3. Release Notes & Documentation - The release notes are often on the same website as the documentation. The main website and where applicable in the docs should refer to the Release Notes of Rocky Linux.

    4. Wiki - If applicable, the necessary changes and resources should be available for a release. In particular, if a major release has new repos, changed repo names, this should be documented.

    5. Everything else!

    "},{"location":"sop/sop_release/#resources","title":"Resources","text":""},{"location":"sop/sop_release/#sigcore-checklist","title":"SIG/Core Checklist","text":""},{"location":"sop/sop_release/#beta","title":"Beta","text":""},{"location":"sop/sop_release/#release-candidate","title":"Release Candidate","text":""},{"location":"sop/sop_release/#final","title":"Final","text":" Resources Account ServicesGit (RESF Git Service)Git (Rocky Linux GitHub)Git (Rocky Linux GitLab)Mail ListsContacts

    URL: https://accounts.rockylinux.org

    Purpose: Account Services maintains the accounts for almost all components of the Rocky ecosystem

    Technology: Noggin used by Fedora Infrastructure

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    URL: https://git.resf.org

    Purpose: General projects, code, and so on for the Rocky Enterprise Software Foundation.

    Technology: Gitea

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://github.com/rocky-linux

    Purpose: General purpose code, assets, and so on for Rocky Linux. Some content is mirrored to the RESF Git Service.

    Technology: GitHub

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://git.rockylinux.org

    Purpose: Packages and light code for the Rocky Linux distribution

    Technology: GitLab

    Contact: ~Infrastructure, ~Development in Mattermost and #rockylinux-infra, #rockylinux-devel in Libera IRC

    URL: https://lists.resf.org

    Purpose: Users can subscribe and interact with various mail lists for the Rocky ecosystem

    Technology: Mailman 3 + Hyper Kitty

    Contact: ~Infrastructure in Mattermost and #rockylinux-infra in Libera IRC

    Name Email Mattermost Name IRC Name Louis Abel label@rockylinux.org @nazunalika Sokel/label/Sombra Mustafa Gezen mustafa@rockylinux.org @mustafa mstg Skip Grube skip@rockylinux.org @skip77 Sherif Nagy sherif@rockylinux.org @sherif Pablo Greco pgreco@rockylinux.org @pgreco pgreco Neil Hanlon neil@resf.org @neil neil Taylor Goodwill tg@resf.org @tgo tg"},{"location":"sop/sop_upstream_prep_checklist/","title":"Generalized Prep Checklist for Upcoming Releases","text":"

    This SOP contains general checklists required by SIG/Core to prepare and plan for the upcoming release. This work, in general, is required to be done on a routine basis, even months out before the next major or minor release, as it requires monitoring of upstream's (CentOS Stream) work to ensure Rocky Linux will remain ready and compatible with Red Hat Enterprise Linux.

    "},{"location":"sop/sop_upstream_prep_checklist/#contact-information","title":"Contact Information","text":"Owner SIG/Core (Release Engineering & Infrastructure) Email Contact infrastructure@rockylinux.org Email Contact releng@rockylinux.org Mattermost Contacts @label @neil @tgo @skip77 @mustafa @sherif @pgreco Mattermost Channels ~Infrastructure"},{"location":"sop/sop_upstream_prep_checklist/#general-upstream-monitoring","title":"General Upstream Monitoring","text":"

    It is expected to monitor the following repositories upstream, as these will indicate what is coming up for a given major or point release. These repositories are found at the Red Hat gitlab.

    These repositories can be monitored by setting to \"all activity\" on the bell icon.

    Upon changes to the upstream repositories, SIG/Core member should analyze the changes and apply the same to the lookahead branches:

    "},{"location":"sop/sop_upstream_prep_checklist/#general-downward-merging","title":"General Downward Merging","text":"

    Repositories that generally track for LookAhead and Beta releases will flow downward to the stable branch. For example:

    * rXs / rXlh\n      |\n      |----> rX-beta\n                |\n                |----> rX\n

    This applies to any specific rocky repo, such as comps, pungi, peridot-config, and so on. As it is expected some repos will deviate in commit history, it is OK to force push, under the assumption that changes made in the lower branch exists in the upper branch. That way you can avoid changes/functionality being reverted on accident.

    "},{"location":"sop/sop_upstream_prep_checklist/#general-package-patching","title":"General Package Patching","text":"

    There are packages that are patched typically for the purpose of debranding. List of patched packages are typically maintained in a metadata repository. The obvious ones are listed below and should be monitored and maintained properly:

    "}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 23fa673..0830f88 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,107 +2,107 @@ https://sig-core.rocky.page/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/members/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/what_we_do/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/empanadas/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/peridot/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/rebuild/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/compose/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/compose/koji/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/references/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/references/empanadas_common/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/references/empanadas_config/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/documentation/references/empanadas_sig_config/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/include/resources_bottom/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/sop/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/sop/sop_compose/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/sop/sop_compose_8/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/sop/sop_compose_sig/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/sop/sop_mirrormanager2/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/sop/sop_release/ - 2023-04-13 + 2023-04-14 daily https://sig-core.rocky.page/sop/sop_upstream_prep_checklist/ - 2023-04-13 + 2023-04-14 daily \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz index e753ef3aded10997ba0d8e9ee4a76791bb8198ca..4afbf2c5cc992c2dd4b247cf2c958e46a4c0ce41 100644 GIT binary patch literal 385 zcmV-{0e=1;iwFoKrZ{8*|8r?{Wo=<_E_iKh0M*yMZo?oD0N_1O5qXbE(hOkkJ@& zpc3o`)9W0l3av+moTvwUGkIje9w@$PfHTwH%0d&D+~!fre&M^lX|v_WVM#xNajG9Q zL_Fg_(cbJZ1hi>t8GX92cr;0u;vdLnod=Us-8~YGHokC4>I)x9XtmD fX&X-v^PmHD=nenFXXE)4{~+rx8{gXeaSi|gQFXK< literal 385 zcmV-{0e=1;iwFqmaX4fG|8r?{Wo=<_E_iKh0M*yMZi6ro0N_1O5wQp7r$bs1vh@kt z89DX^++d%3XG-(-b$%K}l{$2(Y)c5R&en%@KA_ru+J5>0#0K4_Sd{Z(3QnOmuH6)` zFVC}ev8^Z7Ks`g4#$d;rq6@)42{Ddi$tHl6o=c=wu2(fNh1MfOPSgXwnLM&!4;0@tz?o@pWub{nZu2N*zwq7OwAu3Gu%sWsIMojt zBA#)eXm55H0@^gSj6PjhJes6S@egFP&V$LR?wxO_HAF}@?)VmHnYNXn2bp?;4xR&n fw2dc-dC-A6^oIZ8v+;b2e~|STom}v^aSi|gvBbIY diff --git a/sop/index.html b/sop/index.html index b572320..edc8a00 100644 --- a/sop/index.html +++ b/sop/index.html @@ -351,7 +351,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/sop/sop_compose/index.html b/sop/sop_compose/index.html index 49d46a9..16c4cdc 100644 --- a/sop/sop_compose/index.html +++ b/sop/sop_compose/index.html @@ -356,7 +356,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/sop/sop_compose_8/index.html b/sop/sop_compose_8/index.html index acc0039..f0c566b 100644 --- a/sop/sop_compose_8/index.html +++ b/sop/sop_compose_8/index.html @@ -356,7 +356,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/sop/sop_compose_sig/index.html b/sop/sop_compose_sig/index.html index c507375..49e0f28 100644 --- a/sop/sop_compose_sig/index.html +++ b/sop/sop_compose_sig/index.html @@ -356,7 +356,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/sop/sop_mirrormanager2/index.html b/sop/sop_mirrormanager2/index.html index de4097d..854ce32 100644 --- a/sop/sop_mirrormanager2/index.html +++ b/sop/sop_mirrormanager2/index.html @@ -354,7 +354,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/sop/sop_release/index.html b/sop/sop_release/index.html index 916c41a..f539927 100644 --- a/sop/sop_release/index.html +++ b/sop/sop_release/index.html @@ -356,7 +356,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/sop/sop_upstream_prep_checklist/index.html b/sop/sop_upstream_prep_checklist/index.html index c003803..f4a6698 100644 --- a/sop/sop_upstream_prep_checklist/index.html +++ b/sop/sop_upstream_prep_checklist/index.html @@ -356,7 +356,7 @@
  • - Composing Releases + Composing and Managing Releases
  • diff --git a/what_we_do/index.html b/what_we_do/index.html index 4c757dc..b2d5846 100644 --- a/what_we_do/index.html +++ b/what_we_do/index.html @@ -359,7 +359,7 @@
  • - Composing Releases + Composing and Managing Releases