windows - 使用 GCloud Compute Windows 实例作为 git 远程服务器
问题描述
我在 Google Cloud Compute Engine 上有一个正在运行的 Windows 实例,并在其上安装了 git。
我需要让我的代码(当推送到 Gitlab 时)也推送到实例并运行构建脚本。我尝试搜索如何使用 CI/CD 自动执行此操作,但我无法弄清楚。
现在我正在使用该实例作为我本地分支的远程,以便我可以轻松地推送到它。我也无法弄清楚这一点,因为 ssh 在 Windows 实例上不可用。我需要帮助。
解决方案
推荐阅读
- mysql - 通过 %s 传递表名时无法创建表的副本
- r - 基于组的玫瑰图并根据r中的组对其进行着色
- laravel - 为 Laravel 身份验证映射不同的列名和表名,而无需重写所有身份验证类
- python - 类中的错误 - 缺少 1 个必需的位置参数
- apache-spark - 纱线集群中的pyspark作业执行
- java - 我想每天使用 Java selenium 从网站上提取报告。它安全吗?
- javascript - Vue Stripe Checkout,演示代码问题
- java - 如何在 Spring Boot 上使用 ResponseStatusException 将错误消息显示到 Json 中?
- javascript - 供应商捆绑包大小未减少
- openapi - 使用 swagger 代码生成的 Post 请求中的无效日期格式(打开 api)