Skip to content

Retire gh_ci/yaml_snippets submodule; sparse-fetch from mirrors_service#1348

Merged
jonathanspw merged 1 commit intoAlmaLinux:masterfrom
jonathanspw:retire-yaml-snippets-submodule
Apr 21, 2026
Merged

Retire gh_ci/yaml_snippets submodule; sparse-fetch from mirrors_service#1348
jonathanspw merged 1 commit intoAlmaLinux:masterfrom
jonathanspw:retire-yaml-snippets-submodule

Conversation

@jonathanspw
Copy link
Copy Markdown
Member

Drop the gh_ci/yaml_snippets submodule in favor of a second checkout step that sparse-fetches src/backend/yaml_snippets from the mirrors_service branch and moves it into gh_ci/yaml_snippets. Schema paths and imports in gh_ci/config_checker.py keep working unchanged.

Side benefits:

  • master CI now validates mirror configs against the exact parser the service runs at runtime, so schema drift between branches is no longer possible.
  • actions/checkout and actions/setup-python bumped from v2 (EOL) to v4 while the workflow was being edited.

Depends on the corresponding change on the mirrors_service branch which moves yaml_snippets from a submodule to regular files at the same path.

Drop the gh_ci/yaml_snippets submodule in favor of a second checkout
step that sparse-fetches src/backend/yaml_snippets from the
mirrors_service branch and moves it into gh_ci/yaml_snippets. Schema
paths and imports in gh_ci/config_checker.py keep working unchanged.

Side benefits:
- master CI now validates mirror configs against the exact parser the
  service runs at runtime, so schema drift between branches is no
  longer possible.
- actions/checkout and actions/setup-python bumped from v2 (EOL) to v4
  while the workflow was being edited.

Depends on the corresponding change on the mirrors_service branch which
moves yaml_snippets from a submodule to regular files at the same path.
@jonathanspw jonathanspw merged commit de735fd into AlmaLinux:master Apr 21, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant