Knowledge

Google Cloud Service

Parameters

Name Description
action Required String The ID of the action.
bucket_name Required String The name of the GCS Bucket.
integration_id Required Integer The id of the integration.
type Required String The type of the action. Should be set to GCS.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
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.
public_access Boolean Makes files accessible through public HTTP.
remote_path String The absolute or relative path on the remote server.
run_only_on_first_failure Boolean Defines whether the action should be executed on each failure. Restricted to and required if the trigger_time is ON_FAILURE.
deployment_excludes String[] The paths and/or files that will be left out during the deployment.
application_name String The name of the GCS application.

Example

actions:
  - action: "Upload files to GCS/buddy"
    type: "GCS"
    input_type: "SCM_REPOSITORY"
    local_path: "/assets"
    remote_path: "/public"
    bucket_name: "buddy"
    public_access: true
    application_name: "buddy-tests-112923"
    integration_id: 1
    deployment_excludes:
    - "/tmp"
    - "*.log"

Get started now

14 days of unlimited trial. No credit card required.