谷歌应用程序引擎

谷歌应用程序引擎

本文介绍了推送部署,管道,谷歌应用程序引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

GAE推送部署管道的地方在哪里?
我看到Jenkins和所有的新东西,但是旧的管道设置已经不存在了吗?花了10秒钟才设置好,最近效果很好。我仍然将它用于〜5个正在进行的生产环境。我需要将它用于下一个项目,但我找不到它。



如果所有其他项都失败了,我们是否必须使用Jenkins?它最终可能不是问题,但是我会质疑需要为自己的源代码部署 的行为付费。无论如何,这将是一个混乱的第一次设置。

解决方案

我收到此电子邮件,现在偶然发现它...我认为这说明了发生了什么。

粘贴电子邮件时,链接消失,因此文档的最后一个链接是:





此主题为还涉及:
它明确指出现有项目应该能够继续像以前一样能够部署。新项目可能必须使用Jenkins ... hm。

没有像。相反,我们必须cd到app.yaml所在的项目文件夹中并运行:

gcloud preview app deploy。



但是FIRST(!)我们必须安装更多的东西(如果上面的命令失败了):

gcloud组件更新应用程序



当然,这意味着没有推送,只有部署 。 Google与中央存储库没有任何关系。您必须为您自己托管回购...实质上,这与为我部署桌面GoogleAppEngineLauncher并没有多大区别。


Where did GAE push-to-deploy pipelines go?I see all the new stuff with Jenkins and all, but is the good old pipeline setup gone? It took like 10 seconds to setup and worked really well recently. I still use it for ~5 ongoing production environments. I am in need of using it for the next project, but I can't find it.

If all else fails, do we have to use Jenkins? It might not be a problem in the end, however I would question the need to be billed for act of deploying own source code. Anyway it would be a mess to setup at first.

解决方案

I did get this email, and now stumbled upon it... I think it states what's going on.

Links disappeared when pasting the email so the last link to the docs is: https://cloud.google.com/sdk/gcloud-app

This thread is also related: https://groups.google.com/forum/#!topic/google-appengine/XUIh7QlO37UIt specifically states that existing projects should continue to be able to deploy as we used to be able to. New projects would likely have to use Jenkins... hm.

There is no command like . Instead we have to cd into the project folder where the app.yaml is and run:

gcloud preview app deploy .

But FIRST(!) we have to install something more (if the above command fails):

gcloud components update app

Of course, this means that there is no "push", only a "deploy". There will be no relation to a central repository at Google. You have to host your own repo for that... in essence, this is not much different than deploying using the desktop GoogleAppEngineLauncher to me.

这篇关于推送部署,管道,谷歌应用程序引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 02:04