Repository navigation
dev2 deploys: IMAGE_REPO prebuilt-image mode (dev2 pulls, never builds) - #275
Merged
Merged
Conversation
…build on dev2)
deploy-app.sh: with IMAGE_REPO in deploy.env (sites.d "image_repo") the
script pulls <IMAGE_REPO>:<full sha>, exports APP_IMAGE for compose and
runs compose up --no-build. A missing tag stops the deploy before the
running stack is touched; there is no local-build fallback. Registry
auth is one line on stdin (the workflow's GITHUB_TOKEN), read before the
deploy gate and used with a throwaway DOCKER_CONFIG, never stored.
Rollback re-points APP_IMAGE at the snapshotted image; old pulled tags
are pruned after a healthy deploy (current, previous, :rollback kept).
dev2-site renders IMAGE_REPO and image: ${APP_IMAGE:-<site>-app:latest}.
c0mpute.com moves from remote_build (never rolled out) to image_repo
ghcr.io/profullstack/c0mpute-web.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan42 finding(s) HIGH/CRITICAL: 15 | MEDIUM: 13 | LOW: 14
Snippets are redacted; ThreatCrush never prints matched credential material. |
This was referenced Nov 22, 2026
Merged
ralyodio
added a commit
that referenced
this pull request
Nov 23, 2026
…aller), coinpayportal, bittorrented (#278) The heaviest dev2 deploys stop building on the box (STANDING: never build on dev2). Each repo is public, so its deploy workflow builds the image on GitHub Actions (free minutes) and pushes ghcr.io/profullstack/<pkg>:<sha>; dev2's deploy-app.sh pulls it in IMAGE_REPO mode (#275). - sites.d: image_repo for threatcrush.com (threatcrush-web, replaces the unused remote_build), crawlproof.com (crawlproof-web, bespoke deploy script), pairux.com (pairux-web), installer.pairux.com (pairux-installer), coinpayportal.com (coinpayportal-web), bittorrented.com (bittorrented-web; app_host corrected: it runs on dev2, the droplet is retired) - templates/deploy-app.sh: the operator vault handoff coinpayportal.com's copy carried by hand (export the old container's unlock before the swap, import it once healthy or after a rollback) is now in the template, a no-op wherever scripts/operator-vault-handoff.sh is absent, so coinpayportal can run the shared template with prebuilt mode Co-authored-by: riotcoder <riotcoder@profullstack.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dev2 (about 2 GB free RAM, swap full, load 50-80) compiled the Rust
c0mputebinary and the Next.js site in every c0mpute.com deploy. This adds an opt-in mode where CI builds and dev2 only pulls.deploy-app.sh:IMAGE_REPOin deploy.env means pull<IMAGE_REPO>:<full sha>, exportAPP_IMAGE, thencompose up --no-build. If the tag is missing, the deploy stops with an error and the running stack is not touched. It never falls back to a local build. Deploy-gate, vault sync, standby, health check and rollback stay as they were. On rollback,APP_IMAGEis pointed back at the snapshotted image.GITHUB_TOKENas one line on ssh stdin. The script reads it before deploy-gate, because the gate runs its job with stdin on /dev/null. The token goes todocker loginin a throwawayDOCKER_CONFIGand is never written to the box.ci-deployneeds no change, since stdin passes through itsexec.:rollbackare kept.dev2-site: sites.dimage_reporendersIMAGE_REPO=andimage: ${APP_IMAGE:-<site>-app:latest}.remote_build(dev2: REMOTE_BUILD=c0mpute builds site images on a c0mpute builder #263, never applied on the box) is replaced byimage_repo: ghcr.io/profullstack/c0mpute-web. The image comes from profullstack/c0mpute's deploy-dev2 workflow.🤖 Generated with Claude Code