Repository navigation
demo.sh: use spec.workspace and the server's default task image - #533
Merged
Merged
Conversation
ax apply rejected the demo Task: google#496 replaced spec.workspaces with spec.workspace. The pinned runner image predates google#496 and fails on the new field, so leave spec.image unset unless AX_TASK_IMAGE is given.
mayawang
approved these changes
Oct 28, 2026
mayawang
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, thanks! Using the server's default task image here is nice now that make deploy pins it.
rakyll
approved these changes
Oct 29, 2026
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.
demo.sh still declared the
spec.workspaceslist that #496 replaced with a singlespec.workspace, soax applyrejected the demo Task withunknown field "workspaces".spec.workspace. Thepath: "/workspace"override is dropped, since /workspace is now the default.gcr.io/dberkov-gke-dev3/ax-task-runner@sha256:c81cfd6e…. The image can't be pulled anonymously, and its runner predates api,runner: bind at most one workspace per task #496 and exits on theworkspacefield the server now sends in AX_TASK_YAML. The demo now setsspec.imageonly when AX_TASK_IMAGE is given, so by default the server runs its default task image, whichmake deployand the kind e2e setup set to the ax-task-runner they pushed. AX_IMAGE_REPO no longer affects the demo.Updates #424.