2a66e80deb
- [ci]: add default values to build template - [ci]: add marvel armhf official build Signed-off-by: Guohan Lu <lguohan@gmail.com>
19 lines
719 B
YAML
19 lines
719 B
YAML
steps:
|
|
- script: |
|
|
sudo kill -9 `sudo cat /var/run/march/docker.pid` || true
|
|
sudo rm -f /var/run/march/docker.pid || true
|
|
sudo rm -rf fsroot || true
|
|
git clean -xfdf || true
|
|
git reset --hard || true
|
|
git submodule foreach --recursive 'git clean -xfdf || true' || true
|
|
git submodule foreach --recursive 'git reset --hard || true' || true
|
|
git submodule foreach --recursive 'git remote update || true' || true
|
|
git submodule update --init --recursive || true
|
|
|
|
# clean native docker build
|
|
if sudo [ -f dockerfs/var/run/docker.pid ] ; then
|
|
pid=`sudo cat dockerfs/var/run/docker.pid` ; sudo kill $pid
|
|
fi
|
|
sudo rm -rf /data/march/docker
|
|
displayName: "Clean Workspace"
|