-
Notifications
You must be signed in to change notification settings - Fork 219
Support template creation in local dev #1445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit 1a173bb.
packages/orchestrator/internal/template/build/commands/test_script.sh
Outdated
Show resolved
Hide resolved
| return fmt.Errorf("%s %w", a.errorMessage, err) | ||
| } | ||
|
|
||
| telemetry.ReportEvent(ctx, "api key extracted") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was spamming me locally, and seemed useless. Happy to bring it back if it's useful though.
| @@ -0,0 +1,66 @@ | |||
| package sandbox | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was moved out of the shared package and into orchestrator, without changes
|
Superseded by #1449 |
packages/shared/pkg/storageand intopackages/orchestrator/internal/pathsNote
Enables local template creation by moving path logic into orchestrator, making env paths absolute with auto dir creation, and plumbing config/paths through build, sandbox, and server layers.
BuilderConfigwith path fields (e.g.,DefaultCachePath,TemplateCacheDir,TemplatesDir, etc.), absolutize them, and ensure directories are created on startup.cfg.BuilderConfigthrough builders, servers, sandbox, and cache.packages/orchestrator/internal/paths(TemplateFiles,TemplateCacheFiles,SandboxFiles) replacing usages frompackages/shared/pkg/storage.build.Builder, phases, cache/index, rootfs/envd), and snapshotting (tmp memfile acquisition moved into orchestrator).BuilderConfig; pause/create flows buildpaths.TemplateFilesviapaths.NewWithVersions.cmd/*utilities (build/inspect/simulate) to new paths/config APIs..env.localfor orchestrator with local dirs;make run-localbuilds and runs withsudoand prepares dirs.download-public-kernelsmake target and ignore/packages/fc-kernels.DEV-LOCAL.mdwith new steps; addpackages/shared/scriptsmake target to build base template..env.localadds local cluster settings.Written by Cursor Bugbot for commit 75af051. This will update automatically on new commits. Configure here.