mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
feat(ql3): ship selectable local console trial kit
This commit is contained in:
@@ -76,6 +76,30 @@ const IMAGE_PROFILES = Object.freeze({
|
||||
'drizzle-orm': '1.0.0-rc.4',
|
||||
}),
|
||||
}),
|
||||
'local-console': Object.freeze({
|
||||
id: 'local-console',
|
||||
buildManifestPath: 'deploy/containers/ql3-local-application/package.json',
|
||||
buildLockPath: 'deploy/containers/ql3-local-application/package-lock.json',
|
||||
imageManifestPath:
|
||||
'deploy/containers/ql3-local-application/runtime-dependencies/package.json',
|
||||
imageLockPath:
|
||||
'deploy/containers/ql3-local-application/runtime-dependencies/package-lock.json',
|
||||
internalManifestPaths: Object.freeze([
|
||||
'packages/ql3-runtime-core/package.json',
|
||||
'packages/ql3-local-admin/package.json',
|
||||
'packages/ql3-local-api/package.json',
|
||||
'packages/ql3-local-application/package.json',
|
||||
'packages/ql3-local-command-file/package.json',
|
||||
'packages/ql3-local-execution/package.json',
|
||||
'packages/ql3-local-owner-console/package.json',
|
||||
'packages/ql3-local-process/package.json',
|
||||
'packages/ql3-local-secret/package.json',
|
||||
'packages/ql3-local-sqlite/package.json',
|
||||
]),
|
||||
buildOnlyDependencies: Object.freeze({
|
||||
'drizzle-orm': '1.0.0-rc.4',
|
||||
}),
|
||||
}),
|
||||
'local-operator': Object.freeze({
|
||||
id: 'local-operator',
|
||||
buildManifestPath: 'deploy/containers/ql3-local-operator/package.json',
|
||||
@@ -132,7 +156,7 @@ function resolveImageProfile(value = 'control') {
|
||||
const profile = IMAGE_PROFILES[value];
|
||||
if (!profile) {
|
||||
throw new Error(
|
||||
'image profile must be exactly control, control-ai, admin, local, local-operator or worker',
|
||||
'image profile must be exactly control, control-ai, admin, local, local-console, local-operator or worker',
|
||||
);
|
||||
}
|
||||
return profile;
|
||||
|
||||
Reference in New Issue
Block a user