From 6075898afb56931b15ffe69ff7fd5edce3430f98 Mon Sep 17 00:00:00 2001 From: Zachary Smith Date: Thu, 22 Oct 2026 13:03:42 -0400 Subject: [PATCH] Install the compute datumctl plugin before deploying \`compute\` is a separately-installed plugin, not bundled with \`go install go.datum.net/datumctl@latest\`. A fresh install in CI has no plugins at all, so \`datumctl compute deploy\` doesn't exist yet -- it fails with \`error: unknown flag: --image\` because the root command silently falls back to printing its own help instead of the subcommand's. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 093853f..1a81087 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -67,6 +67,14 @@ jobs: - name: Install datumctl run: go install go.datum.net/datumctl@latest + # `compute` is a separately-installed datumctl plugin, not bundled with + # the base `go install` above -- a fresh install has no plugins at all, + # so `datumctl compute deploy` doesn't exist until this runs (manifests + # as `error: unknown flag: --image`, since the root command silently + # falls back to printing its own help instead of the subcommand's). + - name: Install datumctl compute plugin + run: datumctl plugin install compute + # Service-account login per https://www.datum.net/docs/datumctl/auth/logging-in. # The service account must be scoped to exactly this one project -- # datum-cloud/datumctl#324 is an open bug where --credentials login fails