跳到主要内容

Azure Storage with YAML

List of YAML parameters and examples for the Azure Storage action

YAML parameters for Azure Storage

名称类型描述
action
必填
StringThe ID of the action.
type
必填
StringThe type of the action. Should be set to AZURE_STORAGE.
bucket_name
必填
StringThe name of the bucket.
integration
必填
StringThe 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.
deployment_excludesString[]The paths and/or files that will be left out during the deployment.
deployment_includesString[]The exceptions from the ignore patterns set in deployment_excludes.
application_nameStringThe name of the application.
application_display_nameStringThe display name of the application.
deletion_disabledBooleanIf set to true, files are not deleted if changeset indcates that.
skip_content_type_settingBooleanWhen set to true, all files will have their mime-types set to application/octet-stream.

YAML example for Azure Storage

actions:
- action: "Upload files to Azure Storage"
type: "AZURE_STORAGE"
input_type: "BUILD_ARTIFACTS"
local_path: "/assets"
remote_path: "/remote"
bucket_name: "buddy-tests-1"
application_name: "buddytests"
application_display_name: "buddytests"
deletion_disabled: true
integration_hash: "5ed4fe6446e03e110be748d5"
skip_content_type_setting: true
deployment_excludes:
- "/tmp"
- "*.log"
deployment_includes:
- "/tmp/assets"
- "/tmp/styles"