[ci] Add job to cleanup nfs in armhf and arm64 agents. (#16270)
Why I did it Clean old cached file in nfs disk for armhf/arm64 Work item tracking Microsoft ADO (number only): 24930879
This commit is contained in:
parent
80ce957d20
commit
459ba257a4
@ -15,13 +15,34 @@ trigger: none
|
||||
pr: none
|
||||
|
||||
jobs:
|
||||
- job: Build
|
||||
- job: Amd
|
||||
pool: sonicbld
|
||||
timeoutInMinutes: 5
|
||||
steps:
|
||||
- checkout: none
|
||||
- script: |
|
||||
set -xe
|
||||
df -h
|
||||
sudo find /nfs/dpkg_cache/ -name *.tgz -mtime +30 -type f -delete
|
||||
df -h
|
||||
displayName: clean dpkg cache
|
||||
|
||||
- job: Armhf
|
||||
pool: sonicbld-armhf
|
||||
timeoutInMinutes: 5
|
||||
steps:
|
||||
- checkout: none
|
||||
- script: |
|
||||
df -h
|
||||
sudo find /nfs/dpkg_cache/ -name *.tgz -mtime +30 -type f -delete
|
||||
df -h
|
||||
displayName: clean dpkg cache
|
||||
- job: Arm64
|
||||
pool: sonicbld-arm64
|
||||
timeoutInMinutes: 5
|
||||
steps:
|
||||
- checkout: none
|
||||
- script: |
|
||||
df -h
|
||||
sudo find /nfs/dpkg_cache/ -name *.tgz -mtime +30 -type f -delete
|
||||
df -h
|
||||
displayName: clean dpkg cache
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user