import hashlib import json import subprocess import sys from pathlib import Path sys.path.insert(0, str(Path("tests/unit").resolve())) from test_provenance import ProvenanceTests from core.compatibility import CompatibilityError from core.dev3.provenance import CompleteProvenance IMAGE = "sha256:cac70f6c4aa761a1c04c6813c03a7678b9a5c061cc67a413a12736253e7128ee" DEPS = "/var/tmp/absdev-dev3-ci.8yBxcV/public-fixture" DIRS = [ "database/migrations", "Modules/Orders/Database/Migrations", "modules/products/database/migrations", "Modules/Billing/database/Migrations", ] fixture = ProvenanceTests() def write(path): for root in (fixture.repository, fixture.release): entry = root / path entry.parent.mkdir(parents=True, exist_ok=True) entry.write_text("