- audit.record_deploy 를 JSONL 파일 → Postgres deploy_audit 테이블로 (재배포 휘발 방지)
- psycopg 지연 import, _write 는 테스트에서 monkeypatch 지점, DATABASE_URL 사용
- 감사 기록 실패는 배포 완료를 막지 않고 UI 경고(audit_ok)
- /healthz: Pulp 무관 라이브니스 {"ok":true} (컨테이너 health check),
Pulp 연결 배지는 /pulp-status 로 분리 (대시보드가 폴링)
- config: DATABASE_URL 추가, audit_log_path 제거
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
22 lines
602 B
HTML
22 lines
602 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<section>
|
|
<h2>상태</h2>
|
|
<!-- 로드 시 1회 + 10초마다 Pulp 연결 상태 폴링 -->
|
|
<div hx-get="/pulp-status" hx-trigger="load, every 10s" hx-swap="innerHTML" style="margin-top:12px;">
|
|
<span class="status-line status-loading">연결 확인 중…</span>
|
|
</div>
|
|
</section>
|
|
|
|
<section>
|
|
<div class="section-head">
|
|
<h2>저장소</h2>
|
|
<button hx-get="/repos" hx-target="#repo-list" hx-swap="outerHTML" class="secondary">
|
|
새로고침
|
|
</button>
|
|
</div>
|
|
{% include "partials/repo_list.html" %}
|
|
</section>
|
|
{% endblock %}
|