Step 3: Review Prerender Map

Version 11537 — Edit text insertion rules applied during pre-render

Workflow Next: Run Pre-Render
Text Insertion Rules (12)
Active Map: 11542_prerender_map.json Last updated: 2026-02-18T21:09:19
# ID Pattern Search Text Insert Text Position Status Actions
1 rule_1_1 *upgradeadopipelineresources.j2 # 9.2.3 Update the pipeline configuration file https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
2 rule_1_2 *upgradeadopipelineresources.j2 Edit the variables identified in the release documentation https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
3 rule_2_1 *upgradeselfhostedagentvm.j2 # 9.2.3 Update the VM related parameters https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
4 rule_2_2 *upgradeselfhostedagentvm.j2 Set selfhost_golden_image https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
5 rule_3_1 *upgradetoolingvm.j2 # 9.2.3 Update the VM related parameters https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
6 rule_3_2 *upgradetoolingvm.j2 Set tooling_golden_image https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
7 rule_4_1 r11537to*2upgradeoverviewmop.j2 Upgrade the Tooling VMs and CLI tools https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
8 rule_4_2 r11537to*2upgradeoverviewmop.j2 Delete down level resources https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
9 rule_5 *upgradesimon.j2 9.2.12 Verify that the Thanos compactor is enabled https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
10 rule_6 *upgradeesc.j2 9.3.3 Proceed with the upgrade https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
11 rule_7 *upgradesas.j2 9.3.2.2 Canary a larger percentage of traffic https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
12 rule_8 *deletesas.j2 9.2 Implementation https://dev.azure.com/mvmprodeus2/MVM/_git/documentation?path=/Labs-ANTS-DevOps/... after Enabled
Delete?
Insert Wrappers (Before / After)
Applied consistently around every inserted text block
This text appears on the line before every insert
This text appears on the line after every insert
How Prerender Rules Work

Each rule has three parts:

  • Pattern — A filename pattern to match against J2 template names (e.g., *upgrade*, *failover*)
  • Search Text — Text to find inside templates that match the pattern
  • Insert Text — Text to insert immediately after the search text

During pre-render (Step 5), these rules modify J2 templates in-place within the mops/11537/ directory.


Wildcard Pattern Matching

The Pattern field supports wildcards — you don't need the exact filename:

  • * — matches anything (e.g., *upgrade* matches any file containing "upgrade")
  • ? — matches a single character (e.g., step?.j2 matches step1.j2, step2.j2)
  • [abc] — matches specific characters (e.g., site_[ab].j2 matches site_a.j2 or site_b.j2)
  • * alone — matches all templates

The pattern is checked against the MOP name, the J2 filename, and the relative path — so partial matches work.