Author SHA1 Message Date
Defame1297 7d1f6df3d6 Merge pull request 'build(deps): add community.proxmox and proxmoxer for pve_lxc' (#388) from build/386-proxmox-deps into main
Images / image (0.1, Dockerfile, ubuntu:24.04@sha256:9c7f200c07e3d4a03e7249d2c16bf66a51120fb876aa2242cf31451412543289, molecule-ubuntu2404, images/molecule-ubuntu2404) (push) Successful in 12s
Images / image (0.1, Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604) (push) Successful in 12s
Images / image (0.2, images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, ) (push) Successful in 5m13s
Reviewed-on: #388
Reviewed-by: Defame1297 <[email protected]>
2026-11-25 23:12:16 +00:00
Defame1297 ee129a2982 Merge branch 'main' into build/386-proxmox-deps
Build / build (pull_request) Successful in 22s
Lint / lint (pull_request) Successful in 2m2s
Molecule / molecule (pull_request) Successful in 20m23s
2026-11-25 22:50:40 +00:00
Defame1297 35cedf5163 Merge pull request 'chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.44' (#387) from renovate/git.rkdr.net-mortis-ci-0.x into main
Reviewed-on: #387
2026-11-25 22:50:13 +00:00
Defame1297 bb0bf78964 build(deps): add community.proxmox and proxmoxer for pve_lxc
Build / build (pull_request) Successful in 59s
Lint / lint (pull_request) Successful in 4m2s
Molecule / molecule (pull_request) Canceled after 13m29s
The pve_lxc role (#386) manages Proxmox VE guests through community.proxmox,
whose modules import proxmoxer on the controller.

- galaxy.yml: depend on community.proxmox >=2.1.0 (the X.Y.0 of the tested pin,
  like the other dependencies); requirements.yml pins 2.1.0.
- requirements-dev.txt/.lock: pin proxmoxer 2.3.0, the floor community.proxmox
  2.1.0 enforces, so the dev venv and the ci image carry it.
- README: name the new dependency and the controller-side proxmoxer floor.
- ci image: label and doc list the new contents; the changed pin files
  rebuild it on main.

Refs #386

Assisted-by: Claude Code:claude-opus-5-5
2026-11-25 22:29:21 +00:00
renovate-bot dc7d3bdfd9 chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.44
renovate/stability-days Updates have met minimum release age requirement
Gitea release key / check (pull_request) Successful in 45s
Build / build (pull_request) Successful in 1m13s
Lint / lint (pull_request) Successful in 2m36s
Molecule / molecule (pull_request) Successful in 26m4s
2026-11-25 22:22:48 +00:00
12 changed files with 32 additions and 12 deletions

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
timeout-minutes: 30
# The ci image (images/ci, built by image.yml): tag for the release, digest enforced.
container:
image: git.rkdr.net/mortis/ci:0.2.43@sha256:373c3ba69e3cdccdf6acf96d9c1cbfa173d2db0fbda441f4256eb46bd3ce6b99
image: git.rkdr.net/mortis/ci:0.2.44@sha256:ba153980c5824b81c62eb3cfc871694d126bc6c4c21814813a0fde87873494f6
env:
PIP_DISABLE_PIP_VERSION_CHECK: "1"
steps:
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
# The ci image (images/ci, built by image.yml), at the pin of lint.yml: tag for the
# release, digest enforced. Only its /opt/venv Python (with PyYAML) is used here.
container:
image: git.rkdr.net/mortis/ci:0.2.43@sha256:373c3ba69e3cdccdf6acf96d9c1cbfa173d2db0fbda441f4256eb46bd3ce6b99
image: git.rkdr.net/mortis/ci:0.2.44@sha256:ba153980c5824b81c62eb3cfc871694d126bc6c4c21814813a0fde87873494f6
steps:
# The container has no Node, so JavaScript actions such as actions/checkout
# cannot run; clone with git and the job token.
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
# The tag says which release, the digest is what is enforced (bump both together
# when image.yml publishes a new version).
container:
image: git.rkdr.net/mortis/ci:0.2.43@sha256:373c3ba69e3cdccdf6acf96d9c1cbfa173d2db0fbda441f4256eb46bd3ce6b99
image: git.rkdr.net/mortis/ci:0.2.44@sha256:ba153980c5824b81c62eb3cfc871694d126bc6c4c21814813a0fde87873494f6
env:
PIP_DISABLE_PIP_VERSION_CHECK: "1"
PRE_COMMIT_HOME: /opt/pre-commit
+1 -1
View File
@@ -54,7 +54,7 @@ jobs:
env:
# The tools and collections molecule runs with: the image Lint and Build use.
CI_IMAGE: >-
git.rkdr.net/mortis/ci:0.2.43@sha256:373c3ba69e3cdccdf6acf96d9c1cbfa173d2db0fbda441f4256eb46bd3ce6b99
git.rkdr.net/mortis/ci:0.2.44@sha256:ba153980c5824b81c62eb3cfc871694d126bc6c4c21814813a0fde87873494f6
# Used by the scenarios as `image: ${MOLECULE_IMAGE}`; set it the same way to run
# one locally.
MOLECULE_IMAGE: >-
+4 -2
View File
@@ -20,8 +20,10 @@ collections:
version: v2.1.0
```
Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so
`ansible-galaxy` installs them unless the same file already pins a satisfying version.
Its dependencies (`community.general`, `ansible.posix`, `community.proxmox`) are declared in `galaxy.yml`, so
`ansible-galaxy` installs them unless the same file already pins a satisfying version. The modules of
`community.proxmox` also need the Python library `proxmoxer` 2.3 or later on the controller
(`pip install 'proxmoxer>=2.3'`); `galaxy.yml` cannot declare a Python dependency.
```yaml
- ansible.builtin.include_role:
@@ -0,0 +1,5 @@
---
minor_changes:
- >-
galaxy.yml - Declare ``community.proxmox`` (>=2.1.0) as a dependency, needed by ``pve_lxc``.
Its modules need the Python library ``proxmoxer`` 2.3 or later on the controller.
+3 -2
View File
@@ -9,9 +9,10 @@ Ubuntu 26.04 with:
- **Python tools** in `/opt/venv` (on `PATH`; it runs on Python 3.14, the version of `.python-version`, from the baked copy and not from the distribution's `python3`), from `requirements-dev.lock` (the hashed lock of `requirements-dev.txt`, installed with `pip install --require-hashes`): `ansible-core`,
`ansible-lint`, `pre-commit`, `antsibull-changelog`, `galaxy-importer`, `reuse`, `molecule` and
`molecule-plugins[docker]` (the Docker driver, with the `docker` Python SDK).
`molecule-plugins[docker]` (the Docker driver, with the `docker` Python SDK), and `proxmoxer`, the controller-side
library the modules of `community.proxmox` import.
- **The collections the roles call** in `/opt/collections` (`ANSIBLE_COLLECTIONS_PATH` is set to it), from
`requirements.yml`: `community.general` and `ansible.posix` at the exact versions CI tests against, so
`requirements.yml`: `community.general`, `ansible.posix` and `community.proxmox` at the exact versions CI tests against, so
`ansible-lint --offline` resolves their modules instead of mocking them; and from
`extensions/molecule/requirements.yml`, `community.docker`, which the Molecule Docker driver's own playbooks call.
- **Every pre-commit hook environment** of `.pre-commit-config.yaml` in `/opt/pre-commit`
+4 -1
View File
@@ -22,10 +22,13 @@ homepage: https://git.rkdr.net/mortis/kamino
issues: https://git.rkdr.net/mortis/kamino/issues
# CI tests the versions pinned in requirements.yml; the lower bounds here are not tested.
# No upper bound, so a consumer's newer pin does not conflict. community.general is used by system_baseline and ufw,
# ansible.posix by system_baseline and user_management.
# ansible.posix by system_baseline and user_management, community.proxmox by pve_lxc (Proxmox VE guest lifecycle).
# community.proxmox's modules import the Python library proxmoxer (2.3 or later) on the controller; galaxy.yml
# cannot declare a Python dependency, so the README says it and requirements-dev.txt pins it for CI.
dependencies:
community.general: ">=14.0.0"
ansible.posix: ">=2.2.0"
community.proxmox: ">=2.1.0"
build_ignore:
# Repository tooling that is not part of the Collection. scripts/check_tarball.py fails
# the build if anything outside its allowlist ends up in the archive, so a new top-level
+3 -3
View File
@@ -12,7 +12,7 @@
# - OS packages: git, shellcheck (actionlint runs it over run: blocks), the
# distribution's python3 and ca-certificates.
# - /opt/venv: requirements-dev.lock, the hashed lock of requirements-dev.txt (ansible-core, ansible-lint, pre-commit,
# antsibull-changelog, galaxy-importer, reuse, molecule and its Docker driver), on the Python of
# antsibull-changelog, galaxy-importer, reuse, molecule and its Docker driver, proxmoxer), on the Python of
# .python-version (PYTHON_VERSION below), the one the lock was resolved on and a clone's .venv uses.
# - /opt/collections: the collections of requirements.yml (the versions the roles are
# tested against), found through ANSIBLE_COLLECTIONS_PATH, so `ansible-lint --offline`
@@ -177,7 +177,7 @@ FROM os AS final
ARG PYTHON_VERSION=3.14
LABEL org.opencontainers.image.title="ci" \
org.opencontainers.image.description="CI tooling image for the mortis.kamino Ansible Collection: the Lint, Build and Molecule workflows run in it, so a job only checks out the code and runs. It bakes in ansible-core, ansible-lint, pre-commit with every hook environment of the repository, antsibull-changelog, galaxy-importer, reuse, molecule with its Docker driver, the collections of requirements.yml and extensions/molecule/requirements.yml, git, shellcheck, Python 3.11, 3.13 and the version of .python-version (the tools in /opt/venv run on it) next to the distribution python3 and primed ansible-test sanity virtualenvs. Pin it by tag and digest, as a job container or with docker run; it has no Node, so clone with git." \
org.opencontainers.image.description="CI tooling image for the mortis.kamino Ansible Collection: the Lint, Build and Molecule workflows run in it, so a job only checks out the code and runs. It bakes in ansible-core, ansible-lint, pre-commit with every hook environment of the repository, antsibull-changelog, galaxy-importer, reuse, molecule with its Docker driver, proxmoxer, the collections of requirements.yml and extensions/molecule/requirements.yml, git, shellcheck, Python 3.11, 3.13 and the version of .python-version (the tools in /opt/venv run on it) next to the distribution python3 and primed ansible-test sanity virtualenvs. Pin it by tag and digest, as a job container or with docker run; it has no Node, so clone with git." \
org.opencontainers.image.source="https://git.rkdr.net/mortis/kamino" \
org.opencontainers.image.url="https://git.rkdr.net/mortis/kamino" \
org.opencontainers.image.documentation="https://git.rkdr.net/mortis/kamino/src/branch/main/docs/images/ci.md" \
@@ -185,7 +185,7 @@ LABEL org.opencontainers.image.title="ci" \
org.opencontainers.image.authors="Defame1297 and contributors" \
org.opencontainers.image.base.name="ubuntu:26.04" \
net.rkdr.mortis.purpose="CI tooling image for the mortis.kamino Ansible Collection: the Lint, Build and Molecule workflows run in it, so a job only checks out the code and runs." \
net.rkdr.mortis.contents="Ubuntu 26.04, /opt/venv (ansible-core, ansible-lint, pre-commit, antsibull-changelog, galaxy-importer, reuse, molecule, molecule-plugins[docker]), /opt/collections (community.general, ansible.posix, community.docker), /opt/pre-commit hook environments, ansible-test sanity venvs, python3 (distribution), python3.11, python3.13, python<PYTHON_VERSION> (the one of /opt/venv), git, shellcheck, /opt/ci-pins.sha256" \
net.rkdr.mortis.contents="Ubuntu 26.04, /opt/venv (ansible-core, ansible-lint, pre-commit, antsibull-changelog, galaxy-importer, reuse, molecule, molecule-plugins[docker], proxmoxer), /opt/collections (community.general, ansible.posix, community.proxmox, community.docker), /opt/pre-commit hook environments, ansible-test sanity venvs, python3 (distribution), python3.11, python3.13, python<PYTHON_VERSION> (the one of /opt/venv), git, shellcheck, /opt/ci-pins.sha256" \
net.rkdr.mortis.usage="Lint and Build: job container on the kamino-docker runner, git.rkdr.net/mortis/ci:version@sha256:digest with PRE_COMMIT_HOME set to /opt/pre-commit. Molecule (host executor, kamino-molecule runner): docker run as the runner user, with the Docker socket and the checkout mounted at the same path. In both, run sha256sum -c /opt/ci-pins.sha256 in the checkout root and install the pinned tools and collections when a pull request changed them, else use /opt/venv/bin and ANSIBLE_COLLECTIONS_PATH=/opt/collections. See the documentation label."
ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \
+4
View File
@@ -1623,6 +1623,10 @@ propcache==0.5.4 \
# via
# aiohttp
# yarl
proxmoxer==2.3.0 \
--hash=sha256:0b0b2067187af1fc6d4257a46ac68c8fd79cc25d2813637cdae7a9a98fbfd11f \
--hash=sha256:1c03445e95cf9c53b6e50614dbaf561e0e1eb3ec878cf45ddde4bc4421c56743
# via -r requirements-dev.txt
puremagic==2.3.0 \
--hash=sha256:15ce035fe4c3f23e884a105d07448a5a81dd2e297985bdb636928ddf89bb3fe7 \
--hash=sha256:b54e4a69dd37c50bacc879380f132382ab4e9a935529628c8975abcc73e10640
+3
View File
@@ -14,6 +14,9 @@ galaxy-importer==0.4.44
reuse==6.3.0
molecule==26.11.0
molecule-plugins[docker]==26.11.0
# proxmoxer: the controller-side library community.proxmox's modules import (they refuse anything below 2.3),
# so lint and Molecule run where a consumer's controller would.
proxmoxer==2.3.0
# apm-cli: for changing apm.yml (run apm install, commit the lock). Keep it at 0.36.1 or later (#252):
# before 0.29.0, `apm audit --ci` compares the whole .claude/settings.json and fails on any hand-written key.
apm-cli==0.37.0
+2
View File
@@ -11,3 +11,5 @@ collections:
version: 14.0.1
- name: ansible.posix
version: 2.2.2
- name: community.proxmox
version: 2.1.0