Repository navigation
Expand file tree
/
Copy pathgithub.json
More file actions
162 lines (162 loc) · 5.72 KB
/
Copy pathgithub.json
File metadata and controls
162 lines (162 loc) · 5.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"defaultBranch": "main",
"projectType": "odoo-base-runtime-image",
"docs": {
"index": "README.md",
"agents": "AGENTS.md",
"dockerfile": "Dockerfile",
"scripts": "scripts",
"overallDirection": "https://github.com/cbusillo/direction/blob/HEAD/DIRECTION.md",
"githubConfigSchema": "https://github.com/cbusillo/codex-skills/blob/main/skills/github/references/config-schema.md",
"executingLoop": "https://github.com/cbusillo/codex-skills/blob/main/skills/references/executing-loop.md",
"modelReview": "https://github.com/cbusillo/codex-skills/blob/main/skills/references/model-review.md",
"launchplaneBoundary": "https://github.com/cbusillo/codex-skills/blob/main/skills/launchplane/SKILL.md#runtime-authority-boundary",
"mergeTrain": "https://github.com/cbusillo/codex-skills/blob/main/skills/launchplane/references/merge-train.md"
},
"qualityGate": {
"json": {
"metadata": "jq empty .github/github.json"
},
"build": {
"runtime": "docker build -t ghcr.io/cbusillo/odoo-docker:19.0-runtime --target runtime .",
"devtools": "docker build -t ghcr.io/cbusillo/odoo-docker:19.0-devtools --target runtime-devtools ."
},
"smoke": {
"runtime": "bash scripts/smoke-runtime.sh <image-reference> <odoo-series>",
"devtools": "bash scripts/smoke-devtools.sh <image-reference> <odoo-series>",
"valuation": "bash scripts/smoke-valuation.sh <runtime-image>",
"smokeDbInit": "bash scripts/smoke-db-init.sh <image-reference>",
"readiness": "bash scripts/smoke-readiness.sh <runtime-image> [browser-image]",
"downstreamHelpers": "bash scripts/test-downstream-helpers.sh <image-reference>",
"dependencyHealth": "bash scripts/test-image-dependency-health.sh",
"odooBinWrapper": "bash scripts/test-odoo-bin-wrapper.sh",
"requirementsOverrides": "bash scripts/test-check-requirements-overrides.sh",
"ghcrRetention": "bash scripts/test-ghcr-retention.sh",
"publishedPromotion": "bash scripts/test-published-promotion.sh"
},
"lint": {
"dockerfile": "docker run --rm -v \"$PWD:/work:ro\" -w /work hadolint/hadolint:v2.14.0 hadolint Dockerfile"
},
"inspection": {
"ide": "PyCharm",
"scopePreference": [
"changed_files",
"directory",
"whole_project"
],
"prepare": {
"python": {
"version": "3.13",
"moduleName": "odoo-docker",
"sync": true,
"requiredGeneratedState": [
".venv",
".idea"
]
}
}
},
"docsRequiredWhen": [
"behavior changes",
"api changes",
"config changes",
"operations changes",
"ownership boundaries change",
"Dockerfile changes",
"image contract changes",
"downstream helper behavior changes",
"self-hosted runner or cache behavior changes",
"workflow publishing changes"
],
"test": {
"local": "bash {test_script} {test_args}",
"ci": "bash scripts/test-image-dependency-health.sh && bash scripts/test-check-requirements-overrides.sh && bash scripts/test-odoo-bin-wrapper.sh && bash scripts/smoke-runtime.sh {runtime_image} {odoo_series} && bash scripts/smoke-devtools.sh {devtools_image} {odoo_series} && bash scripts/smoke-db-init.sh {runtime_image} && bash scripts/smoke-valuation.sh {runtime_image} && bash scripts/smoke-readiness.sh {devtools_image} {devtools_image} && bash scripts/test-downstream-helpers.sh {runtime_image} && bash scripts/test-ghcr-retention.sh && bash scripts/test-published-promotion.sh"
}
},
"importantWorkflows": [
"Build And Publish Images",
"GHCR Retention",
"Runner Health",
"CodeQL",
"Dependency Graph",
"Dependabot Updates"
],
"prWorkflow": {
"mergePath": "launchplane-merge-train",
"handoffComment": "Ready for the merge train",
"watchSkill": "babysit-pr",
"modelReviewIsAdvisory": true,
"requiredStatusChecks": [
"image-verification"
],
"branchProtection": {
"strictStatusChecks": true,
"requiredApprovingReviewCount": 0,
"enforceAdmins": true
},
"codeScanningMergeProtection": {
"ruleset": "Require code scanning results",
"tool": "CodeQL",
"alertsThreshold": "errors",
"securityAlertsThreshold": "high_or_higher"
}
},
"relatedRepos": [
"odoo-enterprise-docker",
"odoo-devkit",
"odoo-shared-addons",
"launchplane"
],
"launchplane": {
"enabled": true,
"service": {
"contextUrlEnv": "LAUNCHPLANE_CONTEXT_URL",
"operatorUrlEnv": "LAUNCHPLANE_OPERATOR_URL"
}
},
"githubSignals": {
"postMerge": {
"waitForActions": true,
"checkSecurityAndQuality": true
},
"capabilities": {
"codeScanning": "available",
"secretScanning": "available",
"dependabotAlerts": "available",
"securityAdvisories": "available"
},
"refreshWhen": [
"repo visibility changes",
"GitHub plan changes",
"security settings change",
"token permissions change"
]
},
"cleanup": {
"deleteMergedLocalBranches": true,
"removeMergedCleanWorktrees": true
},
"githubSettings": {
"expected": {
"deleteBranchOnMerge": true
}
},
"metadataFreshness": {
"updateWhen": [
"docs routing changes",
"validation gates change",
"primary commands change",
"important workflows change",
"repo relationship changes",
"Launchplane routing changes",
"merge path changes",
"branch protection or rulesets change",
"cleanup policy changes",
"ownership boundaries change",
"Dockerfile changes",
"image contract changes",
"workflow publishing changes",
"self-hosted runner or cache behavior changes"
]
}
}