简体   繁体   English

使用gitlab webhooks在Windows服务器上进行部署

[英]Deploy on Windows server with gitlab webhooks

I want do deploy a webapplication (coldfusion) on a windows machine using gitlab and webhooks, so to be able to push changes to the server automatically, but it seems that existing solutions are 99% dedicated to linux deploy. 我想使用gitlab和webhooks在Windows机器上部署webapplication(coldfusion),以便能够自动将更改推送到服务器,但似乎现有的解决方案99%专门用于Linux部署。

I've already set up manual deployment with git: 我已经使用git设置了手动部署:
1. clone repository on target machine 1.克隆目标机器上的存储库
2. each time, connect and pull changes but of course is not automatic at all. 2.每次,连接和拉动变化,但当然不是自动的。

I strictly need a process I can set-up on a windows server. 我严格需要一个可以在Windows服务器上设置的进程。

I've found some reference about using openssh for the task, but I'd prefer a simpler mechanism. 我找到了一些关于使用openssh来完成任务的参考,但我更喜欢一个更简单的机制。

I've also checked the Kudu project https://github.com/projectkudu/kudu but it seems to be a work in progress and not easilly usable product. 我还检查了Kudu项目https://github.com/projectkudu/kudu但它似乎是一项正在进行的工作,而不是易于使用的产品。

Is there anything existing I can use for the task? 我可以用于任务吗?

Thanks for any help you can give me. 感谢你给与我的帮助。

UPDATE UPDATE

Just to be more specific, I need something to automatically deploy changes pulled from a GIT repository, not to merge files, or sync folders. 更具体地说,我需要一些东西来自动部署从GIT存储库中提取的更改,而不是合并文件或同步文件夹。

Ideally, I need something able to respond to gitlab webhooks and trigger a pull from the git repository. 理想情况下,我需要一些能够响应gitlab webhooks并触发git存储库拉取的东西。

I think Project Kudu is the way to go. 我认为Project Kudu是要走的路。 It's being used in Azure web services and is being actively maintained, check out the GitHub activity graph . 它正在Azure Web服务中使用并正在积极维护,请查看GitHub活动图 It's been around for years and has matured. 它已经存在多年并且已经成熟。 Also, since it's now a part of Azure I don't see it going anywhere. 此外,由于它现在是Azure的一部分,我不认为它会在任何地方。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM