Google CDN with YAML
List of YAML parameters and examples for the "Google CDN" action
提示
YAML parameters for Google CDN
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | 操作名称 |
type 必填 | String | The type of the action. Should be set to GOOGLE_CDN_INVALIDATE . |
distribution_id 必填 | String | The ID of the Google web distribution. |
integration_hash 必填 | String | The ID of the integration. |
distribution_name 必填 | String | The name of the Google CDN web distribution. |
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 . |
deployment_includes | String[] | The exceptions from the ignore patterns set in deployment_excludes . |
YAML example for Google CDN
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_hash: "5ddb7c180fb38be67bd78a88a"
deployment_excludes:
- "/tmp"
- "*.log"
deployment_includes:
- "/tmp/assets"
- "/tmp/styles"