Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4eb3bc656 | ||
|
|
15c3731e7f | ||
|
|
699179674f | ||
|
|
3d2fab5388 | ||
|
|
042051b3e5 |
No files matched your search
@@ -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.46@sha256:a03015cc2177bdd6ef7f348f245a89f361893c7c64edc1264d9f9c1387d9defc
|
||||
image: git.rkdr.net/mortis/ci:0.2.48@sha256:d1c6653255abf366462c0265d9372626d5b59095084fe74ae95b9ebe7414007d
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
steps:
|
||||
|
||||
@@ -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.46@sha256:a03015cc2177bdd6ef7f348f245a89f361893c7c64edc1264d9f9c1387d9defc
|
||||
image: git.rkdr.net/mortis/ci:0.2.48@sha256:d1c6653255abf366462c0265d9372626d5b59095084fe74ae95b9ebe7414007d
|
||||
steps:
|
||||
# The container has no Node, so JavaScript actions such as actions/checkout
|
||||
# cannot run; clone with git and the job token.
|
||||
|
||||
@@ -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.46@sha256:a03015cc2177bdd6ef7f348f245a89f361893c7c64edc1264d9f9c1387d9defc
|
||||
image: git.rkdr.net/mortis/ci:0.2.48@sha256:d1c6653255abf366462c0265d9372626d5b59095084fe74ae95b9ebe7414007d
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
PRE_COMMIT_HOME: /opt/pre-commit
|
||||
|
||||
@@ -53,7 +53,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.46@sha256:a03015cc2177bdd6ef7f348f245a89f361893c7c64edc1264d9f9c1387d9defc
|
||||
git.rkdr.net/mortis/ci:0.2.48@sha256:d1c6653255abf366462c0265d9372626d5b59095084fe74ae95b9ebe7414007d
|
||||
# Used by the scenarios as `image: ${MOLECULE_IMAGE}`; set it the same way to run
|
||||
# one locally.
|
||||
MOLECULE_IMAGE: >-
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- >-
|
||||
docker, system_baseline - The install tasks that only use the distribution's sources (docker's
|
||||
prerequisites, system_baseline's packages) refresh the APT cache only when it is older than an
|
||||
hour; before, every run refreshed it. Installs from a role's own APT source still refresh it on
|
||||
every run.
|
||||
@@ -15,10 +15,23 @@ trailers, are in [ai-assistance.md](ai-assistance.md).
|
||||
*Reason:* every change reaches `main` through the Lint and Build checks and a reviewer.
|
||||
*Held by:* control: branch protection on `main`.
|
||||
- **Do not push to someone else's branch or to a bot's branch; put your change in a pull request of
|
||||
your own.** Updating a branch from `main` with Gitea's update button is allowed.
|
||||
your own.** Updating a branch from `main` with Gitea's update button is allowed under the next
|
||||
two rules.
|
||||
*Reason:* a push changes a head its author already reviewed or scheduled to merge, and a hand-made
|
||||
commit on a `renovate/` branch makes Renovate stop rebasing it.
|
||||
*Held by:* aspirational.
|
||||
- **Update a pull request's branch from `main` only when it is next to merge: reviewed, green on its
|
||||
previous head, and the only branch being updated. After updating your own pull request, give it a
|
||||
scheduled merge; merge anyone else's as [reviewing.md](reviewing.md) says.**
|
||||
*Reason:* `main` blocks an outdated branch, so every update re-runs Lint, Build and Molecule, and
|
||||
a new head cancels the run in progress; an update made while another pull request merges first is
|
||||
wasted.
|
||||
*Held by:* aspirational.
|
||||
- **Never press the update button on a `renovate/` branch. When a Renovate pull request is next to
|
||||
merge and behind `main`, tick the rebase/retry checkbox in its description; Renovate rebases it at
|
||||
its next run.**
|
||||
*Reason:* the update button adds a hand-made commit, and Renovate stops rebasing that branch.
|
||||
*Held by:* aspirational.
|
||||
- **File an issue or open a pull request with the headings of the matching template in `.gitea/`,
|
||||
also when you file through the API, `tea` or an MCP server.**
|
||||
*Reason:* those routes skip the templates, and an agent's built-in body leaves out what review needs.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
- curl
|
||||
state: present
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
tags: [docker, install]
|
||||
|
||||
- name: Ensure APT keyrings directory exists
|
||||
@@ -41,7 +40,6 @@
|
||||
ansible.builtin.apt:
|
||||
name: "{{ docker_packages }}"
|
||||
state: present
|
||||
# Always refreshed: a run that wrote the source line but failed to fetch its lists heals here.
|
||||
update_cache: true
|
||||
register: __docker_packages
|
||||
notify: Restart docker
|
||||
|
||||
@@ -159,7 +159,6 @@ system_baseline_extra_remove_packages: [telnet]
|
||||
```
|
||||
|
||||
- Each item is a Debian package name: lower-case letters, digits, `+`, `-` and `.`, two or more characters, starting with a letter or digit and not ending in `-` (apt reads a trailing minus as a removal). Anything else stops the run. Duplicates of the profile list are harmless.
|
||||
- The role does not refresh an APT cache younger than an hour, so a package from a source you add just before the role (`ansible.builtin.deb822_repository` does not refresh) needs your own cache refresh first.
|
||||
- An extra counts wherever the role looks for a package in the list: an extra `tmux` enables the tmux snippet and an extra `unattended-upgrades` the unattended-upgrades tasks, as a profile package does.
|
||||
- A package that one input installs and another purges stops the run before any change: `system_baseline_extra_packages` against `system_baseline_remove_packages` or `system_baseline_extra_remove_packages`, and `system_baseline_extra_remove_packages` against `system_baseline_essential_packages`. The resolved lists are not checked against each other, so a consumer's own overlap there behaves as before.
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
name: "{{ __system_baseline_install_packages }}"
|
||||
state: present
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
become: true
|
||||
|
||||
- name: Gather installed packages
|
||||
|
||||
Reference in new issue
Block a user