Google CDN with YAML

YAML parameters for Google CDN

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to GOOGLE_CDN_INVALIDATE.
distribution_id RequiredStringThe ID of the Google web distribution.
integration RequiredStringThe ID of 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.
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

yaml
actions: - action: "Purge cache at hello-world / hello-world-cdn" type: "GOOGLE_CDN_INVALIDATE" input_type: "SCM_REPOSITORY" remote_path: "/merged" distribution_id: "hello-world" distribution_name: "hello-world" url_map: "hello-world-cdn" purge_all: true purge_by_change_set_limit: 10 integration: "my_integration" deployment_excludes: - "/tmp" - "*.log" deployment_includes: - "/tmp/assets" - "/tmp/styles"

Last modified on Sep 23, 2024