Files
Kill_LIFE/tools/auto_check_ci_cd.py
Clément SAILLANT 124906d084 feat: Add comprehensive CI/CD workflows and badges for compliance, security, and quality assurance
- Introduced multiple guides for workflows including Evidence Pack Validation, Incident Response, Model Validation, Performance & HIL, Release Signing, SBOM Validation, Secret Scanning, and Supply Chain Attestation.
- Created dynamic badges for each workflow to reflect their status and compliance.
- Implemented a checklist for validating CI/CD workflows and evidence packs.
- Developed scripts for building firmware, testing, collecting evidence, and generating audit reports.
- Added tools for generating community, documentation, quality, and security badges based on various reports.
- Established endpoints for dynamic badges to be integrated into documentation and README files.
- Enhanced the overall structure and traceability of CI/CD processes with evidence packs and automated checks.
2026-02-19 08:58:10 +01:00

23 lines
926 B
Python

import subprocess
def check_all_targets(targets):
results = {}
for target in targets:
print(f"\n--- Vérification {target} ---")
try:
subprocess.run(["python", "tools/build_firmware.py", target], check=True)
subprocess.run(["python", "tools/test_firmware.py", target], check=True)
subprocess.run(["python", "tools/collect_evidence.py", target], check=True)
evidence = subprocess.run(["python", "tools/verify_evidence.py", target], capture_output=True, text=True)
results[target] = evidence.stdout.strip()
except subprocess.CalledProcessError as e:
results[target] = f"Erreur: {e}"
return results
if __name__ == '__main__':
targets = ["esp", "stm", "linux"]
report = check_all_targets(targets)
print("\n=== Rapport de vérification ===")
for tgt, res in report.items():
print(f"{tgt}: {res}")