我希望使用GitLab脚本设置从PowerShell存储库到Azure应用程序的连续部署。我知道您可以手动完成以下操作:
不过,我正试图用Powershell实现这一点的自动化。我看了GitHub的这个示例脚本:
但是,由于没有GitLab提供程序,并且现有的提供程序都不接受GitLab URL,所以我不知道如何继续。我看过如何在Azure Portal (使用外部存储库选项)中使用GitLab设置手动部署,并导出资源组模板,以获取存储库如何连接到应用程序的详细信息,但我得到了错误:
Could not get resources of the type 'Microsoft.We
我想在单独的服务器上安装GitLab运行程序,但当我尝试连接到GitLab时,我收到以下消息:
Running in system-mode.
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
<URL>
Please enter the gitlab-ci token for this runner:
<TOKEN>
Please enter the gitlab-ci description for th
我设置了一个Windows GitLab运行程序,它应该从我们的容器注册表下载一个Docker映像,然后在管道中运行一个构建脚本。不幸的是,由于以下错误,Docker容器从未启动:
Running with gitlab-runner 15.1.0 (76984217)
on WindowsDockerRunner wZMWQZYi
Resolving secrets
Preparing the "docker-windows" executor
Using Docker executor with image mcr.microsoft.com/windows/serve
尝试通过gitlab ci yml中的powershell调用mstest.exe。当我给出C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\mstest.exe的路径时,powershell会给我一个错误,说是C:\program no such cmdlet function exists。 当我给出引号中的路径时,我得到一个无效的yml错误: This GitLab CI configuration is invalid: (<unknown>): found unknown escape cha
我想在我的nginx服务器上安装gitlab。我使用进行安装。
gitlab-ctl reconfigure给我:
There was an error running gitlab-ctl reconfigure:
letsencrypt_certificate[gitlab.domain.dev] (letsencrypt::http_authorization line 5) had an error: RuntimeError: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/lets