ci(release-server): wire openapi build context for dashboard stage#27
Closed
ci(release-server): wire openapi build context for dashboard stage#27
Conversation
Both Dockerfile and Dockerfile.cuda have `COPY --from=openapi openapi.yaml /spec/openapi.yaml` in the dashboard build stage (added when the dashboard started consuming the OpenAPI spec for type generation). The release workflow's docker/build-push-action calls were missing the corresponding `build-contexts: openapi=doc` parameter, so the next `server/v*` tag push (or workflow_dispatch) would fail at the dashboard stage with "stage openapi not found". `make docker-build-cuda-dev` works because it passes `--build-context openapi=$(ROOT)/../doc` directly. This brings CI to parity. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
5 tasks
Owner
Author
|
Superseded by #28 — the workflow fix logically belongs with the dashboard work that introduced the dependency on |
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.
Summary
Both
server/Dockerfileandserver/Dockerfile.cudahaveCOPY --from=openapi openapi.yaml /spec/openapi.yamlin their dashboard build stage (added when the dashboard started consuming the OpenAPI spec for type generation). The release workflow'sdocker/build-push-actioncalls were missing the correspondingbuild-contexts: openapi=docparameter, so the next `server/v*` tag push (orworkflow_dispatch) would fail at the dashboard stage withstage openapi not found.make docker-build-cuda-devworks because it passes--build-context openapi=$(ROOT)/../docdirectly. This brings CI to parity.Must merge BEFORE `server/v0.5.0` tag — otherwise the release CI run will fail.
Verification
Verified end-to-end via
workflow_dispatchtest run #25315845271:Pushed test images to Docker Hub at `dvcdsys/code-index:ci-test-openapi` (CPU) and `:ci-test-openapi-cu128` — production tags `:latest` / `:cu128` were not touched (`update_floating_tags=false`).
Test plan
🤖 Generated with Claude Code