deploy-status: success · phase complete

This commit is contained in:
DH V2 Deploy Bot
2026-09-16 09:05:36 -03:00
commit b4d0731f41
2 changed files with 408 additions and 0 deletions
+396
View File
@@ -0,0 +1,396 @@
============================================================
DH V2 · DEPLOY DESDE GITEA · deploy
============================================================
From https://git.korexlabs.com.ar/admin/dh-inspeccion-v2
* branch deploy -> FETCH_HEAD
* branch main -> FETCH_HEAD
a414d0e..fa6ba7f main -> origin/main
Actual: a414d0ed36db385e8a38d93929316beae881f9be
Objetivo: fa6ba7f31ef1e55804f40caeb267ebde2a76d3e9
Main: fa6ba7f31ef1e55804f40caeb267ebde2a76d3e9
API candidata: 0.29.0-16
WEB candidata: 0.23.0-12
========== PREFLIGHT DE DEPLOY ==========
Gitea Actions ya validó tests, migraciones e imágenes de producción.
El VPS valida únicamente composición, scripts, backup, migraciones reales, recreación y health.
========== BACKUP PRE ==========
database-before.dump: OK
source-before.tar.gz: OK
.env: OK
previous.sha: OK
target.sha: OK
docker-before.txt: OK
========== FAST-FORWARD ==========
fa6ba7f fix(web): render operational map as GPS points
Updating a414d0e..fa6ba7f
Fast-forward
api-v3/package-lock.json | 4 +-
api-v3/package.json | 2 +-
api-v3/src/version.ts | 4 +-
api-v3/test/unit/f4-health-metadata.test.ts | 6 +-
.../unit/f6-1-presentation-ready-contract.test.ts | 2 +-
.../test/unit/f6-12-map-smtp-admin-fixes.test.ts | 2 +-
api-v3/test/unit/f6-15-act-map-context.test.ts | 20 +-
docs/PHASE_F6_16_MAP_GPS_POINTS.md | 9 +
web-v2/package-lock.json | 4 +-
web-v2/package.json | 2 +-
web-v2/src/config/version.ts | 4 +-
web-v2/src/features/map/DhMap.tsx | 218 +++++++--------------
web-v2/src/pages/MapPage.tsx | 96 ++++-----
web-v2/src/styles.css | 17 ++
14 files changed, 172 insertions(+), 218 deletions(-)
create mode 100644 docs/PHASE_F6_16_MAP_GPS_POINTS.md
========== BUILD PRODUCCIÓN ==========
Image dhv2-migrate Building
Image dhv2-web Building
Image dhv2-api Building
#1 [internal] load local bake definitions
#1 reading from stdin 1.35kB done
#1 DONE 0.0s
#2 [web internal] load build definition from Dockerfile
#2 transferring dockerfile: 451B done
#2 DONE 0.0s
#3 [migrate internal] load build definition from Dockerfile
#3 transferring dockerfile: 657B done
#3 DONE 0.0s
#4 [migrate internal] load metadata for docker.io/library/node:24-alpine
#4 DONE 0.9s
#5 [web internal] load metadata for docker.io/library/nginx:alpine
#5 DONE 0.9s
#6 [migrate internal] load .dockerignore
#6 transferring context: 147B done
#6 DONE 0.0s
#7 [web internal] load .dockerignore
#7 transferring context: 148B done
#7 DONE 0.0s
#8 [api internal] load build context
#8 DONE 0.0s
#9 [web internal] load build context
#9 DONE 0.0s
#10 [web builder 1/8] FROM docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81
#10 resolve docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 0.0s done
#10 resolve docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 0.0s done
#10 DONE 0.0s
#11 [web stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:c8497b180665e631ec92a5091125bec5b214f0e2b99409e30653a125b37557da
#11 resolve docker.io/library/nginx:alpine@sha256:c8497b180665e631ec92a5091125bec5b214f0e2b99409e30653a125b37557da 0.0s done
#11 DONE 0.0s
#9 [web internal] load build context
#9 transferring context: 241.81kB 0.0s done
#9 DONE 0.1s
#8 [migrate internal] load build context
#8 transferring context: 324.55kB 0.0s done
#8 DONE 0.1s
#12 [api builder 2/8] WORKDIR /app
#12 CACHED
#13 [migrate runner 2/8] RUN apk add --no-cache unzip
#13 CACHED
#14 [api runner 3/8] WORKDIR /app
#14 CACHED
#15 [web builder 3/9] COPY package*.json ./
#15 DONE 0.1s
#16 [api runner 4/8] COPY package*.json ./
#16 DONE 0.1s
#17 [api builder 3/8] COPY package*.json ./
#17 DONE 0.1s
#18 [migrate runner 5/8] RUN npm ci --omit=dev && npm cache clean --force
#18 ...
#19 [web builder 4/9] RUN npm ci
#19 6.370
#19 6.370 added 95 packages, and audited 96 packages in 6s
#19 6.370
#19 6.371 11 packages are looking for funding
#19 6.371 run `npm fund` for details
#19 6.373
#19 6.373 found 0 vulnerabilities
#19 6.374 npm warn install-scripts 1 package has install scripts not yet covered by allowScripts:
#19 6.374 npm warn install-scripts esbuild@0.28.2 (postinstall: node install.js)
#19 6.374 npm warn install-scripts
#19 6.374 npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
#19 6.378 npm notice
#19 6.378 npm notice New major version of npm available! 11.19.0 -> 12.0.2
#19 6.378 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
#19 6.378 npm notice To update run: npm install -g npm@12.0.2
#19 6.378 npm notice
#19 DONE 6.7s
#20 [migrate builder 4/8] RUN npm ci
#20 ...
#21 [web builder 5/9] COPY tsconfig*.json vite.config.ts index.html ./
#21 DONE 0.3s
#20 [migrate builder 4/8] RUN npm ci
#20 ...
#22 [web builder 6/9] COPY public ./public
#22 DONE 0.1s
#18 [migrate runner 5/8] RUN npm ci --omit=dev && npm cache clean --force
#18 7.075 npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
#18 ...
#23 [web builder 7/9] COPY scripts ./scripts
#23 DONE 0.1s
#24 [web builder 8/9] COPY src ./src
#24 DONE 0.2s
#20 [migrate builder 4/8] RUN npm ci
#20 ...
#25 [web builder 9/9] RUN npm run build
#25 0.854
#25 0.854 > dhv2-web@0.23.0-12 build
#25 0.854 > tsc -b && vite build && node scripts/copy-maplibre-worker.mjs
#25 0.854
#25 ...
#18 [migrate runner 5/8] RUN npm ci --omit=dev && npm cache clean --force
#18 13.27
#18 13.27 added 270 packages, and audited 271 packages in 13s
#18 13.27
#18 13.27 79 packages are looking for funding
#18 13.27 run `npm fund` for details
#18 13.28
#18 13.28 found 0 vulnerabilities
#18 13.28 npm warn install-scripts 1 package has install scripts not yet covered by allowScripts:
#18 13.28 npm warn install-scripts argon2@0.45.1 (install: cross-env ZERO_AR_DATE=1 node-gyp-build)
#18 13.28 npm warn install-scripts
#18 13.28 npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
#18 13.28 npm notice
#18 13.28 npm notice New major version of npm available! 11.19.0 -> 12.0.2
#18 13.28 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
#18 13.28 npm notice To update run: npm install -g npm@12.0.2
#18 13.28 npm notice
#18 13.70 npm warn using --force Recommended protections disabled.
#18 DONE 14.6s
#20 [migrate builder 4/8] RUN npm ci
#20 9.744 npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
#20 16.43
#20 16.43 added 465 packages, and audited 466 packages in 16s
#20 16.43
#20 16.43 112 packages are looking for funding
#20 16.43 run `npm fund` for details
#20 16.43
#20 16.43 2 high severity vulnerabilities
#20 16.43
#20 16.43 To address all issues, run:
#20 16.43 npm audit fix
#20 16.43
#20 16.43 Run `npm audit` for details.
#20 16.44 npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
#20 16.44 npm warn install-scripts argon2@0.45.1 (install: cross-env ZERO_AR_DATE=1 node-gyp-build)
#20 16.44 npm warn install-scripts esbuild@0.28.2 (postinstall: node install.js)
#20 16.44 npm warn install-scripts
#20 16.44 npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
#20 16.44 npm notice
#20 16.44 npm notice New major version of npm available! 11.19.0 -> 12.0.2
#20 16.44 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
#20 16.44 npm notice To update run: npm install -g npm@12.0.2
#20 16.44 npm notice
#20 DONE 16.9s
#26 [api builder 5/8] COPY nest-cli.json tsconfig.json ./
#26 DONE 0.3s
#27 [api builder 6/8] COPY src ./src
#27 DONE 0.2s
#28 [api builder 7/8] COPY assets ./assets
#28 DONE 0.1s
#29 [migrate builder 8/8] RUN npm run build
#29 0.303
#29 0.303 > dhv2-api@0.29.0-16 build
#29 0.303 > nest build
#29 0.303
#29 ...
#25 [web builder 9/9] RUN npm run build
#25 16.40 vite v7.3.6 building client environment for production...
#25 16.48 transforming...
#25 21.57 ✓ 192 modules transformed.
#25 21.92 rendering chunks...
#25 ...
#29 [api builder 8/8] RUN npm run build
#29 DONE 12.5s
#25 [web builder 9/9] RUN npm run build
#25 22.48 computing gzip size...
#25 22.53 dist/index.html 0.54 kB │ gzip: 0.33 kB
#25 22.53 dist/assets/index-BGM9rPCD.css 229.94 kB │ gzip: 35.30 kB
#25 22.53 dist/assets/MapPage-BdccW6_3.js 6.65 kB │ gzip: 2.68 kB
#25 22.53 dist/assets/AssetGeometryEditor-bdwx-56k.js 7.71 kB │ gzip: 3.15 kB
#25 22.53 dist/assets/DocumentDeliveryPage-BXI3jAt9.js 10.60 kB │ gzip: 3.41 kB
#25 22.53 dist/assets/index-2nWgiW18.js 701.06 kB │ gzip: 182.24 kB
#25 22.53 dist/assets/maplibre-gl-Bo07yerc.js 953.54 kB │ gzip: 250.10 kB
#25 22.53
#25 22.53 (!) Some chunks are larger than 500 kB after minification. Consider:
#25 22.53 - Using dynamic import() to code-split the application
#25 22.53 - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
#25 22.53 - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
#25 22.53 ✓ built in 6.10s
#25 22.62 MapLibre worker: /app/dist/assets/maplibre-gl-worker.mjs (18592 bytes)
#25 DONE 22.7s
#30 [web stage-1 2/3] COPY nginx/default.conf /etc/nginx/conf.d/default.conf
#30 CACHED
#31 [web stage-1 3/3] COPY --from=builder /app/dist /usr/share/nginx/html
#31 DONE 0.1s
#32 [web] exporting to image
#32 exporting layers
#32 exporting layers 0.2s done
#32 exporting manifest sha256:17c5ed2b5ec245e2a5c3a0adddeb11f49cb0c1b60d9cbba343fc8132fa6455fb
#32 exporting manifest sha256:17c5ed2b5ec245e2a5c3a0adddeb11f49cb0c1b60d9cbba343fc8132fa6455fb 0.0s done
#32 exporting config sha256:8f2af992b9ecf5d6de827b498e6a140afdbcdf7d514e23f4a05dc47c4abe14d7 0.0s done
#32 exporting attestation manifest sha256:3af4c717bc997439d909f0ee0f490d82f567fd95366b25ed2514b7e7fa259f5a 0.0s done
#32 exporting manifest list sha256:cde99f925a4bd8b1613942ccea11612e8e319a9f895212ce6fe3bcc4d5dcf82b
#32 exporting manifest list sha256:cde99f925a4bd8b1613942ccea11612e8e319a9f895212ce6fe3bcc4d5dcf82b 0.0s done
#32 naming to docker.io/library/dhv2-web:latest done
#32 unpacking to docker.io/library/dhv2-web:latest 0.2s done
#32 DONE 0.5s
#33 [migrate runner 6/8] COPY --from=builder /app/dist ./dist
#33 DONE 0.3s
#34 [api runner 7/8] COPY --from=builder /app/assets ./assets
#34 DONE 0.1s
#35 [web] resolving provenance for metadata file
#35 DONE 0.1s
#36 [api runner 8/8] RUN mkdir -p /app/storage/asset-media/imports && chown -R node:node /app/storage
#36 DONE 0.2s
#37 [api] exporting to image
#37 exporting layers 6.2s done
#37 exporting manifest sha256:b4d88423ecccc0cd1de5acbebf0068e6632ea3ef4ff60512233fdd8c63d0d8f6 0.0s done
#37 exporting config sha256:5f4cbf620bda11aa027a7a536876bc2f44f94abd2fcba508c87c1be558bee2cb 0.0s done
#37 exporting attestation manifest sha256:73e2567633c23b875298b13d079a1b8a4e7af69a9935a10f88cdc99c690afec3 0.0s done
#37 exporting manifest list sha256:c3ad5dc72907552dee61da69e62612561e6a2179bd52a5ceedeaf333326a6c5a
#37 exporting manifest list sha256:c3ad5dc72907552dee61da69e62612561e6a2179bd52a5ceedeaf333326a6c5a 0.0s done
#37 naming to docker.io/library/dhv2-api:latest done
#37 unpacking to docker.io/library/dhv2-api:latest
#37 unpacking to docker.io/library/dhv2-api:latest 2.8s done
#37 DONE 9.2s
#38 [migrate] exporting to image
#38 exporting layers 6.2s done
#38 exporting manifest sha256:5156f04ee9d8b2c0a700693ed5ec6649cfcd810760ea1db702fbd0f65fac4502 0.0s done
#38 exporting config sha256:1c7bf62e1fa261b10a570bd55c81a5e4760e298f78c01cabdceba48431aaa328 0.0s done
#38 exporting attestation manifest sha256:75104989516b357952b15a2f00b9e911807bdff6d4106754a63d4cf0338febd0 0.0s done
#38 exporting manifest list sha256:d5df0992847fc8f7ea6bbe3e7850bc2d7d1937036e25077d9cc94a297b98aadb 0.0s done
#38 naming to docker.io/library/dhv2-migrate:latest done
#38 unpacking to docker.io/library/dhv2-migrate:latest 2.8s done
#38 DONE 9.2s
#39 [migrate] resolving provenance for metadata file
#39 DONE 0.1s
#40 [api] resolving provenance for metadata file
#40 DONE 0.0s
Image dhv2-api Built
Image dhv2-migrate Built
Image dhv2-web Built
========== MIGRACIONES ==========
Container dhv2-db Running
Container dhv2-db Waiting
Container dhv2-db Healthy
Container dhv2-migrate-run-6a7f0113e93c Creating
Container dhv2-migrate-run-6a7f0113e93c Created
> dhv2-api@0.29.0-16 migration:run
> node dist/database/migration-cli.js run
Applied migrations: 0
npm notice
npm notice New major version of npm available! 11.19.0 -> 12.0.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
npm notice To update run: npm install -g npm@12.0.2
npm notice
Container dhv2-db Running
Container dhv2-db Waiting
Container dhv2-db Healthy
Container dhv2-migrate-run-389818b3d227 Creating
Container dhv2-migrate-run-389818b3d227 Created
> dhv2-api@0.29.0-16 migration:show
> node dist/database/migration-cli.js show
Pending migrations: no
npm notice
npm notice New major version of npm available! 11.19.0 -> 12.0.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
npm notice To update run: npm install -g npm@12.0.2
npm notice
========== RECREATE API + WEB ==========
Container dhv2-api Recreate
Container dhv2-api Recreated
Container dhv2-web Recreate
Container dhv2-web Recreated
Container dhv2-api Starting
Container dhv2-api Started
Container dhv2-web Starting
Container dhv2-web Started
========== HEALTH ==========
{"status":"ok","service":"dhv2-api","api":"v3","version":"0.29.0-16","phase":"F6.16","database":"ok","time":"2026-09-16T12:05:35.330Z","latencyMs":1}
========== VERIFICACIÓN FINAL ==========
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
dhv2-api dhv2-api "docker-entrypoint.s…" api 4 seconds ago Up 2 seconds 127.0.0.1:3101->3000/tcp
dhv2-db postgis/postgis:16-3.5 "docker-entrypoint.s…" db 4 weeks ago Up 4 weeks (healthy) 5432/tcp
dhv2-web dhv2-web "/docker-entrypoint.…" web 3 seconds ago Up 2 seconds 127.0.0.1:8182->80/tcp
Servicios críticos: OK
database-before.dump: OK
source-before.tar.gz: OK
.env: OK
previous.sha: OK
target.sha: OK
docker-before.txt: OK
database-after.dump: OK
deployed.sha: OK
deployed-versions.txt: OK
health.json: OK
migrations.txt: OK
docker-after.txt: OK
============================================================
DH V2 · DEPLOY OK
============================================================
Commit: fa6ba7f31ef1e55804f40caeb267ebde2a76d3e9
API: 0.29.0-16
WEB: 0.23.0-12
Backup: /root/DH_V2_BACKUPS/GITEA_DEPLOY_20260916_090442
============================================================
+12
View File
@@ -0,0 +1,12 @@
status=success
exit_code=0
phase=complete
timestamp=2026-09-16T09:05:36-03:00
deploy_ref=deploy
previous_sha=a414d0ed36db385e8a38d93929316beae881f9be
target_sha=fa6ba7f31ef1e55804f40caeb267ebde2a76d3e9
current_sha=fa6ba7f31ef1e55804f40caeb267ebde2a76d3e9
api_version=0.29.0-16
web_version=0.23.0-12
app_touched=1
backup=/root/DH_V2_BACKUPS/GITEA_DEPLOY_20260916_090442