Google App Engine
Learn more about:
POST Parameters
Name | Type | Description |
---|---|---|
name Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to GOOGLE_APP_DEPLOY . |
bucket_name Required | String | The name of the GAE Bucket. |
application_name Required | String | The name of the GAE application. |
integration Required | The integration. | |
input_type | String | Defines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS . |
local_path | String | The path in the repository. |
version_label | String | The label of the image version. |
image_url | String | The URL address to the desired image. |
promote_all_traffic | Boolean | Specifies whether or not to send all traffic to the new version immediately. |
stop_previous_version | Boolean | Specifies whether or not to stop previous version instances. |
verbosity | String | The verbosity level. Default level is warning . Can be one of critical , debug , error , info , none or warning . |
config_path | String | YAML configuration file. |
Example
Request
POST https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2/actions
JSON
{"name": "Deploy to Google App Engine/buddy-tests-112923","type": "GOOGLE_APP_DEPLOY","trigger_time": "ON_EVERY_EXECUTION","trigger_condition": "ALWAYS","input_type": "SCM_REPOSITORY","local_path": "/","bucket_name": "artifacts.tokyo-house-112923.appspot.com","application_name": "buddy-tests-112923","version_label": "${BUDDY_EXECUTION_REVISION}","image_url": "gcr.io/your-project-id/your-image","promote_all_traffic": true,"stop_previous_version": true,"verbosity": "warning"}
Sample Response
HTTP
Status: 201 CreatedX-Rate-Limit-Limit: 1X-Rate-Limit-Remaining: 999
JSON
{"url": "https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2/actions/2","html_url": "https://app.buddy.works/buddy/company-website/pipelines/pipeline/2/action/2/edit","id": 2,"name": "Deploy to Google App Engine/buddy-tests-112923","type": "GOOGLE_APP_DEPLOY","trigger_time": "ON_EVERY_EXECUTION","trigger_condition": "ALWAYS","last_execution_status": "INITIAL","input_type": "SCM_REPOSITORY","local_path": "/","bucket_name": "artifacts.tokyo-house-112923.appspot.com","application_name": "buddy-tests-112923","version_label": "${BUDDY_EXECUTION_REVISION}","image_url": "gcr.io/your-project-id/your-image","promote_all_traffic": true,"stop_previous_version": true,"verbosity": "warning","pipeline": {"url": "https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2","html_url": "https://app.buddy.works/buddy/company-website/pipelines/pipeline/2","id": 2,"name": "test server","trigger_mode": "MANUAL","ref_name": "master","last_execution_status": "SUCCESSFUL","last_execution_revision": "506a3963507943d6908154f4bc9646e829128a08"}}