Compare commits
4 Commits
22e92a62dd
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6bf38df599 | |||
| 727f3f86d4 | |||
| 979b6bc1a5 | |||
| ac298ef484 |
@@ -27,6 +27,9 @@
|
||||
"global_installer_wrapper": "dotfiles/install/install-global-ps1.sh",
|
||||
"readme": "README.md",
|
||||
"library": "library.md",
|
||||
"cron_note": ".cron",
|
||||
"github_workflow": ".github/workflows/shellcheck.yml",
|
||||
"gitea_workflow": ".gitea/workflows/shellcheck.yml",
|
||||
"palette_image": "images/bash-pallete.png",
|
||||
"theme_images_dir": "images/themes",
|
||||
"theme_images": {
|
||||
@@ -537,6 +540,10 @@
|
||||
"Git capsule prefers __git_ps1 and falls back to git symbolic-ref/short hash when git-prompt is unavailable or returns empty.",
|
||||
"Hawolex git capsule enables when PS1_GIT resolves to a truthy value (1/yes/true/on).",
|
||||
"Custom pack adds bold styles (radar, synthwave, noir, topo, glitch, arcticfire, acidlime).",
|
||||
"Library includes emoji usage blocks per theme (sets, fixed times, time slots, rotation)."
|
||||
"Library includes emoji usage blocks per theme (sets, fixed times, time slots, rotation).",
|
||||
"Gitea Actions enabled in app.ini with [actions] ENABLED=true.",
|
||||
"ShellCheck workflows exist for both GitHub and Gitea (.github/workflows and .gitea/workflows).",
|
||||
"Self-hosted runner uses label ubuntu-latest and runs in Docker.",
|
||||
"Host has daily Docker prune cron at 04:00 with 24h retention (see .cron)."
|
||||
]
|
||||
}
|
||||
|
||||
17
.cron
Normal file
17
.cron
Normal file
@@ -0,0 +1,17 @@
|
||||
Docker cleanup cron (host-side)
|
||||
|
||||
Purpose:
|
||||
- Daily prune of unused images/containers/build cache for the runner host.
|
||||
- Keeps bind-mounted data safe (no named volumes removed).
|
||||
|
||||
Schedule:
|
||||
- 04:00 daily
|
||||
|
||||
Cron entry (root):
|
||||
0 4 * * * root /usr/bin/docker image prune -af --filter "until=24h" && /usr/bin/docker container prune -f && /usr/bin/docker builder prune -af --filter "until=24h"
|
||||
|
||||
|
||||
|
||||
|
||||
printf '%s\n' '0 4 * * * root /usr/bin/docker image prune -af --filter "until=24h" && /usr/bin/docker container prune -f && /usr/bin/docker builder prune -af --filter "until=24h"' | sudo tee /etc/cron.d/docker-prune
|
||||
cat /etc/cron.d/docker-prune
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
.sshinfo.txt
|
||||
.cron
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# PS1 module with Nerd Font fallback + disable switch
|
||||
# Designed for bash 3.2+ (macOS) and bash 4/5 (Linux)
|
||||
# Designed for bash 3.2+ (macOS) and bash 4/5 (Linux)
|
||||
# Load this in interactive shells.
|
||||
|
||||
case "$-" in
|
||||
|
||||
Reference in New Issue
Block a user