Publish Forge resource economics evidence
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a02669-87ee-7a31-b111-edc95a16e0fa
This commit is contained in:
parent
a0f4c493a3
commit
35dbe4dd42
12 changed files with 632 additions and 30 deletions
20
Makefile
20
Makefile
|
|
@ -1,15 +1,15 @@
|
|||
SHELL := /usr/bin/env bash
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
GITEA_RELEASE ?= gitea
|
||||
GITEA_NAMESPACE ?= default
|
||||
GITEA_RELEASE ?= forgejo
|
||||
GITEA_NAMESPACE ?= forgejo
|
||||
GITEA_CHART ?= gitea-charts/gitea
|
||||
GITEA_VALUES ?= helm/gitea-values.sops.yaml
|
||||
GITEA_REGISTRY_VALUES ?= helm/gitea-registry-values.yaml
|
||||
GITEA_INGRESS ?= manifests/gitea-ingress.yaml
|
||||
GITEA_HTTP_SERVICE ?= gitea-http
|
||||
GITEA_SSH_SERVICE ?= gitea-ssh-nodeport
|
||||
GITEA_DB_CLUSTER ?= gitea-db
|
||||
GITEA_HTTP_SERVICE ?= forgejo-gitea-http
|
||||
GITEA_SSH_SERVICE ?= forgejo-ssh-nodeport
|
||||
GITEA_DB_CLUSTER ?= forgejo-db
|
||||
GITEA_DB_NAMESPACE ?= databases
|
||||
REGISTRY_DOCS ?= docs/gitea-container-registry.md docs/gitea-package-registry.md
|
||||
EVIDENCE_DOCS ?= docs/observability-operating-evidence.md docs/ci-runner-actions-gitops-ownership.md docs/backup-restore-secret-handoff.md
|
||||
|
|
@ -62,6 +62,14 @@ runner-status: ## Read-only Actions runner, host, and inter-hub registry probes
|
|||
forgejo-runner-status: ## Read-only Forgejo Actions runner and endpoint probes
|
||||
bash tools/forgejo-runner-status.sh
|
||||
|
||||
forge-observe: ## Capture non-secret forge capacity, recovery, and allocation evidence
|
||||
python3 tools/observe_forge_resources.py \
|
||||
$(if $(REMOTE),--remote $(REMOTE),) \
|
||||
--output-dir docs/evidence/resource-railiance-forgejo/observations
|
||||
|
||||
test-unit: ## Run non-live forge evidence tests
|
||||
python3 -m unittest discover -s tests -p 'test_*.py' -v
|
||||
|
||||
check-runner-tools: ## Check local tools used by runner inspection targets
|
||||
@missing=0; \
|
||||
for tool in curl ssh docker; do \
|
||||
|
|
@ -112,4 +120,4 @@ help: ## Show this help
|
|||
/^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-20s\033[0m %s\n", $$1, $$2 } \
|
||||
/^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) }' $(MAKEFILE_LIST)
|
||||
|
||||
.PHONY: check-tools check-sops registry-docs evidence-docs runner-docs runner-status forgejo-runner-status check-runner-tools gitea-deploy gitea-ingress-deploy gitea-status help
|
||||
.PHONY: check-tools check-sops registry-docs evidence-docs runner-docs runner-status forgejo-runner-status forge-observe test-unit check-runner-tools gitea-deploy gitea-ingress-deploy gitea-status help
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue