Google CDN with YAML

YAML parameters for Google CDN

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to GOOGLE_CDN.
distribution_id
Required
StringThe ID of the Google web distribution.
integration_id
Required
IntegerThe ID of the integration.
distribution_name
Required
StringThe name of the Google CDN web distribution.
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.
remote_pathStringThe absolute or relative path on the remote server.
url_mapStringThe name of the mapping rules.
purge_allBooleanSpecifies whether or not the whole cache should be removed.
deployment_excludesString[]The paths and/or files that will be left out during the deployment. Available only if purge_all is set to false.
deployment_includesString[]The exceptions from the ignore patterns set in deployment_excludes.

YAML example for Google CDN

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"
deployment_includes:
- "/tmp/assets"
- "/tmp/styles"