You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[verbose] garden version: 0.13.20
Validate ✔️
ℹ garden-enterprise [debug] → Initializing Garden Cloud API client.
[silly] Retrieving client auth token from config store
[debug] Checking client auth token with Garden Enterprise: https://xx/token/verify
[silly] Calling Cloud API with GET token/verify
[silly] Retrieving client auth token from config store
[debug] Checked client auth token with Garden Enterprise - valid: true
ℹ garden-enterprise [debug] → Authorizing...
ℹ garden-enterprise [debug] → Starting refresh interval.
[debug] Will run refresh function every 4500 ms.
[silly] Calling git with args 'rev-parse --abbrev-ref HEAD' in /Users/steffen/work/github/garden-platform
[silly] Calling git with args 'config --get remote.origin.url' in /Users/steffen/work/github/garden-platform
[silly] Tried to retrieve git remote.origin.url but encountered an error: Error: Command "git config --get remote.origin.url" failed with code 1:
ℹ garden-enterprise [verbose] → Connecting to Garden Enterprise...
ℹ garden-enterprise [debug] → Fetching project xx from https://staging.enterprise.garden.io.
[silly] Calling Cloud API with GET /projects/uid/xx
[silly] Retrieving client auth token from config store
[silly] Calling Cloud API with GET /secrets/projectUid/xx/env/dev
[silly] Retrieving client auth token from config store
ℹ garden-enterprise [debug] → Fetched 33 secrets from https://xx
✔ garden-enterprise → Ready
Failed to resolve project configuration.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Invalid template string (ge-preview-${slice(local.env.GARDE…): Error validating argument 'input' for slice helper function:
value is not allowed to be empty
[silly] Error: Invalid template string (ge-preview-${slice(local.env.GARDE…): Error validating argument 'input' for slice helper function:
value is not allowed to be empty
at resolveTemplateString (file:///Users/steffen/Library/Application%20Support/io.garden.garden/1700246687-AJiCnyg.r/rollup/garden.mjs:321985:15)
at resolveTemplateStrings (file:///Users/steffen/Library/Application%20Support/io.garden.garden/1700246687-AJiCnyg.r/rollup/garden.mjs:322004:16)
at resolveTemplateStrings (file:///Users/steffen/Library/Application%20Support/io.garden.garden/1700246687-AJiCnyg.r/rollup/garden.mjs:322065:34)
at resolveTemplateStrings (file:///Users/steffen/Library/Application%20Support/io.garden.garden/1700246687-AJiCnyg.r/rollup/garden.mjs:322065:34)
at resolveProjectConfig (file:///Users/steffen/Library/Application%20Support/io.garden.garden/1700246687-AJiCnyg.r/rollup/garden.mjs:353470:24)
at file:///Users/steffen/Library/Application%20Support/io.garden.garden/1700246687-AJiCnyg.r/rollup/garden.mjs:819731:18
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///Users/steffen/Library/Application%20Support/io.garden.garden/1700246687-AJiCnyg.r/rollup/garden.mjs:358410:20
at async Garden.factory (file:///Users/steffen/Library/Application%20Support/io.garden.garden/1700246687-AJiCnyg.r/rollup/garden.mjs:818606:33)
at async file:///Users/steffen/Library/Application%20Support/io.garden.garden/1700246687-AJiCnyg.r/rollup/garden.mjs:358410:20
Error type: template-string
Expected behavior
Command "git rev-parse --show-toplevel" failed with code 128:
fatal: detected dubious ownership in repository at '/Users/steffen/work/github/garden-platform'
To add an exception for this directory, call:
git config --global --add safe.directory /Users/steffen/work/github/garden-platform
Reproducible example
cd garden-platform (internal project)
sudo chown nobody:nobody .
garden validate
Workaround
Run git status to see what's wrong, and fix the issue with git.
Suggested solution(s)
Make sure we do not swallow the git error
Additional context
Your environment
OS: macOS
How I'm running Kubernetes: EKS
garden version latest edge release
The text was updated successfully, but these errors were encountered:
stefreak
changed the title
0.13: [Bug]: Misleading template error on "git dubious ownership" error
0.13: [Bug]: Misleading template error due to swallowed "git dubious ownership" error
Nov 20, 2023
Garden Bonsai (0.13) Bug
Current Behavior
Expected behavior
Reproducible example
cd garden-platform
(internal project)sudo chown nobody:nobody .
garden validate
Workaround
Run
git status
to see what's wrong, and fix the issue withgit
.Suggested solution(s)
Make sure we do not swallow the git error
Additional context
Your environment
garden version
latest edge releaseThe text was updated successfully, but these errors were encountered: