Merge pull request 'docs: remove the ADR 0004 citations' (#276) from docs/remove-adr-0004-citations into main
Build / build (push) Successful in 12s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 9s
Lint / lint (push) Successful in 39s
Molecule / molecule (push) Successful in 14m58s
Images / image (Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 9s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, , 0.2.31) (push) Successful in 9s
Build / build (push) Successful in 12s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 9s
Lint / lint (push) Successful in 39s
Molecule / molecule (push) Successful in 14m58s
Images / image (Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 9s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, , 0.2.31) (push) Successful in 9s
Reviewed-on: #276
This commit was merged in pull request #276.
This commit is contained in:
commit
00e4e9d945
7 files changed
+11
-16
No files matched your search
@@ -1,8 +1,7 @@
|
||||
name: Build
|
||||
|
||||
# Builds the Collection tarball and checks it. On a v* tag it also checks the release
|
||||
# invariants of ADR 0004 (annotated tag, tag equals v + galaxy.yml version; the ADR is in the
|
||||
# maintainer's environment repository). Nothing is
|
||||
# invariants (annotated tag, tag equals v + galaxy.yml version). Nothing is
|
||||
# uploaded: the tarball is built in a temporary directory and discarded. Releases are
|
||||
# consumed by git tag, so there is no publish step. No org secret is used; the job token (secrets.GITHUB_TOKEN) clones the repository.
|
||||
on: # yamllint disable-line rule:truthy
|
||||
@@ -70,7 +69,7 @@ jobs:
|
||||
/opt/venv/bin/pip install --quiet --require-hashes -r requirements-dev.lock -r requirements-dev.txt
|
||||
fi
|
||||
|
||||
# ADR 0004, Release process: the tag is annotated and equals v + the galaxy.yml version.
|
||||
# The release tag is annotated and equals v + the galaxy.yml version.
|
||||
- name: Check the release tag
|
||||
if: github.ref_type == 'tag'
|
||||
env:
|
||||
@@ -124,8 +123,8 @@ jobs:
|
||||
fi
|
||||
python3 scripts/check_tarball.py "$1"
|
||||
|
||||
# galaxy-importer without ansible-test and without Docker (ADR 0004, Collection
|
||||
# repo gates). The importer reads its configuration from this file.
|
||||
# galaxy-importer without ansible-test and without Docker. The importer reads its
|
||||
# configuration from this file.
|
||||
- name: Run galaxy-importer
|
||||
run: |
|
||||
export PATH="/opt/venv/bin:$PATH"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Images
|
||||
|
||||
# Builds the images under images/ with kaniko (osscontainertools fork, v1.28.6) and
|
||||
# pushes them to git.rkdr.net/mortis/<name> (ADR 0004 in the maintainer's environment repository, Image distribution): the molecule
|
||||
# pushes them to git.rkdr.net/mortis/<name>: the molecule
|
||||
# test targets (molecule-ubuntu2404, molecule-ubuntu2604) and the lint/build tooling (ci).
|
||||
#
|
||||
# Never on pull_request: a workflow file comes from the PR head, so a fork PR could
|
||||
|
||||
@@ -7,8 +7,7 @@ name: Molecule
|
||||
# It runs on the `kamino-molecule` label, a host executor that uses the runner's own
|
||||
# Docker daemon; no job container is given the Docker socket. That makes the job
|
||||
# root-equivalent on the runner, which is disposable and holds no secret from outside
|
||||
# this repository (ADR 0004 in the maintainer's environment repository, Runner
|
||||
# isolation). The `if:` guard is a convenience filter, not a boundary: a fork controls its
|
||||
# this repository. The `if:` guard is a convenience filter, not a boundary: a fork controls its
|
||||
# own workflow file. So the repository does not accept fork pull requests; the real
|
||||
# condition is that only trusted people can push branches or open pull requests here.
|
||||
#
|
||||
|
||||
@@ -5,8 +5,7 @@ Guidance for Claude Code (claude.ai/code) in this repository.
|
||||
## What this is
|
||||
|
||||
`mortis.kamino`: an Ansible Collection (GPL-3.0-or-later, REUSE-compliant) of reusable,
|
||||
hardened roles. The design contract is ADR 0004 (in the
|
||||
maintainer's environment repository). Roles arrive here wave by wave; `docker` is in 1.0.0, `fail2ban` in 1.1.0, `network_interfaces` and `systemd_hardening` in 1.2.0, `system_baseline` in 1.3.0, `ufw` in 1.4.0; 1.5.0 adds no role (new `system_baseline` options); `sshd` in 1.6.0; `user_management` in 1.7.0; `traefik`, with the internal `_binary_update`, in 1.8.0.
|
||||
hardened roles. Roles arrive here wave by wave; `docker` is in 1.0.0, `fail2ban` in 1.1.0, `network_interfaces` and `systemd_hardening` in 1.2.0, `system_baseline` in 1.3.0, `ufw` in 1.4.0; 1.5.0 adds no role (new `system_baseline` options); `sshd` in 1.6.0; `user_management` in 1.7.0; `traefik`, with the internal `_binary_update`, in 1.8.0.
|
||||
|
||||
**Roadmap.** The roles still to come, and the ones that will never be extracted, are listed in
|
||||
the README section "Roadmap". Context: the maintainer's private environment repository (a
|
||||
|
||||
@@ -8,7 +8,7 @@ How the engineering skills should consume this repo's domain documentation when
|
||||
- **`GLOSSARY-MAP.md`** at the repo root if it exists: it points at one `GLOSSARY.md` per context. Read each one relevant to the topic.
|
||||
- **`docs/adr/`**: read ADRs that touch the area you're about to work in. In multi-context repos, also check `src/<context>/docs/adr/` for context-scoped decisions.
|
||||
|
||||
Kamino's design contract is ADR 0004, kept in the maintainer's environment repository, not in this checkout. `docs/adr/` here holds only decisions made in this repository and may not exist yet.
|
||||
`docs/adr/` holds this repository's decisions and may not exist yet.
|
||||
|
||||
If any of these files don't exist, **proceed silently**. Don't flag their absence; don't suggest creating them upfront. The `/domain-modeling` skill (reached via `/grill-with-docs` and `/improve-codebase-architecture`) creates them lazily when terms or decisions actually get resolved.
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# SPDX-FileCopyrightText: Defame1297 and contributors
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
"""Bump the PATCH version of every image whose inputs changed (ADR 0004, Image distribution, in the
|
||||
maintainer's environment repository).
|
||||
"""Bump the PATCH version of every image whose inputs changed.
|
||||
|
||||
python3 scripts/bump_image_versions.py [<base-ref>] (default: origin/main)
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# SPDX-FileCopyrightText: Defame1297 and contributors
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
"""Keep image versions and image pins honest (ADR 0004, Image distribution, in the
|
||||
maintainer's environment repository).
|
||||
"""Keep image versions and image pins honest.
|
||||
|
||||
python3 scripts/check_image_versions.py pins
|
||||
python3 scripts/check_image_versions.py bump <base-ref>
|
||||
@@ -13,7 +12,7 @@ version is pushed as sha-*/latest only, and a hand-pasted <version>@<new digest>
|
||||
would pair a tag with a digest it does not point to.
|
||||
|
||||
pins No file under .gitea/workflows may mention `git.rkdr.net/defame1297/`: an image
|
||||
namespace this repository's CI must not use (ADR 0004 Runner isolation).
|
||||
namespace this repository's CI must not use.
|
||||
Every `git.rkdr.net/mortis/<name>:<version>@sha256:<digest>` in the consumer
|
||||
workflows must name an image of the matrix, with a well-formed digest and a
|
||||
version that is not newer than the matrix (a pin lags the matrix between the PR
|
||||
|
||||
Reference in new issue
Block a user