chore(release): 1.0.0
First release, holding the docker role. Version bump in galaxy.yml, the changelog built by antsibull-changelog release, README and CLAUDE.md no longer say there are no roles, CHANGELOG.rst is allowed in the archive (scripts/check_tarball.py) and the generated changelog.yaml is exempt from yamllint like changelogs/config.yaml. Verified: the commit hooks; the tarball script's unit tests; a local ansible-galaxy build of 1.0.0 passes scripts/check_tarball.py. Not verified: ansible-test sanity and the importer (CI). The tag is the maintainer's. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
c7d3661887
commit
562ed76bfc
15 files changed
+83
-49
No files matched your search
@@ -5,6 +5,7 @@ ignore: |
|
||||
.venv/**
|
||||
# Written and rewritten by antsibull-changelog, which does not indent sequences.
|
||||
changelogs/config.yaml
|
||||
changelogs/changelog.yaml
|
||||
|
||||
rules:
|
||||
trailing-spaces:
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
===========================
|
||||
mortis.kamino Release Notes
|
||||
===========================
|
||||
|
||||
.. contents:: Topics
|
||||
|
||||
v1.0.0
|
||||
======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
First release. It holds the docker role; further roles follow in waves.
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- The Collection archive no longer contains extensions/ (the image-smoke molecule scenario), the roles' molecule scenarios, CLAUDE.md or other repository tooling; the Build workflow now fails when the archive holds anything outside an allow list, a member that is not a regular file or directory (symlinks, hardlinks, devices), or a path that is absolute or holds an empty, '..' or '.git' component (compared case-insensitively), a backslash or a control or zero-width character; it also fails on duplicate members, an empty archive or one that lacks MANIFEST.json, FILES.json, COPYING, README.md, meta/runtime.yml or changelogs/changelog.yaml, and on symlinks in the source tree (which ansible-galaxy would dereference).
|
||||
- The archive check also rejects any file name containing "vault", SSH key and .envrc/.env* files, names that Windows or macOS extraction would read differently (trailing space or dot, reserved device names such as CON or NUL, "::", 8.3 aliases of .git, non-ASCII spaces, surrogate, private-use and unassigned characters, components over 255 bytes), case-insensitive duplicates and a name used as both a file and a directory. The Build workflow fails with a clear message unless exactly one tarball was built.
|
||||
- docker - New role. Installs, updates or removes Docker Engine from the upstream APT repository and adds users to the docker group.
|
||||
@@ -6,8 +6,7 @@ Guidance for Claude Code (claude.ai/code) in this repository.
|
||||
|
||||
`mortis.kamino`: an Ansible Collection (GPL-3.0-or-later, REUSE-compliant), extracted role by
|
||||
role from the author's homelab environment repository. The design contract is ADR 0004 (in the
|
||||
maintainer's environment repository). There are no roles here yet: wave 1 arrives with the
|
||||
extraction.
|
||||
maintainer's environment repository). Roles arrive here wave by wave; the first, `docker`, is in 1.0.0.
|
||||
|
||||
Fork pull requests from untrusted users are not accepted for now: a fork controls its own
|
||||
workflow file, so the `if:` guards are a convenience, not a boundary (see the header of
|
||||
|
||||
@@ -4,8 +4,7 @@ An Ansible Collection of reusable, hardened roles for a self-hosted home lab:
|
||||
Linux baseline, firewall, SSH, user management and, in later releases, Proxmox,
|
||||
Gitea and Gitea Actions runner roles.
|
||||
|
||||
Status: scaffolding. The Collection holds no roles yet; roles arrive in waves.
|
||||
Version 1.0.0 is reserved for the first stable release.
|
||||
Status: roles arrive in waves. Release 1.0.0 holds the `docker` role.
|
||||
|
||||
## Consuming
|
||||
|
||||
@@ -17,7 +16,7 @@ name (FQCN) only, `mortis.kamino.<role>`:
|
||||
collections:
|
||||
- name: https://git.rkdr.net/mortis/kamino.git
|
||||
type: git
|
||||
version: v0.1.0
|
||||
version: v1.0.0
|
||||
```
|
||||
|
||||
```yaml
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
objects:
|
||||
role:
|
||||
docker:
|
||||
description: Install, update or remove Docker Engine
|
||||
name: docker
|
||||
version_added: null
|
||||
plugins:
|
||||
become: {}
|
||||
cache: {}
|
||||
callback: {}
|
||||
cliconf: {}
|
||||
connection: {}
|
||||
filter: {}
|
||||
httpapi: {}
|
||||
inventory: {}
|
||||
lookup: {}
|
||||
module: {}
|
||||
netconf: {}
|
||||
shell: {}
|
||||
strategy: {}
|
||||
test: {}
|
||||
vars: {}
|
||||
version: 1.0.0
|
||||
@@ -1,2 +1,35 @@
|
||||
ancestor: null
|
||||
releases: {}
|
||||
releases:
|
||||
1.0.0:
|
||||
changes:
|
||||
minor_changes:
|
||||
- The Collection archive no longer contains extensions/ (the image-smoke molecule
|
||||
scenario), the roles' molecule scenarios, CLAUDE.md or other repository tooling;
|
||||
the Build workflow now fails when the archive holds anything outside an allow
|
||||
list, a member that is not a regular file or directory (symlinks, hardlinks,
|
||||
devices), or a path that is absolute or holds an empty, '..' or '.git' component
|
||||
(compared case-insensitively), a backslash or a control or zero-width character;
|
||||
it also fails on duplicate members, an empty archive or one that lacks MANIFEST.json,
|
||||
FILES.json, COPYING, README.md, meta/runtime.yml or changelogs/changelog.yaml,
|
||||
and on symlinks in the source tree (which ansible-galaxy would dereference).
|
||||
- The archive check also rejects any file name containing "vault", SSH key and
|
||||
.envrc/.env* files, names that Windows or macOS extraction would read differently
|
||||
(trailing space or dot, reserved device names such as CON or NUL, "::", 8.3
|
||||
aliases of .git, non-ASCII spaces, surrogate, private-use and unassigned characters,
|
||||
components over 255 bytes), case-insensitive duplicates and a name used as
|
||||
both a file and a directory. The Build workflow fails with a clear message
|
||||
unless exactly one tarball was built.
|
||||
- docker - New role. Installs, updates or removes Docker Engine from the upstream
|
||||
APT repository and adds users to the docker group.
|
||||
release_summary: First release. It holds the docker role; further roles follow
|
||||
in waves.
|
||||
fragments:
|
||||
- ci-concurrency-main-runs.yml
|
||||
- collection-tarball-contents.yml
|
||||
- credential-and-workflow-comments.yml
|
||||
- dev-setup-robustness.yml
|
||||
- docker-role.yml
|
||||
- image-version-and-pin-check.yml
|
||||
- release-1.0.0.yml
|
||||
- scaffold.yml
|
||||
release_date: '2026-11-08'
|
||||
@@ -1,4 +0,0 @@
|
||||
trivial:
|
||||
- >-
|
||||
A later push to main no longer cancels the Lint and Build runs of an earlier one; pull request
|
||||
runs still cancel their predecessors, and in the Build workflow a tag run has its own group.
|
||||
@@ -1,16 +0,0 @@
|
||||
minor_changes:
|
||||
- >-
|
||||
The Collection archive no longer contains extensions/ (the image-smoke molecule scenario),
|
||||
the roles' molecule scenarios, CLAUDE.md or other repository tooling; the Build workflow
|
||||
now fails when the archive holds anything outside an allow list, a member that is not a
|
||||
regular file or directory (symlinks, hardlinks, devices), or a path that is absolute or
|
||||
holds an empty, '..' or '.git' component (compared case-insensitively), a backslash or a
|
||||
control or zero-width character; it also fails on duplicate members, an empty archive or one
|
||||
that lacks MANIFEST.json, FILES.json, COPYING, README.md, meta/runtime.yml or
|
||||
changelogs/changelog.yaml, and on symlinks in the source tree (which ansible-galaxy would
|
||||
dereference).
|
||||
- >-
|
||||
The archive check also rejects any file name containing "vault", SSH key and .envrc/.env* files, names that Windows or macOS extraction
|
||||
would read differently (trailing space or dot, reserved device names such as CON or NUL, "::", 8.3 aliases of .git, non-ASCII spaces,
|
||||
surrogate, private-use and unassigned characters, components over 255 bytes), case-insensitive duplicates and a name used as both a
|
||||
file and a directory. The Build workflow fails with a clear message unless exactly one tarball was built.
|
||||
@@ -1,2 +0,0 @@
|
||||
trivial:
|
||||
- Document the credential model in CLAUDE.md, CONTRIBUTING.md and the workflow headers, and rename the image workflow to Images.
|
||||
@@ -1,6 +0,0 @@
|
||||
trivial:
|
||||
- >-
|
||||
scripts/dev-setup.sh checks for Python 3.11 or newer (KAMINO_PYTHON selects one), derives the repository from its own location, rebuilds an older
|
||||
virtualenv, shell-quotes the repository path it writes into the installed hooks, lifts a repo-local core.hooksPath that points at this
|
||||
repository's own hooks (including a multi-valued, empty or newline-containing one) for the install and restores it exactly, and fails early
|
||||
only when core.hooksPath points elsewhere or is set outside the repository's config (a global value), or when the hooks are missing.
|
||||
@@ -1,2 +0,0 @@
|
||||
minor_changes:
|
||||
- docker - New role. Installs, updates or removes Docker Engine from the upstream APT repository and adds users to the docker group.
|
||||
@@ -1,9 +0,0 @@
|
||||
trivial:
|
||||
- >-
|
||||
Add scripts/check_image_versions.py and its tests, and run them in the Lint workflow:
|
||||
image pins must name an image of the build matrix, and a pull request that changes an
|
||||
image's inputs must bump its version.
|
||||
- >-
|
||||
scripts/check_image_versions.py reports a pin written in any case, with a port, in a nested path or without a tag; fails closed (naming
|
||||
file and line) on a Dockerfile COPY source with a variable, quote or comment character and on a RUN --mount of the build context; says so
|
||||
for a non-UTF-8 diff path and an empty image.yml; requires lint.yml and lists the consumer files it checked.
|
||||
@@ -1,2 +0,0 @@
|
||||
trivial:
|
||||
- Initial repository scaffolding, CI workflows and the molecule base image definition.
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
---
|
||||
namespace: mortis
|
||||
name: kamino
|
||||
version: 0.1.0
|
||||
version: 1.0.0
|
||||
readme: README.md
|
||||
authors:
|
||||
- Defame1297
|
||||
|
||||
@@ -42,7 +42,7 @@ import tarfile
|
||||
import unicodedata
|
||||
|
||||
ALLOWED_TOP = {
|
||||
"COPYING", "FILES.json", "LICENSES", "MANIFEST.json", "NOTICE", "README.md",
|
||||
"CHANGELOG.rst", "COPYING", "FILES.json", "LICENSES", "MANIFEST.json", "NOTICE", "README.md",
|
||||
"REUSE.toml", "changelogs", "docs", "meta", "plugins", "roles", "tests",
|
||||
}
|
||||
# Every Collection archive built by ansible-galaxy holds these.
|
||||
|
||||
Reference in new issue
Block a user