blocked 4
This commit is contained in:
@@ -4,6 +4,7 @@ ROOT=$(cd "$(dirname "$0")/../../.." && pwd)
|
||||
OUT="$ROOT/out/mirror/thin"
|
||||
STAGE="$OUT/stage-v1"
|
||||
CREATED="2025-11-23T00:00:00Z"
|
||||
export STAGE CREATED
|
||||
mkdir -p "$STAGE/layers" "$STAGE/indexes"
|
||||
|
||||
# 1) Seed deterministic content
|
||||
@@ -12,6 +13,23 @@ cat > "$STAGE/layers/observations.ndjson" <<'DATA'
|
||||
{"id":"obs-002","purl":"pkg:npm/lodash@4.17.21","advisory":"CVE-2024-9999","severity":"high","source":"vendor-b","timestamp":"2025-10-15T00:00:00Z"}
|
||||
DATA
|
||||
|
||||
cat > "$STAGE/layers/time-anchor.json" <<'DATA'
|
||||
{
|
||||
"authority": "stellaops-airgap-test",
|
||||
"generatedAt": "2025-11-01T00:00:00Z",
|
||||
"anchors": [
|
||||
{
|
||||
"type": "roughtime",
|
||||
"version": "1",
|
||||
"publicKey": "base64:TEST_KEY_001",
|
||||
"signature": "base64:TEST_SIG_001",
|
||||
"timestamp": "2025-11-01T00:00:00Z",
|
||||
"maxDistanceSeconds": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
DATA
|
||||
|
||||
cat > "$STAGE/indexes/observations.index" <<'DATA'
|
||||
obs-001 layers/observations.ndjson:1
|
||||
obs-002 layers/observations.ndjson:2
|
||||
|
||||
Reference in New Issue
Block a user