Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Push to deploy, pipelines, google app engine

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.

like image 735
Jonny Avatar asked Mar 03 '15 09:03

Jonny


People also ask

How do I deploy an application to App Engine using cloud build?

To deploy an application to App Engine, use the following steps: Create a Cloud Build configuration file named cloudbuild.yaml or cloudbuild.json. Note: Do not store the config file in the same directory as the source code because the gcloud tool may interpret that you want to deploy the app using Docker via Cloud Build.

How do I deploy to Google App Engine using Codeship?

CodeShip makes it easy to deploy your application to Google App Engine using CodeShip’s integrated deployment pipelines. We support deploying projects in the following stacks: go, java, node, php, python, and ruby. Note that for java, you need to set an optional flag (see below for details).

How do I automate the deployment of my software to App Engine?

Add a build timeout value of more than 10 minutes. Start the build, where SOURCE_DIRECTORY is the path or URL to the source code: You can automate the deployment of your software to App Engine by creating Cloud Build triggers. You can configure your triggers to build and deploy images whenever you update your source code.

How do I deploy a Google Cloud app using a trigger?

In your repository, add a config file with steps to invoke the gcloud app deploy command: Open the Triggers page in the Google Cloud Console: Select your project from the project selector drop-down menu at the top of the page. Click Open. Click Create trigger. On the Create trigger page, enter the following settings: Enter a name for your trigger.


1 Answers

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

Hello,

The ability to quickly, easily and safely deploy your code is an important part of a great cloud developer experience. You have used the Release Pipelines feature on GCP to push-to-deploy and have given us very insightful feedback. We heard clearly that you want more flexibility and control. So we have decided to move the product in this direction.

Instead of a pipeline with a small number of options, we want to offer you the full flexibility of Jenkins. We heard that setting up Jenkins is hard, so we are giving you tools to make that simpler. There are instructions explaining how to set up Jenkins and configure continuous deployment for your GCP apps, using provided plugins.

With the availability of this solution, we are going to remove the Release Pipelines UI in the Developer Console by January 22. If you are currently using the build/test options, please remember to disable your pipeline so you are no longer charged for it.

Note that repo sync with GitHub and Bitbucket is still supported and the Jenkins plugin to trigger a deployment from the push event is included above.

If you used the 'source only' option in Release Pipelines, going forward you can use gcloud app update to deploy source to App Engine.

If you have any questions, please email [email protected].

Google Cloud Release Pipelines team

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

I think I should be able to continue deploying source for rexisting projects using gcloud app update... I have yet to try though.

This thread is also related: https://groups.google.com/forum/#!topic/google-appengine/XUIh7QlO37U It 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 gcloud app update. 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.

like image 172
Jonny Avatar answered Oct 12 '22 03:10

Jonny