Google App Engine

POST Parameters

NameTypeDescription
name
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to GOOGLE_APP_DEPLOY.
bucket_name
Required
StringThe name of the GAE Bucket.
application_name
Required
StringThe name of the GAE application.
integration
Required
The integration.
input_typeStringDefines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS.
local_pathStringThe path in the repository.
version_labelStringThe label of the image version.
image_urlStringThe URL address to the desired image.
promote_all_trafficBooleanSpecifies whether or not to send all traffic to the new version immediately.
stop_previous_versionBooleanSpecifies whether or not to stop previous version instances.
verbosityStringThe verbosity level. Default level is warning. Can be one of critical, debug, error, info, none or warning.
config_pathStringYAML 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",
  "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 Created
X-Rate-Limit-Limit: 1
X-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",
  "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",
    "on": "CLICK",
    "refs": [
      "refs/heads/master"
    ],
    "last_execution_status": "SUCCESSFUL",
    "last_execution_revision": "506a3963507943d6908154f4bc9646e829128a08"
  }
}
Sign up for Buddy Digest

Best practices on CI/CD and fresh changelogs delivered weekly to your inbox.