Skip to content

feat: [DEVOPS-42674] support specify ssh endpoint#3

Merged
yhuan123 merged 2 commits into
AlaudaDevops:mainfrom
yuzichen12123:feat/support-specify-ssh-endpoint
Dec 9, 2025
Merged

feat: [DEVOPS-42674] support specify ssh endpoint#3
yhuan123 merged 2 commits into
AlaudaDevops:mainfrom
yuzichen12123:feat/support-specify-ssh-endpoint

Conversation

@yuzichen12123

Copy link
Copy Markdown
Contributor

支持通过 GITLAB_SSH_ENDPOINT 注入 ssh 配置

Comment on lines +21 to +26
{{- if $.SSH }}
ssh:
endpoint: {{ $.SSH.Endpoint }}
host: {{ $.SSH.Host }}
port: {{ $.SSH.Port }}
{{- end }}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已验证,能够生成 ssh 配置

Image

Comment thread README.md Outdated
export GITLAB_URL=https://your-gitlab-instance.com
export GITLAB_TOKEN=your-personal-access-token
# Optional: SSH endpoint for clone/push templates
export GITLAB_SSH_ENDPOINT=ssh://git@192.168.162.156:30001

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要写具体的 ip端口

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done,已调整

@yhuan123 yhuan123 merged commit 835373d into AlaudaDevops:main Dec 9, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants