admin管理员组文章数量:1315359
I'm trying to use Pulumi packages within a GitLab CI that doesn't have direct access to GitHub, however it may use a corresponding mirror to download the files. Currently the install command fails, because the pulumi install
command in the pipeline tries to download them from Github. I haven't found a way to configure pulumi to download the packages from the mirror. Does anyone know how this can be achieved?
I'm trying to use Pulumi packages within a GitLab CI that doesn't have direct access to GitHub, however it may use a corresponding mirror to download the files. Currently the install command fails, because the pulumi install
command in the pipeline tries to download them from Github. I haven't found a way to configure pulumi to download the packages from the mirror. Does anyone know how this can be achieved?
1 Answer
Reset to default 0Okay it seems like the problem is that the package includes a plugin that is causing the problem. For plugins, there is the --server flag to pass in a mirror. It seems to work if I install the plugin using the server flag beforehand. As Pulumi doesn't seem to remember where it got the plugin from I will have to install it this way each time in the pipeline before running the regular pulumi install
command.
本文标签: Download Pulumi Packages from mirrorStack Overflow
版权声明:本文标题:Download Pulumi Packages from mirror - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741976090a2408130.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论