Skip to content
Snippets Groups Projects
Unverified Commit 0ffab682 authored by StinkyLord's avatar StinkyLord Committed by GitHub
Browse files

docs: new renovate flow graph (#14862)

parent 661f6df4
No related branches found
No related tags found
No related merge requests found
```mermaid
flowchart TB
subgraph Start
A[lib/renovate.ts] --> B[getConfig ordered by cli->env->file->default]
A --> C[global initialize]
A --> D[init platform]
A --> E[set and ensure dir]
A --> F[init cache limit commits]
A --> G[init host rules]
A --> H[validations]
A --> I[auto discover repositories]
end
subgraph Repository
J[workers/repository/index.ts, for each repository]
J --> K[initRepo]
J --> L[extractDependencies]
J --> M[ensureOnboardingPr]
J --> N[updateRepository]
J --> O[finalize repository]
end
subgraph initializeRepository
X[initRepo]
X--> P[InitializeConfig]
X--> Q[InititalizeCaches]
X--> R[initApis]
X--> S[getRepoConfig]
X--> T[checkIfConfigured]
X--> U[applySecretsToConfig]
X--> V[setUserRepoConfig]
X--> W[detectVulnerabilityAlerts]
end
subgraph extractDependencies
Z[repository/process/index.ts]
Z --> AA[read dashboard body, put it into config]
Z --> AB[ for each config.basebranches]
AB --> |if exists| AC[getBaseBranch and extract all dependencies from managers]
AB --> |if exists| AD[getBaseBranch and lookup new dependency versions]
end
subgraph updateRepository
BA[repository/process/write.ts]
BA--> BB[for each update branch]
BB --> BC[process branch]
BC --> BD[do all validation]
BC --> BF[schedules]
BC --> BG[updates]
BC --> BH[ensurePR]
end
Start ---> Repository
K ---> initializeRepository
L ----> extractDependencies
N -----> updateRepository
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment