Record verified own-registry base remedy and refresh exact R3 delivery manifest
This commit is contained in:
1 parent
f3c197d76f
commit
8d3f59daee
8 files changed
+243
-7
No files matched your search
@@ -0,0 +1,117 @@
|
||||
Explore
|
||||
Help
|
||||
Sign In
|
||||
huncode
|
||||
/
|
||||
videoreg.ru
|
||||
Watch
|
||||
1
|
||||
Star
|
||||
0
|
||||
Fork
|
||||
0
|
||||
Code
|
||||
Issues
|
||||
Pull Requests
|
||||
Actions
|
||||
Packages
|
||||
Projects
|
||||
Releases
|
||||
Wiki
|
||||
Activity
|
||||
Back to workflow master
|
||||
Record five exact R3 limited approvals and independently reviewed frozen delivery packet
|
||||
#11
|
||||
Summary
|
||||
All jobs
|
||||
production
|
||||
2m43s
|
||||
Run Details
|
||||
Workflow file
|
||||
production
|
||||
|
||||
Failure
|
||||
|
||||
Set up job
|
||||
31s
|
||||
Checkout
|
||||
28s
|
||||
Setup Node for build
|
||||
23s
|
||||
Prepare deployment metadata
|
||||
0s
|
||||
Install dependencies
|
||||
26s
|
||||
Build static site
|
||||
15s
|
||||
Restore exact five-role reviewed limited export
|
||||
0s
|
||||
Verify published corpus without claiming complete history
|
||||
3s
|
||||
Verify static output
|
||||
1s
|
||||
Login to container registry
|
||||
0s
|
||||
Build static image
|
||||
27s
|
||||
1
|
||||
Run set -euo pipefail
|
||||
11
|
||||
#0 building with "default" instance using docker driver
|
||||
12
|
||||
13
|
||||
#1 [internal] load build definition from Dockerfile
|
||||
14
|
||||
#1 transferring dockerfile:
|
||||
15
|
||||
#1 transferring dockerfile: 414B 0.0s done
|
||||
16
|
||||
#1 DONE 0.3s
|
||||
17
|
||||
18
|
||||
#2 [internal] load metadata for docker.io/library/nginx:1.28-alpine
|
||||
19
|
||||
#2 ERROR: failed to authorize: failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fnginx%3Apull&service=registry.docker.io": net/http: TLS handshake timeout
|
||||
20
|
||||
------
|
||||
21
|
||||
> [internal] load metadata for docker.io/library/nginx:1.28-alpine:
|
||||
22
|
||||
------
|
||||
23
|
||||
Dockerfile:1
|
||||
24
|
||||
--------------------
|
||||
25
|
||||
1 | >>> FROM nginx:1.28-alpine
|
||||
26
|
||||
2 | RUN rm -rf /usr/share/nginx/html
|
||||
27
|
||||
3 | COPY ***/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
28
|
||||
--------------------
|
||||
29
|
||||
ERROR: failed to build: failed to run Build function: failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fnginx%3Apull&service=registry.docker.io": net/http: TLS handshake timeout
|
||||
30
|
||||
Error: Process completed with exit code 1.
|
||||
Push static image
|
||||
0s
|
||||
Configure remote Docker
|
||||
0s
|
||||
Deploy production stack
|
||||
0s
|
||||
Complete job
|
||||
8s
|
||||
Job summaries
|
||||
production
|
||||
Vitest Test Report
|
||||
Summary
|
||||
Test Files: ✅ 9 passes · 9 total
|
||||
Test Results: ✅ 21 passes · 21 total
|
||||
Powered by Gitea
|
||||
Version: 28.2.0
|
||||
Page: 3ms Template: 0ms
|
||||
Auto
|
||||
English
|
||||
Licenses
|
||||
API
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"run": 1333,
|
||||
"job": 1532,
|
||||
"sourceCommit": "419520e44f2e9867114082fdf5ca871cbfdab252",
|
||||
"observedAt": "2026-10-26T17:07:04.108182+00:00",
|
||||
"status": "Failure",
|
||||
"restoreFiveRoleFrozenExport": "success",
|
||||
"publishedCorpusGate": "success",
|
||||
"failureStep": "Build static image",
|
||||
"reason": "auth.docker.io TLS handshake timeout beforebaseimagebuild",
|
||||
"registryPush": "skipped",
|
||||
"deployment": "skipped",
|
||||
"productionChanged": false,
|
||||
"evidence": "run1333-observed-ui.txt",
|
||||
"remedy": "Separatelyprogrammerapproved exactknownownregistryamd64nginx1.28.3 base digest; maintainallgates"
|
||||
}
|
||||
@@ -25,5 +25,13 @@
|
||||
"ciRetryEvidence": "ci/run1324.json",
|
||||
"ciBuildSourceCommit": "e8cef39175f293b36e3f7a89484b39c66552b7ef",
|
||||
"ciAppSourceSha256": "72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822",
|
||||
"ciExportSha256": "fd1ca9499c8ad1291dbd5240877ae2b4a868a5ebbacf7456696d57cbca7716df"
|
||||
"ciExportSha256": "fd1ca9499c8ad1291dbd5240877ae2b4a868a5ebbacf7456696d57cbca7716df",
|
||||
"limitedReleaseAppSource": "78274fbe09c0fd7d0b8d94830db1f31fa76b1db9",
|
||||
"limitedReleaseExportSha256": "4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01",
|
||||
"deliveryCodeCommit": "f2494e8d1fb6c60380f78fdf40d56910d7d01b6c",
|
||||
"productionTriggerCommit": "419520e44f2e9867114082fdf5ca871cbfdab252",
|
||||
"masterFastForward": "056f1a6..419520e",
|
||||
"fiveLimitedApprovalsVerified": true,
|
||||
"productionStage": "awaiting actual Gitea production job and Swarm/runtime verification",
|
||||
"fullHistoricalRestorationAccepted": false
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"checkedAt": "2026-10-26T17:05:18.862991+00:00",
|
||||
"image": "git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e",
|
||||
"checks": [
|
||||
{
|
||||
"command": [
|
||||
"ssh",
|
||||
"-o",
|
||||
"BatchMode=yes",
|
||||
"-o",
|
||||
"ConnectTimeout=10",
|
||||
"zz",
|
||||
"docker image inspect 'git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e' --format '{{.Architecture}} {{.Os}} {{.Id}}'"
|
||||
],
|
||||
"returncode": 0,
|
||||
"stdout": "amd64 linux sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e\n",
|
||||
"stderr": ""
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"ssh",
|
||||
"-o",
|
||||
"BatchMode=yes",
|
||||
"-o",
|
||||
"ConnectTimeout=10",
|
||||
"zz",
|
||||
"docker run --rm --entrypoint nginx 'git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e' -v"
|
||||
],
|
||||
"returncode": 0,
|
||||
"stdout": "",
|
||||
"stderr": "nginx version: nginx/1.28.3\n"
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"git",
|
||||
"show",
|
||||
"9b5b080e6019770438dc04af4eaf67d1f8035617:Dockerfile"
|
||||
],
|
||||
"returncode": 0,
|
||||
"stdout": "FROM nginx:1.28-alpine\nCOPY deploy/nginx.conf /etc/nginx/conf.d/default.conf\nCOPY web-front/out/ /usr/share/nginx/html/\nEXPOSE 8080\nHEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 CMD wget -qO- http://127.0.0.1:8080/health/ready >/dev/null || exit 1\n",
|
||||
"stderr": ""
|
||||
}
|
||||
],
|
||||
"purpose": "Read cached existing own released staticbase; no service/router change",
|
||||
"selectedImageConfig": {
|
||||
"Architecture": "amd64",
|
||||
"Entrypoint": [
|
||||
"/docker-entrypoint.sh"
|
||||
],
|
||||
"Cmd": [
|
||||
"nginx",
|
||||
"-g",
|
||||
"daemon off;"
|
||||
],
|
||||
"User": "",
|
||||
"OnBuild": null,
|
||||
"Volumes": null
|
||||
}
|
||||
}
|
||||
@@ -79,11 +79,11 @@
|
||||
"sha256": "f8abfddb2682146976ca33dcf2c9d3bad1baf29f2f7e90de242fefa25de5540c"
|
||||
}
|
||||
],
|
||||
"deploymentSourceCommit": "f2494e8d1fb6c60380f78fdf40d56910d7d01b6c",
|
||||
"deploymentSourceCommit": "f3c197d76f3b6d424d9f43caa3fa72cd757d4a75",
|
||||
"deploymentFiles": [
|
||||
{
|
||||
"path": "Dockerfile",
|
||||
"sha256": "95f1b037a7a401375b53d5f0dacf6ff9f3ececf0c3984d5d0312eb0e6f6af117"
|
||||
"sha256": "c63d04d76f507e21beed1bbf5427e062deee4518f9b30ac3c0edf271dd0e7bd5"
|
||||
},
|
||||
{
|
||||
"path": "deploy/nginx.conf",
|
||||
@@ -119,7 +119,7 @@
|
||||
},
|
||||
{
|
||||
"path": ".gitea/workflows/master.yml",
|
||||
"sha256": "0ea44828d3182b18d06b4186870796ed4939ad219536471462daa92a88a9eb2f"
|
||||
"sha256": "28c8e59540b291f6dafaf17c593161c62310a3588876d42395acf875c7c7b772"
|
||||
}
|
||||
],
|
||||
"exportManifestSha256": "4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01",
|
||||
@@ -2517,5 +2517,11 @@
|
||||
"agent": "/root/v2_programmer",
|
||||
"path": "docs/rebuild-v2/reviews/limited-delivery-pipeline.md",
|
||||
"sha256": "44a86542c4dc31d4a9fb01c6ea13a30ff5ff9446844fa01107d247a2e7d7cff1"
|
||||
},
|
||||
"baseDeliveryReview": {
|
||||
"agent": "/root/v2_programmer",
|
||||
"decision": "ALLOW",
|
||||
"path": "docs/rebuild-v2/reviews/limited-delivery-base-fix.md",
|
||||
"sha256": "f381c6c3e0152f1a7be9a08593931f985e06d3240ad68d3e356de3d79f1f4d54"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
# Independent review: immutable registry base fix
|
||||
|
||||
Decision: **ALLOW** the proposed narrow delivery-only change. Reviewed 2026-10-26. This authorizes the described implementation within the already approved limited-release pipeline; it does not assert that the changed pipeline has already built or deployed successfully.
|
||||
|
||||
Use `ARG BASE_IMAGE=nginx:1.28-alpine` followed by `FROM ${BASE_IMAGE}` in Dockerfile, with CI explicitly passing exactly `git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e`. Preserve `--pull --platform linux/amd64` and all existing verification steps. No floating registry tag substitute is covered by this decision.
|
||||
|
||||
## Inspected evidence and effect
|
||||
|
||||
I independently read `git show 9b5b080e6019:Dockerfile`: its five lines start from nginx:1.28-alpine, copy only default.conf and the static public tree, expose8080, and define the same ready healthcheck. It contains no application executable, custom entrypoint, ONBUILD, user, or volume directive. I also read that revision's complete nginx.conf and the current replacement. Current Dockerfile lines2–5 delete the entire inherited public tree, overwrite default.conf, install the generated legacy map, and copy the frozen reviewed export. Thus the old V1 pages and default50x cannot remain in the served tree. The lower image layers still contain old bytes, but they are not exposed by the nginx root and do not become part of the reviewed public export.
|
||||
|
||||
`docs/rebuild-v2/evidence/known-registry-nginx-base.json`, checked at17:05:18UTC, records successful actual zz inspection of this exact reference: linux/amd64; actual `nginx -v` reports nginx/1.28.3. `pre-limited-production-readonly.json` separately records the service using the same exact digest and apex health identifying source9b5b080e6019770438dc04af4eaf67d1f8035617. This is stronger evidence than a tag name alone. I read these captured results; I did not perform a new registry pull or production container operation.
|
||||
|
||||
The coordinator reports actual CI1333/job1532 passed frozen five-role restore and the full published technical gate, then failed obtaining DockerHub metadata with TLS handshake timeout; push/deploy were skipped. Switching the base fetch to the already authenticated existing registry addresses that specific network dependency. It needs no new credentials, mirror, daemon settings, or service changes. A pinned own image is reproducible at the selected runtime version; retrying the floating upstream tag can instead resolve a different upstream image.
|
||||
|
||||
## Required unchanged delivery guarantees
|
||||
|
||||
The previous exact delivery-code review applies to the unchanged stages. In the currently inspected workflow, lines150–155 retain native amd64 build/assertion, real nginx configuration validation, and exact image-public-tree verification against all472 frozen files before push. Lines161–166 push and resolve the new resulting image digest for Swarm. The new final image must have its own resulting digest; the old base digest is only the FROM input, never the replacement service image.
|
||||
|
||||
`deploy/release-artifact.py:33–42` checks the exact ten deployment files against both working hashes and the separately named deployment source revision. Therefore the Dockerfile/workflow change must be committed as a new delivery revision D, and the release manifest regenerated with those actual file hashes and D. Do not suppress this check or leave the prior f2494e8 deployment identity in place. The five immutable payload approvals remain valid because their app source, app manifest and export remain exactly:
|
||||
|
||||
- Source C:78274fbe09c0fd7d0b8d94830db1f31fa76b1db9.
|
||||
- App manifest:fbd0d8316c235eda0819afc2f4f69a87dff29138208a3c13ed0016ade74f541d.
|
||||
- Export:4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01.
|
||||
|
||||
Retain the fresh complete technical crawl, the explicit119unresolved/full-history-blocked result, five exact report/hash guards, archive/tree guards, immutable resulting digest deployment, and isolation to the videoreg stack. A base change is not permission to relabel a rebuilt Next export as the reviewed frozen bytes.
|
||||
|
||||
## Tradeoff and actual completion
|
||||
|
||||
This intentionally inherits the already released nginx1.28.3 runtime rather than obtaining a newer upstream patch through the failing network path. It also retains lower-layer V1 static bytes and increases image history size; those bytes were public already, and the mandatory root deletion plus exact tree check prevents their accidental publication. Normal runtime patch maintenance can later update the base with its own verification. No concrete new publication harm warrants blocking this bounded fix.
|
||||
|
||||
No production or application mutation was performed by this reviewer. The fix still needs its actual CI build/push result and selected-digest rollout/runtime/TLS evidence under `.10`. Full historical recovery `.1/.4/.7/.8` remains mandatory and open; this decision accepts only the already scoped useful corpus.
|
||||
Reference in new issue
Block a user