batch-shipyard/config_templates/config.yaml

149 строки
4.4 KiB
YAML
Исходник Обычный вид История

batch_shipyard:
storage_account_settings: mystorageaccount
storage_entity_prefix: shipyard
generated_sas_expiry_days: null
autogenerated_task_id:
prefix: task-
zfill_width: 5
encryption:
enabled: true
pfx:
filename: encrypt.pfx
passphrase: mysupersecretpassword
sha1_thumbprint: 123456789...
public_key_pem: encrypt.pem
fallback_registry: myregistry.azurecr.io
delay_docker_image_preload: false
data_replication:
concurrent_source_downloads: null
global_resources:
additional_registries:
docker:
- myruntimeserver.azurecr.io
singularity:
- myregistry.azurecr.io
docker_images:
- busybox
- myserver.azurecr.io/repo/myimage
singularity_images:
unsigned:
- image: shub://singularityhub/busybox
- image: docker://busybox
- image: oras://myazurecr.azurecr.io/repo/myunsignedimage:1.0.0
- image: library://user/repo/image:1.0.0
- image: library://user/repo/encryptedimage:1.0.0
encryption:
certificate:
sha1_thumbprint: 123456789...
signed:
- image: library://sylabs/tests/signed:1.0.0
signing_key:
fingerprint: 8883491F4268F173C6E5DC49EDECE4F3F38D871E
- image: oras://myazurecr.azurecr.io/repo/mysignedimage:1.0.0
signing_key:
fingerprint: 000123000123000123000123000123000123ABCD
file: /path/to/key/file
- image: library://user/repo/encryptedimage:1.0.0
signing_key:
fingerprint: 000123000123000123000123000123000123ABCD
file: /path/to/key/file
encryption:
certificate:
sha1_thumbprint: 123456789...
2017-10-17 22:57:02 +03:00
volumes:
data_volumes:
contdatavol:
container_path: /abc
host_path:
bind_options: ro
hosttempvol:
container_path: /hosttmp
host_path: /tmp
bind_options: rw
shared_data_volumes:
azurefile_vol:
volume_driver: azurefile
storage_account_settings: mystorageaccount
azure_file_share_name: myfileshare
container_path: $AZ_BATCH_NODE_SHARED_DIR/azfile
mount_options:
- file_mode=0777
- dir_mode=0777
bind_options: rw
azureblob_vol:
volume_driver: azureblob
storage_account_settings: mystorageaccount
azure_blob_container_name: mycontainer
container_path: $AZ_BATCH_NODE_SHARED_DIR/azblob
mount_options:
- --use-https=true
bind_options: rw
nfs_server:
volume_driver: storage_cluster
container_path: $AZ_BATCH_NODE_SHARED_DIR/nfs_server
mount_options: []
bind_options: ro
glusterfs_cluster:
volume_driver: storage_cluster
container_path: $AZ_BATCH_NODE_SHARED_DIR/glusterfs_cluster
mount_options: []
bind_options: null
glusterfs_on_compute_vol:
volume_driver: glusterfs_on_compute
container_path: $AZ_BATCH_NODE_SHARED_DIR/glusterfs_on_compute
volume_type: replica
volume_options: []
bind_options: rw
custom_vol:
volume_driver: custom_linux_mount
container_path: $AZ_BATCH_NODE_SHARED_DIR/lustre
fstab_entry:
fs_spec: 10.1.0.4@tcp0:10.1.0.5@tcp0:/lustre
fs_vfstype: lustre
fs_mntops: defaults,_netdev
fs_freq: 0
fs_passno: 0
bind_options: null
files:
- destination:
data_transfer:
method: multinode_scp
ssh_private_key: id_rsa_shipyard
scp_ssh_extra_options: -c aes256-gcm@openssh.com
rsync_extra_options: ''
split_files_megabytes: 500
max_parallel_transfers_per_node: 2
relative_destination_path: myfiles
shared_data_volume: glustervol
source:
exclude:
- '*.bak'
include:
- '*.dat'
path: /some/local/path/dir
- destination:
storage_account_settings: mystorageaccount
data_transfer:
remote_path: container/dir
is_file_share: false
blobxfer_extra_options: null
source:
exclude:
- '*.tmp'
include:
- '*.bin'
path: /some/local/path/bound/for/storage
- destination:
data_transfer:
method: rsync+ssh
ssh_private_key: id_rsa_shipyard
scp_ssh_extra_options: -c aes256-gcm@openssh.com
rsync_extra_options: -v
relative_destination_path: relpath/on/host/test2
source:
exclude:
- '*.tmp'
include:
- '*.bin'
path: /another/local/path/dir