Commit Graph

154 Commits

Author SHA1 Message Date
ivan
2862c98202 stand: deploy CDE API and six workers at preprod_905f8821 with Vault 2026-11-23 16:20:47 +05:00
ivan
c50733f6f5 feat: enable cde-api integration in brusnika-stage 2026-11-18 21:59:55 +05:00
ivan
be0ad57e6e feat: deploy cde-api to brusnika-stage 2026-11-18 21:37:43 +05:00
ivan
79cbc5a02f ++ 2026-11-16 19:46:53 +05:00
ivan
096db3d70b Update brusnika-stage images 2026-11-16 19:30:19 +05:00
ivan
51bc859c3a documentations base: убран дубль CDE_API_ENABLED в filestream (одинаковое значение false); stand: processing engine и engine-low получают RABBITMQ_VHOST из Vault 2026-11-13 15:25:55 +05:00
ivan
902daf3a60 documentations base: убран дубль CDE_API_ENABLED (одинаковое значение false); stand: cde — requests CPU 25m 2026-11-13 14:18:34 +05:00
ivan
e1cce5e1f0 stand: волна 4 — documentations, processing, cde, transmittal; JSON-аккаунты documentations из MinIO и zitadel/setup 2026-11-13 13:59:44 +05:00
ivan
a37fb46af5 base: documentations и transmittal — шаблоны MinIO в Vault читают и старый формат, и v2; для старого формата вывод не меняется 2026-11-13 13:57:40 +05:00
diamondrigido
150f22ae59 fix: disabke cde api wb 2026-11-06 09:16:51 +02:00
diamondrigido
b98109047f fix: обновил образы для документации 2026-11-05 15:22:01 +02:00
diamondrigido
f936f5ffb0 fix: image documentation updated 2026-10-28 12:31:00 +02:00
ivan
7cf8b13f91 ++ 2026-10-28 14:00:45 +05:00
ivan
56ade56754 ++ 2026-10-28 11:48:59 +05:00
emelinda
8a3540ead7 Add CDE_API_ENABLED environment variable to api and filestream configurations 2026-10-28 08:32:37 +03:00
emelinda
3dadb7a87a Merge branch 'master' of gitlab.sarex.io:infra/iac 2026-10-28 08:30:59 +03:00
emelinda
fc8ddcb511 Add CDE_API_ENABLED environment variable to filestream and api configurations in d8-ugmk-prod 2026-10-28 08:30:40 +03:00
diamondrigido
f4a19774a2 fix: update image for filestream wb 2026-10-27 20:11:28 +02:00
c401cf0dcb Merge branch 'pdm/update_pdf_markings' into 'master'
fix: update pdf markings amqp

See merge request infra/iac!12
2026-10-27 14:16:42 +00:00
diamondrigido
1d349b1a8c fix: move bundle in documentations 2026-10-27 15:47:58 +02:00
ivan
f6d4c2face ++ 2026-10-27 18:07:06 +05:00
diamondrigido
6fda7834ce fix: incorect in asterus pdf markings amqp 2026-10-27 14:49:27 +02:00
diamondrigido
0d4befa985 fix: update pdf markings amqp 2026-10-27 14:48:29 +02:00
diamondrigido
af56004006 fix: незначительные изменения
1. Изменения базового образа для документации, чтоб копирование работало
2. output_navis env для wb engine
2026-10-26 13:49:08 +02:00
emelinda
91d6aa41d6 Add HelmRelease for pdf-markings-amqp in d8-ugmk-prod and update kustomization configuration 2026-10-26 09:53:21 +05:00
emelinda
ced8b7bc04 Update wb configurations: increase filestream resource limits, fix BIM_API_URL references, and add Istio routing for /bimv2/api/ 2026-10-23 18:09:28 +05:00
ivan
ddb2fefdf0 pdm drawings URL, notes routes in uralkal, notes contour frontend image
documentations base: pdm-api pointed DRAWINGS_INTERNAL_URL at
drawings-api-service:80, which does not exist in the clusters inheriting
base (vad, d8-ugmk-prod, sarex-contour, uralkal, yc-k8s-test); their drawings
service is backend-service:8000. brusnika and wb keep their own pdm copies.

istio-config uralkal: /notes/api/ -> backend-service.notes:8000 (rewrite
/api/) and /notes/static/ -> frontend-service.notes:80.

notes base frontend image -> notes-frontend:contour_5ff34172.
2026-10-21 17:27:59 +05:00
8c8a3b7cc2 Merge branch 'pdm/update_wb_fix_copy' into 'master'
fix: adding marks via rabbit value

See merge request infra/iac!7
2026-10-16 09:49:35 +00:00
diamondrigido
be58c1cddd fix: adding marks via rabbit value 2026-10-16 11:32:59 +02:00
ivan
41f2f2f539 ++ 2026-10-16 13:39:59 +05:00
emelinda
be09be5067 Update SYSTEM_LOG_URL references to backend-svc.system-log in pdm and filestream configurations 2026-10-15 18:36:10 +03:00
ivan
ff27b79765 ++ 2026-10-15 13:30:21 +05:00
ivan
9a373f670c brusnika-stage: manage orchestrator and documentations hasher/pdf-markings-amqp in git
Manifests exported from the live cluster with server-side and Helm/Lens
metadata stripped; selectors and pod labels kept as they are so Flux takes
the objects over without restarting pods.

