27 строки
639 B
YAML
Executable File
27 строки
639 B
YAML
Executable File
parameters:
|
|
- name: working_dir
|
|
type: string
|
|
- name: mount_dir
|
|
type: string
|
|
- name: temp_dir
|
|
type: string
|
|
|
|
steps:
|
|
- script: |
|
|
ps -ef | grep blobfuse2
|
|
df -h
|
|
displayName: 'Check process info'
|
|
|
|
- script: |
|
|
sudo fusermount -u ${mount_dir}
|
|
sudo fusermount3 -u ${mount_dir}
|
|
sudo kill -9 `pidof blobfuse2` || true
|
|
rm -rf ${mount_dir}/*
|
|
rm -rf ${temp_dir}/*
|
|
timeoutInMinutes: 20
|
|
env:
|
|
working_dir: ${{ parameters.working_dir }}
|
|
mount_dir: ${{ parameters.mount_dir }}
|
|
temp_dir: ${{ parameters.temp_dir }}
|
|
displayName: 'Cleanup'
|
|
condition: always() |