suborbital / subo

The Suborbital CLI
Apache License 2.0
81 stars 24 forks source link

Error: 🚫 failed to ExecTmplDir: template missing #357

Closed LauraLangdon closed 1 year ago

LauraLangdon commented 2 years ago

When attempting to run Subo locally to see local changes and completing the following steps:

We got this error:

➜  subo git:(laura/352-expand-initial-options-in-the-repl) ✗ subo compute deploy core --local
⏩ START: preparing deployment
⏩ START: downloading templates
✅ DONE: templates downloaded
ℹ️  using cached environment token
Error: 🚫 failed to ExecTmplDir: template missing
Usage:
  subo compute deploy core [flags]

Flags:
      --branch string    git branch to download templates from (default "main")
      --dryrun           prepare the deployment in the .suborbital directory, but do not apply it
  -h, --help             help for core
      --local            deploy locally using docker-compose
      --proxy-port int   port that the Editor proxy listens on (default 80)
      --reset            reset the deployment to default (replaces docker-compose.yaml and/or Kubernetes manifests)
      --version string   Docker tag to use for control plane images (default "v0.3.1")

@cohix says "This is likely related to one of my recent PRs where I changed the source of templates from the Subo repo to the runnable-templates repo. May not have updated the local deployment template for the new format."

LauraLangdon commented 1 year ago

Resolved by #358