refactor: generate CI workflow from gate contracts

This commit is contained in:
DongHyeonka
2026-08-02 13:53:25 +09:00
parent 777ce5c9ed
commit 1bb2cc4a20
45 changed files with 8599 additions and 1177 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"schemaVersion": 2,
"providerAdapter": ".gitea/workflows/quality-gates.yml",
"commands": [],
"artifactSchemas": [{ "id": "text", "kind": "text", "maxBytes": 1024 }],
"artifacts": [{ "id": "log", "path": "artifacts/gate.txt", "schemaId": "text" }],
"gates": [
{ "id": "FE-GATE-001", "name": "one", "commandIds": ["command"], "logArtifactId": "log", "evidenceArtifactIds": ["log"], "retentionClassId": "merge" },
{ "id": "FE-GATE-001", "name": "duplicate", "commandIds": ["command"], "logArtifactId": "log", "evidenceArtifactIds": ["log"], "retentionClassId": "merge" }
],
"stages": [],
"jobs": [],
"retention": { "durationStatus": "UNSUPPORTED", "classes": [{ "id": "merge", "policy": "one cycle" }] }
}
+4
View File
@@ -0,0 +1,4 @@
{
"jobId": "merge_gate",
"needs": ["release_gate"]
}
+11
View File
@@ -0,0 +1,11 @@
{
"schemaVersion": 2,
"providerAdapter": ".gitea/workflows/quality-gates.yml",
"commands": [],
"artifactSchemas": [],
"artifacts": [{ "id": "log", "path": "artifacts/gate.txt", "schemaId": "missing" }],
"gates": [],
"stages": [],
"jobs": [],
"retention": { "durationStatus": "UNSUPPORTED", "classes": [] }
}
+4
View File
@@ -0,0 +1,4 @@
{
"jobId": "release_gate",
"addGateId": "FE-GATE-001"
}
+12
View File
@@ -0,0 +1,12 @@
{
"schemaVersion": 2,
"providerAdapter": ".gitea/workflows/quality-gates.yml",
"commands": [],
"artifactSchemas": [],
"artifacts": [],
"gates": [],
"stages": [],
"jobs": [],
"retention": { "durationStatus": "UNSUPPORTED", "classes": [] },
"unexpected": true
}
@@ -0,0 +1,4 @@
{
"jobId": "merge_gate",
"needs": ["missing"]
}
+4
View File
@@ -0,0 +1,4 @@
{
"jobId": "merge_gate",
"removeGateId": "FE-GATE-001"
}