[ci]: reset the repo
Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
ee4fa7b909
commit
db81349bae
@ -27,7 +27,11 @@ stages:
|
||||
- checkout: self
|
||||
submodules: recursive
|
||||
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: |
|
||||
sudo modprobe overlay
|
||||
CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=rcache SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/broadcom"
|
||||
@ -47,6 +51,11 @@ stages:
|
||||
submodules: recursive
|
||||
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: |
|
||||
sudo modprobe overlay
|
||||
CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=rcache SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/mellanox"
|
||||
@ -66,6 +75,11 @@ stages:
|
||||
submodules: recursive
|
||||
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: |
|
||||
echo $(Build.BuildNumber)
|
||||
sudo modprobe overlay
|
||||
|
Loading…
Reference in New Issue
Block a user