feat: Urutau 1.0.0, lightweight threat intelligence and web analytics
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 1m29s
CI / Tests (Linux, race detector) (push) Failing after 1m48s
CI / Dependency audit (push) Successful in 21s
Release / ci (push) Failing after 1m50s
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped

Always-on Go service (stdlib only) that follows the Traefik JSON access
log, the sshd log and the fail2ban log of a host, classifies attacks,
scores sources, keeps bounded aggregates with snapshots, and serves an
embedded dashboard with live updates, offline geolocation (DB-IP Lite),
privacy-friendly traffic analytics, an exportable blocklist and
token-authenticated federation between instances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-14 16:13:34 -03:00
commit b4a2c2c9ec
99 files changed
+15403

No files matched your search

+84
View File
@@ -0,0 +1,84 @@
name: CI
on:
# Documentation-only or local agent state changes do not trigger CI jobs.
pull_request:
paths-ignore: ['**.md', 'docs/**', 'LICENSE*', '.gitignore', '.githooks/**', '.wolf/**', '.claude/**', '.opencode/**', '.codex/**', '.cursor/**', '.superpowers/**', '.superset/**', '.gitea/ISSUE_TEMPLATE/**', 'scripts/release-notes.sh', '.gitea/workflows/release.yml']
workflow_call:
concurrency:
group: ci-${{ gitea.ref }}
cancel-in-progress: true
env:
GOCACHE: /opt/hostedtoolcache/go-build
GOMODCACHE: /opt/hostedtoolcache/go-mod
GOPATH: /opt/hostedtoolcache/gopath
NPM_CONFIG_CACHE: /opt/hostedtoolcache/npm-cache
jobs:
lint:
name: Format and vet
runs-on: linux-arm64
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- uses: actions/setup-node@v7
with:
node-version: 22
- name: UI translation coverage
run: node scripts/check-ui-i18n.mjs
- name: Workflows and templates (valid YAML)
run: |
python3 -c 'import yaml' 2>/dev/null \
|| python3 -m pip install --quiet --user --break-system-packages pyyaml
python3 -c "
import glob, yaml
for f in glob.glob('.gitea/**/*.yml', recursive=True):
yaml.safe_load(open(f))
"
- name: Docker compose config
run: docker compose config --quiet
- name: gofmt
run: test -z "$(gofmt -l .)"
- run: go vet ./...
test:
name: Tests (Linux, race detector)
runs-on: linux-arm64
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- run: go test -race ./...
audit:
name: Dependency audit
runs-on: linux-arm64
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: govulncheck
run: |
command -v govulncheck >/dev/null || go install golang.org/x/vuln/cmd/govulncheck@latest
export PATH="$PATH:$(go env GOPATH)/bin"
govulncheck ./...
image:
name: Docker image (build and smoke test)
if: ${{ gitea.event_name == 'pull_request' }}
runs-on: linux-arm64
steps:
- uses: actions/checkout@v7
- name: Build
run: docker build -t "urutau-ci:${{ gitea.run_id }}" .
- name: Smoke test
run: scripts/smoke-image.sh "urutau-ci:${{ gitea.run_id }}"
- name: Clean up
if: always()
run: docker rmi -f "urutau-ci:${{ gitea.run_id }}" >/dev/null 2>&1 || true