Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4594cad5e5 |
No files matched your search
@@ -4,6 +4,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'public/code-stats.json'
|
- 'public/code-stats.json'
|
||||||
- 'public/heatmap.json'
|
- 'public/heatmap.json'
|
||||||
|
- 'public/abuseipdb.json'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -50,10 +51,24 @@ jobs:
|
|||||||
|
|
||||||
echo "FORMATTED_LOC=$FORMATTED_LOC" >> "$GITHUB_ENV"
|
echo "FORMATTED_LOC=$FORMATTED_LOC" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
|
# Pushed by infra-monitor's push_profile_stats.py. Shown rounded down to
|
||||||
|
# the thousand ("31,000+"); falls back to the last hand-written figure
|
||||||
|
# if the file hasn't been published yet.
|
||||||
|
ABUSE_FILE="public/abuseipdb.json"
|
||||||
|
if [ -f "$ABUSE_FILE" ]; then
|
||||||
|
ABUSE_REPORTS=$(jq -er '.total_reports' "$ABUSE_FILE")
|
||||||
|
FORMATTED_ABUSE=$(python3 -c \
|
||||||
|
'import sys; n=int(sys.argv[1]); print(f"{n // 1000 * 1000:,}+")' "$ABUSE_REPORTS")
|
||||||
|
else
|
||||||
|
FORMATTED_ABUSE="30,000+"
|
||||||
|
fi
|
||||||
|
echo "AbuseIPDB reports: $FORMATTED_ABUSE"
|
||||||
|
|
||||||
python3 scripts/generate_heatmap_svg.py public/heatmap.json public/heatmap.svg
|
python3 scripts/generate_heatmap_svg.py public/heatmap.json public/heatmap.svg
|
||||||
|
|
||||||
sed "s/REPLACE_ME_LOC/$FORMATTED_LOC/g" README.template | \
|
sed "s/REPLACE_ME_LOC/$FORMATTED_LOC/g" README.template | \
|
||||||
sed "s/REPLACE_ME_COMMITS/$TOTAL_COMMITS/g" > README.md
|
sed "s/REPLACE_ME_COMMITS/$TOTAL_COMMITS/g" | \
|
||||||
|
sed "s/REPLACE_ME_ABUSE/$FORMATTED_ABUSE/g" > README.md
|
||||||
|
|
||||||
- name: Commit and Push
|
- name: Commit and Push
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
+1
-1
@@ -13,7 +13,7 @@ I build and operate beane.me, a self-directed multi-cloud production platform. E
|
|||||||
| **Fleet** | 10+ nodes: 4 MicroK8s clusters (Flux v2), 8 Docker hosts (Doco-CD) |
|
| **Fleet** | 10+ nodes: 4 MicroK8s clusters (Flux v2), 8 Docker hosts (Doco-CD) |
|
||||||
| **Uptime** | 99.97% measured (HetrixTools) |
|
| **Uptime** | 99.97% measured (HetrixTools) |
|
||||||
| **Security fleet** | 8 nodes running CrowdSec agents with nftables enforcement |
|
| **Security fleet** | 8 nodes running CrowdSec agents with nftables enforcement |
|
||||||
| **Threat reporting** | 30,000+ automated AbuseIPDB reports at 100% accuracy |
|
| **Threat reporting** | `REPLACE_ME_ABUSE` automated AbuseIPDB reports at 100% accuracy |
|
||||||
| **Recovery** | Multiple daily encrypted Borgmatic snapshots offsite; automated restore tests monthly |
|
| **Recovery** | Multiple daily encrypted Borgmatic snapshots offsite; automated restore tests monthly |
|
||||||
| **Code** | `REPLACE_ME_LOC` lines of custom code, the majority in [tfSTRIDE](https://tfstride.beane.me) |
|
| **Code** | `REPLACE_ME_LOC` lines of custom code, the majority in [tfSTRIDE](https://tfstride.beane.me) |
|
||||||
| **Commits** | `REPLACE_ME_COMMITS` authored commits since January 1 (bot and dependency-update commits excluded) |
|
| **Commits** | `REPLACE_ME_COMMITS` authored commits since January 1 (bot and dependency-update commits excluded) |
|
||||||
|
|||||||
Reference in new issue
Block a user