Prepare pricing routes and release records
myfileagent-python-ci/pipeline/head This commit looks good

This commit is contained in:
Codex
2026-11-04 20:16:13 +00:00
parent 55abfbc951
commit 80c7fe2bdc
4 changed files with 27 additions and 0 deletions
+4
View File
@@ -48,3 +48,7 @@
## Jenkins validation #3 and deployment preparation ## Jenkins validation #3 and deployment preparation
- Jenkins assignment8-validation #3 succeeded for commit dd7c12c519b14f59d9842ebd6d417e7117d92e94, including tests, dependency audit, expanded repository secret scan, Ansible syntax, image build and HIGH/CRITICAL image scan; report archived. Evidence: https://ci.myfileagent.tech/job/assignment8-validation/3/console . Build context was 7.68 kB after excluding test venv. - Jenkins assignment8-validation #3 succeeded for commit dd7c12c519b14f59d9842ebd6d417e7117d92e94, including tests, dependency audit, expanded repository secret scan, Ansible syntax, image build and HIGH/CRITICAL image scan; report archived. Evidence: https://ci.myfileagent.tech/job/assignment8-validation/3/console . Build context was 7.68 kB after excluding test venv.
- Verified agent-to-host private SSH gateway 172.20.0.1 matches the host ED25519 fingerprint SHA256:CXrEv4+pv1jTwBtwxdTGlouS6I4H1Q6TkKbvQrbacu0. Prepared inventory and verified public known_hosts entry; dedicated account and Jenkins SSH credential are not yet configured. Prepared private deployment key and a reviewable administrator setup script, not yet executed. Gitea registry endpoint returns 401 as expected for authentication; registry push/pull has not been verified. - Verified agent-to-host private SSH gateway 172.20.0.1 matches the host ED25519 fingerprint SHA256:CXrEv4+pv1jTwBtwxdTGlouS6I4H1Q6TkKbvQrbacu0. Prepared inventory and verified public known_hosts entry; dedicated account and Jenkins SSH credential are not yet configured. Prepared private deployment key and a reviewable administrator setup script, not yet executed. Gitea registry endpoint returns 401 as expected for authentication; registry push/pull has not been verified.
## Deployment access and DNS verification
- On 2026-11-04, a8deploy account existed. Both staging.myfileagent.tech and app.myfileagent.tech resolved to 142.93.193.110 via Droplet resolver. From assignment8-trusted, SSH using the dedicated private key and pinned host key returned uid 1001; sudo -n id returned root. The test key was removed from the agent after verification. Passwordless sudo grants host-administrator access. No Jenkins SSH credential configured yet.
- Prepared Caddy route and v1 release-record templates; neither route nor application deployment has been applied. Registry endpoint requires authentication; no registry package-write or package-read credential has been verified.
@@ -0,0 +1,7 @@
# Add to the existing Caddy configuration; preserve all existing routes.
staging.myfileagent.tech {
reverse_proxy pricing-staging:8000
}
app.myfileagent.tech {
reverse_proxy pricing-production:8000
}
@@ -0,0 +1,8 @@
# Replace digest and commit with the approved build values. No secrets belong here.
target_env: production
release_image: myfileagent.tech/myfileagent/pricing@sha256:REPLACE_DIGEST
expected_version: v1
expected_commit: REPLACE_FULL_GIT_COMMIT
expected_total: 30
public_url: https://app.myfileagent.tech
proxy_network: myfileagent-gitea_gitea-private
@@ -0,0 +1,8 @@
# Replace digest and commit with the approved build values. No secrets belong here.
target_env: staging
release_image: myfileagent.tech/myfileagent/pricing@sha256:REPLACE_DIGEST
expected_version: v1
expected_commit: REPLACE_FULL_GIT_COMMIT
expected_total: 30
public_url: https://staging.myfileagent.tech
proxy_network: myfileagent-gitea_gitea-private