首页 > 解决方案 > 使用 GCloud Compute Windows 实例作为 git 远程服务器

问题描述

我在 Google Cloud Compute Engine 上有一个正在运行的 Windows 实例,并在其上安装了 git。

我需要让我的代码(当推送到 Gitlab 时)也推送到实例并运行构建脚本。我尝试搜索如何使用 CI/CD 自动执行此操作,但我无法弄清楚。

现在我正在使用该实例作为我本地分支的远程,以便我可以轻松地推送到它。我也无法弄清楚这一点,因为 ssh 在 Windows 实例上不可用。我需要帮助。

标签: windowsgitgoogle-cloud-platformcontinuous-integrationcontinuous-delivery

解决方案


推荐阅读