2021-04-30 18:35:38 -05:00
|
|
|
# Starter pipeline
|
|
|
|
# Start with a minimal pipeline that you can customize to build and deploy your code.
|
|
|
|
# Add steps that build, run tests, deploy, and more:
|
|
|
|
# https://aka.ms/yaml
|
|
|
|
# Clean up the cache 30 days ago
|
|
|
|
|
|
|
|
schedules:
|
|
|
|
- cron: "0 0 * * *"
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
always: true
|
|
|
|
|
|
|
|
trigger: none
|
|
|
|
pr: none
|
|
|
|
|
|
|
|
jobs:
|
2023-08-29 06:14:45 -05:00
|
|
|
- job: Amd
|
2021-04-30 18:35:38 -05:00
|
|
|
pool: sonicbld
|
|
|
|
timeoutInMinutes: 5
|
|
|
|
steps:
|
|
|
|
- checkout: none
|
|
|
|
- script: |
|
2023-08-29 06:14:45 -05:00
|
|
|
df -h
|
2021-04-30 18:35:38 -05:00
|
|
|
sudo find /nfs/dpkg_cache/ -name *.tgz -mtime +30 -type f -delete
|
2023-08-29 06:14:45 -05:00
|
|
|
df -h
|
2021-04-30 18:35:38 -05:00
|
|
|
displayName: clean dpkg cache
|
2023-08-29 06:14:45 -05:00
|
|
|
- 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
|
|
|
|
|