[ci]: reset the repo
Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
fcf93dda12
commit
67754a843a
@ -27,7 +27,11 @@ stages:
|
|||||||
- checkout: self
|
- checkout: self
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
displayName: 'Checkout code'
|
displayName: 'Checkout code'
|
||||||
|
- script: |
|
||||||
|
git submodule foreach --recursive git clean -xfdf
|
||||||
|
git submodule foreach --recursive git reset --hard
|
||||||
|
git submodule update --init --recursive
|
||||||
|
displayName: 'reset submodules'
|
||||||
- script: |
|
- script: |
|
||||||
sudo modprobe overlay
|
sudo modprobe overlay
|
||||||
CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=rcache SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/broadcom"
|
CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=rcache SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/broadcom"
|
||||||
@ -47,6 +51,11 @@ stages:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
displayName: 'Checkout code'
|
displayName: 'Checkout code'
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
git submodule foreach --recursive git clean -xfdf
|
||||||
|
git submodule foreach --recursive git reset --hard
|
||||||
|
git submodule update --init --recursive
|
||||||
|
displayName: 'reset submodules'
|
||||||
- script: |
|
- script: |
|
||||||
sudo modprobe overlay
|
sudo modprobe overlay
|
||||||
CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=rcache SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/mellanox"
|
CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=rcache SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/mellanox"
|
||||||
@ -66,6 +75,11 @@ stages:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
displayName: 'Checkout code'
|
displayName: 'Checkout code'
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
git submodule foreach --recursive git clean -xfdf
|
||||||
|
git submodule foreach --recursive git reset --hard
|
||||||
|
git submodule update --init --recursive
|
||||||
|
displayName: 'reset submodules'
|
||||||
- script: |
|
- script: |
|
||||||
echo $(Build.BuildNumber)
|
echo $(Build.BuildNumber)
|
||||||
sudo modprobe overlay
|
sudo modprobe overlay
|
||||||
|
Loading…
Reference in New Issue
Block a user