Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
0ffab682
Unverified
Commit
0ffab682
authored
2 years ago
by
StinkyLord
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docs: new renovate flow graph (#14862)
parent
661f6df4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/development/assets/renovate-flow.md
+57
-0
57 additions, 0 deletions
docs/development/assets/renovate-flow.md
with
57 additions
and
0 deletions
docs/development/assets/renovate-flow.md
0 → 100644
+
57
−
0
View file @
0ffab682
```
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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment