From 3e8c62652bee2e457a9a2ae8356410c8786383d9 Mon Sep 17 00:00:00 2001 From: DH V2 Deploy Bot Date: Wed, 16 Sep 2026 07:55:37 -0300 Subject: [PATCH] =?UTF-8?q?deploy-status:=20success=20=C2=B7=20phase=20com?= =?UTF-8?q?plete?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.log | 349 +++++++++++++++++++++++++++++++++++++++++++++++++++++ status.txt | 12 ++ 2 files changed, 361 insertions(+) create mode 100644 deploy.log create mode 100644 status.txt diff --git a/deploy.log b/deploy.log new file mode 100644 index 0000000..b2f4ced --- /dev/null +++ b/deploy.log @@ -0,0 +1,349 @@ + +============================================================ + DH V2 · DEPLOY DESDE GITEA · deploy +============================================================ +From https://git.korexlabs.com.ar/admin/dh-inspeccion-v2 + * branch deploy -> FETCH_HEAD + * branch main -> FETCH_HEAD + 29208f4..0b731b7 main -> origin/main +Actual: 29208f4e1f1c6f05465227e6b0c791f41426d314 +Objetivo: 0b731b722f874a87b37a146d95fc72182f6a45df +Main: 0b731b722f874a87b37a146d95fc72182f6a45df +API candidata: 0.29.0-14 +WEB candidata: 0.23.0-10 + +========== 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 ========== +0b731b7 docs(android): document F6.14 mobile scope +678b0f1 ci(android): retry F6.14 artifact upload +c71afab fix(android): scope mobile inspections to yacimiento +Updating 29208f4..0b731b7 +Fast-forward + .github/workflows/android.yml | 4 +- + android-app/RELEASE.md | 13 ++- + android-app/app/build.gradle.kts | 4 +- + .../dhinspeccion/data/MobileInspectionOpen.kt | 46 +++++++-- + .../korexlabs/dhinspeccion/ui/MobileHomeScreen.kt | 106 +++++++++++++++++---- + .../dhinspeccion/ui/ModernMobileActsScreen.kt | 2 +- + .../korexlabs/dhinspeccion/ui/ModernVisitRoot.kt | 6 +- + .../korexlabs/dhinspeccion/ReleaseMetadataTest.kt | 4 +- + api-v3/package-lock.json | 4 +- + api-v3/package.json | 2 +- + .../dto/open-mobile-inspection.dto.ts | 6 ++ + .../inspection-planning-hierarchy.service.ts | 61 ++++++++++++ + .../inspection-visits.controller.ts | 43 +++++++-- + api-v3/src/version.ts | 4 +- + api-v3/test/unit/f4-health-metadata.test.ts | 6 +- + api-v3/test/unit/f5-android-test-cut.test.ts | 4 +- + api-v3/test/unit/f6-1-findings-mobile-open.test.ts | 39 +++++--- + docs/PHASE_F6_14_MOBILE_YACIMIENTO_SCOPE.md | 8 ++ + 18 files changed, 293 insertions(+), 69 deletions(-) + create mode 100644 docs/PHASE_F6_14_MOBILE_YACIMIENTO_SCOPE.md + +========== BUILD PRODUCCIÓN ========== + Image dhv2-api Building + Image dhv2-web Building + Image dhv2-migrate 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.1s + +#3 [migrate internal] load build definition from Dockerfile +#3 transferring dockerfile: 657B done +#3 DONE 0.1s + +#4 [api internal] load metadata for docker.io/library/node:24-alpine +#4 DONE 3.7s + +#5 [api internal] load .dockerignore +#5 transferring context: 147B done +#5 DONE 0.0s + +#6 [api builder 1/8] FROM docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 +#6 resolve docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 0.0s done +#6 DONE 0.0s + +#7 [migrate internal] load build context +#7 transferring context: 342.44kB 0.1s done +#7 DONE 0.1s + +#6 [web builder 1/8] FROM docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 +#6 resolve docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 0.0s done +#6 DONE 0.0s + +#8 [web internal] load metadata for docker.io/library/nginx:alpine +#8 DONE 3.9s + +#9 [migrate runner 2/8] RUN apk add --no-cache unzip +#9 CACHED + +#10 [web builder 2/8] WORKDIR /app +#10 CACHED + +#11 [migrate runner 3/8] WORKDIR /app +#11 CACHED + +#12 [web internal] load .dockerignore +#12 transferring context: 148B done +#12 DONE 0.0s + +#13 [web internal] load build context +#13 transferring context: 19.58kB 0.0s done +#13 DONE 0.1s + +#14 [web stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:c8497b180665e631ec92a5091125bec5b214f0e2b99409e30653a125b37557da +#14 resolve docker.io/library/nginx:alpine@sha256:c8497b180665e631ec92a5091125bec5b214f0e2b99409e30653a125b37557da 0.1s done +#14 DONE 0.1s + +#15 [api runner 4/8] COPY package*.json ./ +#15 DONE 0.2s + +#16 [api builder 3/8] COPY package*.json ./ +#16 DONE 0.3s + +#17 [web builder 8/9] COPY src ./src +#17 CACHED + +#18 [web builder 3/9] COPY package*.json ./ +#18 CACHED + +#19 [web builder 7/9] COPY scripts ./scripts +#19 CACHED + +#20 [web builder 4/9] RUN npm ci +#20 CACHED + +#21 [web builder 6/9] COPY public ./public +#21 CACHED + +#22 [web builder 5/9] COPY tsconfig*.json vite.config.ts index.html ./ +#22 CACHED + +#14 [web stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:c8497b180665e631ec92a5091125bec5b214f0e2b99409e30653a125b37557da +#14 CACHED + +#23 [web builder 9/9] RUN npm run build +#23 CACHED + +#24 [web stage-1 2/3] COPY nginx/default.conf /etc/nginx/conf.d/default.conf +#24 DONE 0.1s + +#25 [migrate builder 4/8] RUN npm ci +#25 ... + +#26 [web stage-1 3/3] COPY --from=builder /app/dist /usr/share/nginx/html +#26 DONE 0.1s + +#27 [web] exporting to image +#27 exporting layers +#27 exporting layers 0.2s done +#27 exporting manifest sha256:4b5e6ea1a3338df02dcd97a6d8a2253506552c3e253a98d2b865e0ca9f26a3a7 0.0s done +#27 exporting config sha256:f2ec6fc513e84a3b28a27f76943205284e4df8b23dee686c28d8014759f4b48a 0.0s done +#27 exporting attestation manifest sha256:ff79ef9865428396e3049ef688022aab76adac53ac4071b5d66f5fc50aa2591c 0.0s done +#27 exporting manifest list sha256:e4b35758ef7855eee7ba7b3ac5b52abe8d11978bfcc04c90036405f0af27a925 0.0s done +#27 naming to docker.io/library/dhv2-web:latest +#27 naming to docker.io/library/dhv2-web:latest done +#27 unpacking to docker.io/library/dhv2-web:latest 0.1s done +#27 DONE 0.4s + +#28 [migrate runner 5/8] RUN npm ci --omit=dev && npm cache clean --force +#28 ... + +#29 [web] resolving provenance for metadata file +#29 DONE 0.0s + +#28 [migrate runner 5/8] RUN npm ci --omit=dev && npm cache clean --force +#28 5.983 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 +#28 9.549 +#28 9.549 added 270 packages, and audited 271 packages in 9s +#28 9.549 +#28 9.549 79 packages are looking for funding +#28 9.549 run `npm fund` for details +#28 9.550 +#28 9.550 found 0 vulnerabilities +#28 9.552 npm warn install-scripts 1 package has install scripts not yet covered by allowScripts: +#28 9.552 npm warn install-scripts argon2@0.45.1 (install: cross-env ZERO_AR_DATE=1 node-gyp-build) +#28 9.552 npm warn install-scripts +#28 9.552 npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve ` to allow. +#28 9.555 npm notice +#28 9.555 npm notice New major version of npm available! 11.19.0 -> 12.0.2 +#28 9.555 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2 +#28 9.555 npm notice To update run: npm install -g npm@12.0.2 +#28 9.555 npm notice +#28 9.778 npm warn using --force Recommended protections disabled. +#28 DONE 10.6s + +#25 [migrate builder 4/8] RUN npm ci +#25 7.861 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 +#25 11.70 +#25 11.70 added 465 packages, and audited 466 packages in 11s +#25 11.71 +#25 11.71 112 packages are looking for funding +#25 11.71 run `npm fund` for details +#25 11.71 +#25 11.71 2 high severity vulnerabilities +#25 11.71 +#25 11.71 To address all issues, run: +#25 11.71 npm audit fix +#25 11.71 +#25 11.71 Run `npm audit` for details. +#25 11.71 npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts: +#25 11.71 npm warn install-scripts argon2@0.45.1 (install: cross-env ZERO_AR_DATE=1 node-gyp-build) +#25 11.71 npm warn install-scripts esbuild@0.28.2 (postinstall: node install.js) +#25 11.71 npm warn install-scripts +#25 11.71 npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve ` to allow. +#25 11.71 npm notice +#25 11.71 npm notice New major version of npm available! 11.19.0 -> 12.0.2 +#25 11.71 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2 +#25 11.71 npm notice To update run: npm install -g npm@12.0.2 +#25 11.71 npm notice +#25 DONE 12.0s + +#30 [api builder 5/8] COPY nest-cli.json tsconfig.json ./ +#30 DONE 0.2s + +#31 [migrate builder 6/8] COPY src ./src +#31 DONE 0.1s + +#32 [api builder 7/8] COPY assets ./assets +#32 DONE 0.1s + +#33 [api builder 8/8] RUN npm run build +#33 0.350 +#33 0.350 > dhv2-api@0.29.0-14 build +#33 0.350 > nest build +#33 0.350 +#33 DONE 7.8s + +#34 [migrate runner 6/8] COPY --from=builder /app/dist ./dist +#34 DONE 0.4s + +#35 [api runner 7/8] COPY --from=builder /app/assets ./assets +#35 DONE 0.2s + +#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 +#37 exporting layers 5.8s done +#37 exporting manifest sha256:68231996e225df2948f0d8a9dca80c70b066afad74f43f426f24165472fba235 +#37 exporting manifest sha256:68231996e225df2948f0d8a9dca80c70b066afad74f43f426f24165472fba235 0.0s done +#37 exporting config sha256:f70c70aa50482090397cae394ae2b60d0d899664f42e5e9ef5593eda083acd74 0.0s done +#37 exporting attestation manifest sha256:56f4169a19d7e0a94b490c0ae03add3b6c95d3cc592bc8f822bfdba12f843aa2 0.1s done +#37 exporting manifest list sha256:86e03d04da8cad4d1ac69c316520ac1e28e3602521ef8756662d7f2ef2fed143 +#37 exporting manifest list sha256:86e03d04da8cad4d1ac69c316520ac1e28e3602521ef8756662d7f2ef2fed143 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.7s done +#37 DONE 8.7s + +#38 [migrate] exporting to image +#38 exporting layers 5.8s done +#38 exporting manifest sha256:a45014fae67ae2b52127b8ee7ab4ec953fc4f37a7b2d20ad152e64a14c8e9aee 0.0s done +#38 exporting config sha256:333e16c452e9e7aa2cf7a473280ece55e558c62b353b5e09c7579d46804f72c0 0.0s done +#38 exporting attestation manifest sha256:8862f004198790a2676432b42f9bc3e7f6b28aca5bdb5a61e2f93146a760f2f8 0.1s done +#38 exporting manifest list sha256:838cf5385fb2c20e1047eee5a23f9a20675e9a7473a0fe8b57de0cc78688a199 0.0s done +#38 naming to docker.io/library/dhv2-migrate:latest done +#38 unpacking to docker.io/library/dhv2-migrate:latest 2.7s done +#38 DONE 8.7s + +#39 [migrate] resolving provenance for metadata file +#39 ... + +#40 [api] resolving provenance for metadata file +#40 DONE 0.9s + +#39 [migrate] resolving provenance for metadata file +#39 DONE 1.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-39af4aabb0a1 Creating + Container dhv2-migrate-run-39af4aabb0a1 Created + +> dhv2-api@0.29.0-14 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-cb92c48fb913 Creating + Container dhv2-migrate-run-cb92c48fb913 Created + +> dhv2-api@0.29.0-14 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-14","phase":"F6.14","database":"ok","time":"2026-09-16T10:55:36.225Z","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: 0b731b722f874a87b37a146d95fc72182f6a45df +API: 0.29.0-14 +WEB: 0.23.0-10 +Backup: /root/DH_V2_BACKUPS/GITEA_DEPLOY_20260916_075448 +============================================================ diff --git a/status.txt b/status.txt new file mode 100644 index 0000000..0c8069a --- /dev/null +++ b/status.txt @@ -0,0 +1,12 @@ +status=success +exit_code=0 +phase=complete +timestamp=2026-09-16T07:55:37-03:00 +deploy_ref=deploy +previous_sha=29208f4e1f1c6f05465227e6b0c791f41426d314 +target_sha=0b731b722f874a87b37a146d95fc72182f6a45df +current_sha=0b731b722f874a87b37a146d95fc72182f6a45df +api_version=0.29.0-14 +web_version=0.23.0-10 +app_touched=1 +backup=/root/DH_V2_BACKUPS/GITEA_DEPLOY_20260916_075448