Skip to content

Fix the local-dev-cluster version bump in deploy.yaml - #179

Merged
coltfred merged 2 commits into
mainfrom
fix-depot-tiltfile-bump
Oct 8, 2026
Merged

coltfred merged 2 commits into
mainfrom
fix-depot-tiltfile-bump

Conversation

@coltfred

@coltfred coltfred commented Oct 8, 2026

Copy link
Copy Markdown
Member

depot's local-dev-cluster Tiltfile now routes every image through a helper that concatenates "FROM " onto a gcr= argument at runtime, so the sed's FROM ${IMG_NAME} anchor never matched and the tag was silently left alone. Match the bare image name, which still covers Tiltfiles spelling out FROM <name>:<tag> inline.

The image name appears in that gcr= argument whether or not its tag changed, so grep alone was enough to set changed=true on a no-op run. The push step then ran git commit with nothing staged, exiting 1 and failing the job. Gate the flag on cmp finding a real difference instead.

depot's local-dev-cluster Tiltfile now routes every image through a helper that
concatenates "FROM " onto a gcr= argument at runtime, so the sed's
`FROM ${IMG_NAME}` anchor never matched and the tag was silently left alone.
Match the bare image name, which still covers Tiltfiles spelling out
`FROM <name>:<tag>` inline.

The image name appears in that gcr= argument whether or not its tag changed, so
grep alone was enough to set changed=true on a no-op run. The push step then ran
git commit with nothing staged, exiting 1 and failing the job. Gate the flag on
cmp finding a real difference instead.
@coltfred
coltfred requested a review from a team as a code owner October 8, 2026 20:14
@coltfred
coltfred requested review from giarc3 and removed request for a team October 8, 2026 20:14
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Merging this PR will move these workflow tags:

deploy-v1.0.0

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

File Coverage Lines
All files 66% 66% ✅

Minimum allowed coverage is 24%

Generated by 🐒 cobertura-action against abd8353

@coltfred
coltfred enabled auto-merge (squash) October 8, 2026 20:18
@coltfred
coltfred merged commit 8912a75 into main Oct 8, 2026
13 checks passed
@coltfred
coltfred deleted the fix-depot-tiltfile-bump branch October 8, 2026 20:21
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.

2 participants