Knowledge

Google CDN

Parameters

Name Description
distribution_id Required String The ID of the Google web distribution.
name Required String The name of the action.
trigger_time Required String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
type Required String The type of the action. Should be set to GOOGLE_CDN.
integration Required Integration 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.
remote_path String The absolute or relative path on the remote server.
url_map String The name of the mapping rules.
purge_all Boolean Specifies whether or not the whole cache should be removed.
deployment_excludes String[] The paths and/or files that will be left out during the deployment. Available only if purge_all is set to false.

Example

actions:
  - action: "Google CDN"
    type: "GOOGLE_CDN"
    input_type: "SCM_REPOSITORY"
    local_path: "/"
    distribution_id: "tokyo-house-137923"
    purge_all: false
    remote_path: "/merged"
    integration_id: 1
    url_map: "buddy"
    deployment_excludes:
    - "/tmp"
    - "*.log"

Get started now

14 days of unlimited trial. No credit card required.