Google App Engine

  • POST
  • /workspaces
  • /:domain
  • /projects
  • /:project_name
  • /pipelines
  • /:pipeline_id
  • /actions

Request

URL PARAMETERS
domainrequired string
The workspace domain.
pipeline_idrequired integer
The numerical ID of the desired pipeline.
project_namerequired string
The name ID of the project.
POST PARAMETERS
namerequired string
The name of the action.
typerequired string
The type of the action. Should be set to GOOGLE_APP_DEPLOY.
bucket_namerequired string
The name of the GAE Bucket.
application_namerequired string
The name of the GAE application.
integrationrequired Integration
The integration.
input_typeoptional 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_pathoptional string
The path in the repository.
version_labeloptional string
The label of the image version.
image_urloptional string
The URL address to the desired image.
promote_all_trafficoptional boolean
Specifies whether or not to send all traffic to the new version immediately.
stop_previous_versionoptional boolean
Specifies whether or not to stop previous version instances.
verbosityoptional string
The verbosity level. Default level is warning. Can be one of critical, debug, error, info, none or warning.
config_pathoptional string
YAML configuration file.

Last modified on Sep 27, 2024

Example:

curl -X POST "https://api.buddy.works/workspaces/:domain/projects/:project_name/pipelines/:pipeline_id/actions" \
  -H "Authorization: Bearer <YOUR-TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "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"
}'
EXAMPLE RESPONSE
{ "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" } }
STATUS
201 Created
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999