tangled
alpha
login
or
join now
evan.jarrett.net
/
loom
11
fork
atom
Kubernetes Operator for Tangled Spindles
11
fork
atom
overview
issues
pulls
pipelines
fix
evan.jarrett.net
4 months ago
d7f98bef
f85e5578
verified
This commit was signed with the committer's
known signature
.
evan.jarrett.net
SSH Key Fingerprint:
SHA256:bznk0uVPp7XFOl67P0uTM1pCjf2A4ojeP/lsUE7uauQ=
0/2
workflow-amd64.yaml
failed
9s
workflow-arm64.yaml
failed
11s
+5
-1
1 changed file
expand all
collapse all
unified
split
internal
jobbuilder
job_template.go
+5
-1
internal/jobbuilder/job_template.go
···
374
374
// Build the shell script from clone commands
375
375
// Add set -e for error handling, safe.directory config to handle ownership mismatch
376
376
// (emptyDir volumes are root-owned but we run as user 10000)
377
377
-
script := "set -e\ngit config --global --add advice.detachedHead false --add safe.directory /tangled/workspace\n" + strings.Join(config.CloneCommands, "\n") + "\necho \"Repository ready\""
377
377
+
script := "set -e\n" +
378
378
+
"git config --global advice.detachedHead false\n" +
379
379
+
"git config --global safe.directory /tangled/workspace\n" +
380
380
+
strings.Join(config.CloneCommands, "\n") + "\n" +
381
381
+
"echo \"Repository ready\""
378
382
379
383
return corev1.Container{
380
384
Name: "clone-repo",