Files
progcode/web/public/assets/editorial/2020/config-secret-delivery-path-2020.svg
T
huncode 839a9aeeb8
Build and deploy / deploy (push) Successful in 12s
revise February 2020 configuration articles
2026-07-31 11:14:56 +03:00

38 lines
3.7 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 720 1260" role="img" aria-labelledby="title desc">
<title id="title">Путь конфигурации до работающего процесса</title>
<desc id="desc">Вертикальная схема проводит настройку от шаблона в репозитории через delivery и loader до runtime, оставляя в диагностике только безопасный отчёт.</desc>
<rect width="720" height="1260" rx="32" fill="#f8fafc"/>
<text x="360" y="58" text-anchor="middle" font-family="Arial, sans-serif" font-size="30" font-weight="700" fill="#172033">Путь настройки до процесса</text>
<text x="360" y="92" text-anchor="middle" font-family="Arial, sans-serif" font-size="22" fill="#475569">Сборка и запуск не получают одинаковый набор данных</text>
<g font-family="Arial, sans-serif">
<rect x="58" y="140" width="604" height="164" rx="24" fill="#e0f2fe" stroke="#38bdf8" stroke-width="3"/>
<text x="94" y="188" font-size="28" font-weight="700" fill="#0c4a6e">Версия в Git</text>
<text x="94" y="232" font-size="22" fill="#0c4a6e">config.example.env</text>
<text x="94" y="266" font-size="22" fill="#0c4a6e">Имена и безопасные defaults</text>
<path d="M360 304 L360 352" stroke="#64748b" stroke-width="6" marker-end="url(#arrow)"/>
<rect x="58" y="364" width="604" height="164" rx="24" fill="#dcfce7" stroke="#4ade80" stroke-width="3"/>
<text x="94" y="412" font-size="28" font-weight="700" fill="#14532d">Delivery контур</text>
<text x="94" y="456" font-size="22" fill="#14532d">Подаёт требуемые значения</text>
<text x="94" y="490" font-size="22" fill="#14532d">Не выводит token в журнал</text>
<path d="M360 528 L360 576" stroke="#64748b" stroke-width="6" marker-end="url(#arrow)"/>
<rect x="58" y="588" width="604" height="164" rx="24" fill="#fef3c7" stroke="#fbbf24" stroke-width="3"/>
<text x="94" y="636" font-size="28" font-weight="700" fill="#78350f">Config loader</text>
<text x="94" y="680" font-size="22" fill="#78350f">Проверяет имена и формат</text>
<text x="94" y="714" font-size="22" fill="#78350f">Отказывает до первого запроса</text>
<path d="M360 752 L360 800" stroke="#64748b" stroke-width="6" marker-end="url(#arrow)"/>
<rect x="58" y="812" width="604" height="164" rx="24" fill="#fae8ff" stroke="#e879f9" stroke-width="3"/>
<text x="94" y="860" font-size="28" font-weight="700" fill="#701a75">Рабочий процесс</text>
<text x="94" y="904" font-size="22" fill="#701a75">Получает явный config object</text>
<text x="94" y="938" font-size="22" fill="#701a75">Не читает process.env повсюду</text>
<path d="M360 976 L360 1024" stroke="#64748b" stroke-width="6" marker-end="url(#arrow)"/>
<rect x="58" y="1036" width="604" height="142" rx="24" fill="#ede9fe" stroke="#a78bfa" stroke-width="3"/>
<text x="94" y="1084" font-size="28" font-weight="700" fill="#4c1d95">Безопасный отчёт</text>
<text x="94" y="1128" font-size="22" fill="#4c1d95">Имя, revision, [REDACTED]</text>
</g>
<rect x="58" y="1202" width="604" height="38" rx="12" fill="#e2e8f0"/>
<text x="360" y="1228" text-anchor="middle" font-family="Arial, sans-serif" font-size="20" font-weight="700" fill="#334155">Секрет не должен стать входом сборки или лога</text>
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="8" markerHeight="8" orient="auto"><path d="M0 0 L10 5 L0 10 Z" fill="#64748b"/></marker>
</defs>
</svg>