orchestrator: cde API, its Service and ServiceAccount, the v1 workers
installed by the old helm release cde and the v2 workers rolled out today.
documentations: hasher and pdf-markings-amqp. Secrets (cde-secret,
hasher-*, postgres-secret, rabbitmq, yc-s3, dockerhub, regcred) stay in the
cluster only. The old apps/cde/brusnika-stage overlay (namespace contracts,
HelmRelease cde) was never wired; its kustomization now lists only these
manifests.
2026-10-14 15:27:23 +05:00
diamondrigido
a4d7dda8c1 update image for wb 2 2026-10-08 23:00:21 +02:00
diamondrigido
a7077fb9ae update image for wb 2026-10-08 21:25:03 +02:00
ivan
df45eca99f ++ 2026-10-06 17:53:40 +05:00
ivan
563ccefe83 documentations/uralkal: use prod_179e518c_uralkali images for api and filestream 2026-10-06 16:50:50 +05:00
ivan
4117728329 ++ 2026-10-06 16:07:47 +05:00
ivan
6251cfed5c brusnika-stage: bring images and env vars up to wb level
Missing env vars copied from wb for ams-sync, attachments, bi/frontend,
checklists, django (celery, export-project, sarex-backend), documentations
(api, filestream, pdm), eav, flows (backend, celery, frontend), iam,
inspections, issues (backend, celery), rfi, transmittal/worker.

Image tags updated to match wb for flows (backend/celery/frontend), iam.

Known issue, not yet fixed in this commit: several of the copied env
values are wb-specific hosts (*.wb.ru, one uralmine.com) that don't apply
to brusnika-stage — ZITADEL_HOST/ZITADEL_DOMAIN (django, documentations,
iam), DATABASE_HOST/FLOWS_DB_HOST/ISSUES_DB_HOST (checklists, flows),
SUPERSET_HOST (bi), DJANGO_BASE_HOST/SAREX_BACKEND_URL (flows,
inspections), RESOURCES_INTERNAL_HOST/RESOURCE_URL (ams-sync, django,
flows, notes-related). To be corrected in a follow-up commit.

bi/backend.yaml, bim/backend.yaml and notes/backend.yaml were reverted
before this commit (image-tag updates for bi-backend/bim/notes and bi's
SUPERSET_* env additions are not included).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-01 18:04:55 +05:00
ivan
e4c3294bb8 ++ 2026-10-01 17:43:58 +05:00
diamondrigido
7cac4ff295 fix: update brusnika for copy 2026-09-30 17:17:53 +02:00
ivan
979e5c2a51 uralkal: clear CPU/memory requests for all 36 business apps
Every services.<svc>.deployment.resources.requests.{cpu,memory} across the
36 uralkal apps (69 HelmRelease/service entries total) is now nulled via a
kustomize patch, so Helm never renders a requests block for these pods on
uralkal — Kubernetes won't reserve CPU/memory for them there.

Where a uralkal patch already existed for that service (13 cases:
documentations api/filestream/pdf-markings-amqp, django backend, flows
backend/celery, pm backend/celery, transmittal backend/worker, bi,
document-link, stamp-verification, message-hub), the null block was added
into that same file. Where no uralkal patch existed yet (55 cases,
including all 13 cde workers and every plain frontend), a new minimal
patch file was added and wired into that app's kustomization.yaml.

vad and the other clusters are untouched — only apps/*/uralkal/* changed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-30 15:06:51 +03:00
emelinda
4947d8b675 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	apps/documentations/ugok/filestream.yaml
2026-09-29 10:44:18 +03:00
emelinda
f7ee2ab1af Update image versions for ugok services in api.yaml and filestream.yaml. 2026-09-29 10:43:48 +03:00
ivan
92efab2ecd ++ 2026-09-28 15:57:47 +03:00
ivan
9ec172c0f4 uralkal: replicate the vad business-app footprint (36 apps) with uralkal domains
apps/<app>/uralkal mirrors apps/<app>/vad for all 36 apps from
clusters/vad/kustomization.yaml, with domains remapped (not a suffix swap —
vad's sarex-login.vadroad.ru etc. use a different host scheme than uralkal's
login.sarex.local.uralkali.com). Two things are left as explicit
placeholders pending real infra: the Zitadel client_id/org_id
(TBD_URALKAL_ZITADEL_CLIENT_ID, since uralkal's Zitadel has no application
registered yet) and the Kafka CA cert in pm/issues/message-hub/flows
(copied from vad, will need swapping once uralkal's Kafka actually
generates its own CA, same as vad's history).

infrastructure/s3-proxy/uralkal: new component, nginx upstream points at
the single uralkal minio endpoint (10.133.0.245:9000) from terraform,
unlike vad's 4-node list.

clusters/uralkal/kustomization.yaml: wires in s3-proxy + all 36 apps.

infrastructure/istio-config/uralkal/istio-config.yaml: adds the 28
path-routed virtualServices under sarex.local.uralkali.com (mirroring
vad's sarex.vadroad.ru routing, incl. the documentations-api CORS policy)
plus stamp-verification/document-link/s3 on their already-declared hosts.
Pre-existing zitadel/superset/camunda-operate blocks are untouched.

apps/django/vad/backend.yaml: drop a stale explanatory comment (also
removed from the uralkal copy before this commit).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-28 14:56:17 +03:00
ivan
954e0a7231 ++ 2026-09-27 21:44:39 +03:00
ivan
f6df384388 added asterus 2026-09-23 23:36:27 +05:00
ivan
a3f9fb5ee9 vad: pdf-markings-amqp hosts/bucket override, stamp-verification and document-link frontend images
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 13:03:29 +05:00
ivan
410fd96439 ++ 2026-09-17 21:08:16 +05:00