-
Notifications
You must be signed in to change notification settings - Fork 52
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
feat: new install options: sshDir and extraEnvs #1422
Conversation
🦋 Changeset detectedLatest commit: 3680938 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
非常感谢您的贡献!留下了一些评价意见,另外:请在apps/cli/assets/init-full/install.yaml
中增加您新增的配置项的简介以及示例值,以使得新用户可以直接看到新的配置项。
apps/cli/src/compose/index.ts
Outdated
@@ -160,7 +170,7 @@ export const createComposeSpec = (config: InstallConfigSchema) => { | |||
const authVolumes = { | |||
"/etc/hosts": "/etc/hosts", | |||
"./config": "/etc/scow", | |||
"~/.ssh": "/root/.ssh", | |||
SSH_DIR: "/root/.ssh", |
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.
这里应该使用[SSH_DIR]
,使用SSH_DIR
变量的值作为key,而不是使用字符串"SSH_DIR"
作为key
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.
fix, 在本地通过 npm run build
验证
非常感谢您的贡献! |
close #1421 and #1423