Skip to content

build: deploy.sh publishes all four images; LF scripts; 40m build timeout - #16

Merged
kordless merged 3 commits into
mainfrom
fix/sh-eol-lf
Oct 14, 2026
Merged

kordless merged 3 commits into
mainfrom
fix/sh-eol-lf

Conversation

@kordless

@kordless kordless commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Fixes for everything that went wrong or was manual during the v0.6.0 release:

  • deploy.sh publishes all four images. After the Cloud Run deploy it:

    • copies the CUDA image to Docker Hub as deepbluedynamics/shivvr:<version>, v<version> and latest (registry to registry);
    • copies the gateway that the tag's CI published into GCR;
    • deploys it to shivvr-landing.

    Together with the tag's CI (gateway and -cpu images), one tag plus bash deploy.sh publishes everything; there's no hand copying any more. SKIP_PUBLISH=1 stops after the backend deploy. If the gateway isn't on Docker Hub yet, the script stops and prints the two commands to finish by hand. Every step echoes what it's doing. docs/OPERATIONS.md is updated.

  • .gitattributes with *.sh text eol=lf. CRLF checkouts on Windows broke bash deploy.sh (syntax error: unexpected end of file).

  • CUDA app build timeout 20m → 40m. The v0.6.0 Cloud Build ran past 20 minutes and timed out.

Checked with bash -n deploy.sh only. The publish steps are the same commands run by hand for v0.6.0, but this script hasn't run end to end yet; its first real run is the next release.

🤖 Generated with Claude Code

kordless and others added 2 commits October 14, 2026 12:28
bash fails on CRLF, which broke deploy.sh on a Windows checkout with core.autocrlf=true during the v0.6.0 release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The v0.6.0 CUDA build ran past the 20-minute limit and timed out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kordless kordless changed the title build: keep LF line endings for shell scripts build: LF shell scripts and a 40m app build timeout Oct 14, 2026
After the Cloud Run deploy, deploy.sh copies the CUDA image to Docker Hub (version, v-tag, latest), copies the gateway that the tag's CI published into GCR, and deploys it to shivvr-landing. SKIP_PUBLISH=1 stops after the backend deploy. docs/OPERATIONS.md describes the steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kordless kordless changed the title build: LF shell scripts and a 40m app build timeout build: deploy.sh publishes all four images; LF scripts; 40m build timeout Oct 14, 2026
@kordless
kordless merged commit 73d06e4 into main Oct 14, 2026
@kordless kordless mentioned this pull request Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant