5efb380da5
* feat: automate yiacad pr review lane * fix: stabilize yiacad review and spec gates * fix: scope kicad exports to repo hardware * fix: ignore kicad block library sources in exports * feat: Add infra VPS monitoring runbook and healthcheck scripts - Created INFRA_VPS_RUNBOOK_2026.md detailing operational procedures for monitoring VPS services. - Added infra_vps_healthcheck.sh script for automated health checks on DNS, TLS, TCP, and HTTP for VPS services. - Introduced infra_vps_security_audit.sh for non-intrusive security checks on external VPS services. - Established JSON schema for infra VPS inventory in infra_vps.schema.json. - Developed integration for runtime status reporting in the Next.js API route. - Implemented Playwright tests for smoke testing the application and ensuring core functionalities. - Updated Makefile for development dependencies and testing commands. - Created various test files for unit and end-to-end testing across different components. * feat(agentics): update mesh agents, gates, prompts, and workflows
88 lines
2.5 KiB
YAML
88 lines
2.5 KiB
YAML
name: Evidence Pack Validation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "docs/evidence/**"
|
|
- "firmware/**"
|
|
- "hardware/**"
|
|
- "tools/auto_check_ci_cd.py"
|
|
- "tools/bootstrap_python_env.sh"
|
|
- "tools/compliance/**"
|
|
pull_request:
|
|
paths:
|
|
- "docs/evidence/**"
|
|
- "firmware/**"
|
|
- "hardware/**"
|
|
- "tools/auto_check_ci_cd.py"
|
|
- "tools/bootstrap_python_env.sh"
|
|
- "tools/compliance/**"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
evidence_pack:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 25
|
|
env:
|
|
KILL_LIFE_PIO_MODE: native
|
|
PLATFORMIO_CORE_DIR: ~/.platformio
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
cache: pip
|
|
cache-dependency-path: |
|
|
tools/compliance/requirements.txt
|
|
tools/compliance/requirements-platformio.txt
|
|
|
|
- name: Cache PlatformIO core
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ~/.platformio
|
|
key: ${{ runner.os }}-platformio-${{ hashFiles('firmware/platformio.ini', 'tools/compliance/requirements-platformio.txt') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-platformio-
|
|
|
|
- name: Bootstrap repo-local venv
|
|
run: bash tools/bootstrap_python_env.sh --with-platformio
|
|
|
|
- name: Generate evidence pack summary
|
|
run: ./.venv/bin/python tools/auto_check_ci_cd.py
|
|
|
|
- name: Install KiCad 10
|
|
run: |
|
|
sudo add-apt-repository -y ppa:kicad/kicad-10.0-releases
|
|
sudo apt-get update
|
|
sudo apt-get install -y kicad
|
|
|
|
- name: Hardware ERC + exports
|
|
run: |
|
|
mkdir -p artifacts/hw
|
|
kicad-cli sch erc hardware/esp32_minimal/esp32_minimal.kicad_sch \
|
|
--format json --output artifacts/hw/erc_report.json
|
|
kicad-cli sch export svg hardware/esp32_minimal/esp32_minimal.kicad_sch \
|
|
--output artifacts/hw/
|
|
kicad-cli sch export pdf hardware/esp32_minimal/esp32_minimal.kicad_sch \
|
|
--output artifacts/hw/schematic.pdf
|
|
kicad-cli sch export netlist hardware/esp32_minimal/esp32_minimal.kicad_sch \
|
|
--output artifacts/hw/netlist.xml
|
|
|
|
- name: Upload evidence pack artifact
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: evidence-pack
|
|
if-no-files-found: warn
|
|
path: |
|
|
docs/evidence/
|
|
artifacts/hw/
|