Google Cloud Storage with YAML
List of YAML parameters and examples for the "GCS" action
提示
YAML parameters for Google Cloud Storage
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | The ID of the action. |
type 必填 | String | The type of the action. Should be set to GOOGLE_CLOUD_STORAGE . |
bucket_name 必填 | String | The name of the GCS Bucket. |
integration_hash 必填 | String | The ID of 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. |
public_access | Boolean | Makes files accessible through public HTTP. |
remote_path | String | The absolute or relative path on the remote server. |
deployment_excludes | String[] | The paths and/or files that will be left out during the deployment. |
deployment_includes | String[] | The exceptions from the ignore patterns set in deployment_excludes . |
application_name | String | The name of the GCS application. |
YAML example for Google Cloud Storage
actions:
- action: "Upload files to GCS/hello-world-0"
type: "GOOGLE_CLOUD_STORAGE"
input_type: "SCM_REPOSITORY"
local_path: "/assets"
remote_path: "/public"
bucket_name: "hello-world-0"
application_name: "hello-world"
application_display_name: "hello-world"
integration_hash: "5ddb7c180fb38be67bd78a88a"
deployment_excludes:
- "/tmp"
- "*.log"
deployment_includes:
- "/tmp/assets"
- "/tmp/styles"