我正在尝试在GKE上构建CI/CD管道。但由于连接被拒绝错误,从暂存到生产的升级失败。
为了解决这个问题,我参考了https://github.com/jenkins-x/jx/issues/469上建议的解决方案,更新了exposecontroller的版本。尽管如此,它仍然没有得到解决。
我可以看到这样的错误:
+ jx step helm build
{"level":"warning","msg":"No $CHART_REPOSITORY defined so using the default value of: http://jenkins-x-chartmuseum:8080\n","time":"2019-04-17T01:17:40Z"}
{"level":"info","msg":"Adding missing Helm repo: chartmuseum.jenkins-x.io http://chartmuseum.jenkins-x.io\n","time":"2019-04-17T01:17:42Z"}
{"level":"info","msg":"Successfully added Helm repository chartmuseum.jenkins-x.io.\n","time":"2019-04-17T01:17:43Z"}
{"level":"info","msg":"Adding missing Helm repo: jenkins-x-chartmuseum:8080 http://jenkins-x-chartmuseum:8080\n","time":"2019-04-17T01:17:43Z"}
{"level":"info","msg":"Successfully added Helm repository jenkins-x-chartmuseum:8080.\n","time":"2019-04-17T01:17:43Z"}
error: failed to build the dependencies of chart '.': failed to run 'helm dependency build' command in directory '.', output: 'Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):
Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused我是不是遗漏了什么?如何解决此问题?提前感谢!
发布于 2019-04-17 14:25:49
在生产git存储库上运行的管道的输出是什么?
如果你想尝试从你的笔记本电脑进行本地升级,你需要确保你的helm有你的图表博物馆的远程存储库,这样它就可以找到你发布的图表( helm所说的依赖项),这些图表列在生产git存储库中的env/requirements.yaml中。
尝试使用jx open查看图表博物馆的网址,然后运行
helm repo add myservices $ChartMuseumURLhttps://stackoverflow.com/questions/55718642
复制相似问题